var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529299&x=407',
		'title': '',
		'imageId': '68529299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529301&x=407',
		'title': '',
		'imageId': '68529301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529300&x=407',
		'title': '',
		'imageId': '68529300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529298&x=407',
		'title': '',
		'imageId': '68529298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529303&x=407',
		'title': '',
		'imageId': '68529303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529307&x=407',
		'title': '',
		'imageId': '68529307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529305&x=407',
		'title': '',
		'imageId': '68529305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529317&x=407',
		'title': '',
		'imageId': '68529317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529306&x=407',
		'title': '',
		'imageId': '68529306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529314&x=407',
		'title': '',
		'imageId': '68529314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529308&x=407',
		'title': '',
		'imageId': '68529308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529319&x=407',
		'title': '',
		'imageId': '68529319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529309&x=407',
		'title': '',
		'imageId': '68529309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529310&x=407',
		'title': '',
		'imageId': '68529310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529315&x=407',
		'title': '',
		'imageId': '68529315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529313&x=407',
		'title': '',
		'imageId': '68529313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529316&x=407',
		'title': '',
		'imageId': '68529316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529302&x=407',
		'title': '',
		'imageId': '68529302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529312&x=407',
		'title': '',
		'imageId': '68529312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529311&x=407',
		'title': '',
		'imageId': '68529311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529318&x=407',
		'title': '',
		'imageId': '68529318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529304&x=407',
		'title': '',
		'imageId': '68529304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947590&docid=68529427&x=407',
		'title': '',
		'imageId': '68529427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947590';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
