var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965875&x=1818',
		'title': '',
		'imageId': '71965875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965874&x=1818',
		'title': '',
		'imageId': '71965874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965876&x=1818',
		'title': '',
		'imageId': '71965876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965873&x=1818',
		'title': '',
		'imageId': '71965873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965872&x=1818',
		'title': '',
		'imageId': '71965872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965888&x=1818',
		'title': '',
		'imageId': '71965888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965891&x=1818',
		'title': '',
		'imageId': '71965891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965890&x=1818',
		'title': '',
		'imageId': '71965890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965892&x=1818',
		'title': '',
		'imageId': '71965892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965889&x=1818',
		'title': '',
		'imageId': '71965889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965893&x=1818',
		'title': '',
		'imageId': '71965893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965910&x=1818',
		'title': '',
		'imageId': '71965910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965923&x=1818',
		'title': '',
		'imageId': '71965923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965907&x=1818',
		'title': '',
		'imageId': '71965907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965911&x=1818',
		'title': '',
		'imageId': '71965911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965908&x=1818',
		'title': '',
		'imageId': '71965908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965909&x=1818',
		'title': '',
		'imageId': '71965909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965925&x=1818',
		'title': '',
		'imageId': '71965925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965924&x=1818',
		'title': '',
		'imageId': '71965924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090771&docid=71965922&x=1818',
		'title': '',
		'imageId': '71965922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090771';

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