var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590873&x=5159',
		'title': '',
		'imageId': '68590873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590876&x=5159',
		'title': '',
		'imageId': '68590876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590880&x=5159',
		'title': '',
		'imageId': '68590880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590895&x=5159',
		'title': '',
		'imageId': '68590895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590879&x=5159',
		'title': '',
		'imageId': '68590879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590886&x=5159',
		'title': '',
		'imageId': '68590886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590883&x=5159',
		'title': '',
		'imageId': '68590883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590885&x=5159',
		'title': '',
		'imageId': '68590885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590884&x=5159',
		'title': '',
		'imageId': '68590884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590881&x=5159',
		'title': '',
		'imageId': '68590881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590878&x=5159',
		'title': '',
		'imageId': '68590878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590877&x=5159',
		'title': '',
		'imageId': '68590877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590875&x=5159',
		'title': '',
		'imageId': '68590875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590874&x=5159',
		'title': '',
		'imageId': '68590874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590882&x=5159',
		'title': '',
		'imageId': '68590882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590889&x=5159',
		'title': '',
		'imageId': '68590889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590888&x=5159',
		'title': '',
		'imageId': '68590888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590887&x=5159',
		'title': '',
		'imageId': '68590887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590894&x=5159',
		'title': '',
		'imageId': '68590894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590893&x=5159',
		'title': '',
		'imageId': '68590893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590890&x=5159',
		'title': '',
		'imageId': '68590890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590891&x=5159',
		'title': '',
		'imageId': '68590891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590892&x=5159',
		'title': '',
		'imageId': '68590892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950013&docid=68590896&x=5159',
		'title': '',
		'imageId': '68590896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950013';

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";
	})
}
