var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791871&x=1346',
		'title': '',
		'imageId': '58791871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791873&x=1346',
		'title': '',
		'imageId': '58791873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791874&x=1346',
		'title': '',
		'imageId': '58791874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791875&x=1346',
		'title': '',
		'imageId': '58791875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791876&x=1346',
		'title': '',
		'imageId': '58791876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791877&x=1346',
		'title': '',
		'imageId': '58791877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791878&x=1346',
		'title': '',
		'imageId': '58791878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791879&x=1346',
		'title': '',
		'imageId': '58791879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791880&x=1346',
		'title': '',
		'imageId': '58791880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791881&x=1346',
		'title': '',
		'imageId': '58791881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791882&x=1346',
		'title': '',
		'imageId': '58791882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791883&x=1346',
		'title': '',
		'imageId': '58791883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791884&x=1346',
		'title': '',
		'imageId': '58791884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791848&x=1346',
		'title': '',
		'imageId': '58791848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791849&x=1346',
		'title': '',
		'imageId': '58791849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791850&x=1346',
		'title': '',
		'imageId': '58791850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791851&x=1346',
		'title': '',
		'imageId': '58791851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791852&x=1346',
		'title': '',
		'imageId': '58791852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791853&x=1346',
		'title': '',
		'imageId': '58791853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791854&x=1346',
		'title': '',
		'imageId': '58791854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791855&x=1346',
		'title': '',
		'imageId': '58791855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791856&x=1346',
		'title': '',
		'imageId': '58791856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791857&x=1346',
		'title': '',
		'imageId': '58791857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791858&x=1346',
		'title': '',
		'imageId': '58791858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791859&x=1346',
		'title': '',
		'imageId': '58791859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791860&x=1346',
		'title': '',
		'imageId': '58791860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791861&x=1346',
		'title': '',
		'imageId': '58791861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791862&x=1346',
		'title': '',
		'imageId': '58791862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791863&x=1346',
		'title': '',
		'imageId': '58791863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791864&x=1346',
		'title': '',
		'imageId': '58791864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791865&x=1346',
		'title': '',
		'imageId': '58791865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791866&x=1346',
		'title': '',
		'imageId': '58791866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791867&x=1346',
		'title': '',
		'imageId': '58791867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791868&x=1346',
		'title': '',
		'imageId': '58791868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791869&x=1346',
		'title': '',
		'imageId': '58791869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3651634&docid=58791870&x=1346',
		'title': '',
		'imageId': '58791870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3651634';

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