var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917572&x=245',
		'title': '',
		'imageId': '69917572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917574&x=245',
		'title': '',
		'imageId': '69917574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917575&x=245',
		'title': '',
		'imageId': '69917575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917576&x=245',
		'title': '',
		'imageId': '69917576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917577&x=245',
		'title': '',
		'imageId': '69917577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917578&x=245',
		'title': '',
		'imageId': '69917578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917579&x=245',
		'title': '',
		'imageId': '69917579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917580&x=245',
		'title': '',
		'imageId': '69917580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917581&x=245',
		'title': '',
		'imageId': '69917581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917582&x=245',
		'title': '',
		'imageId': '69917582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917583&x=245',
		'title': '',
		'imageId': '69917583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917584&x=245',
		'title': '',
		'imageId': '69917584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917585&x=245',
		'title': '',
		'imageId': '69917585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917586&x=245',
		'title': '',
		'imageId': '69917586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917587&x=245',
		'title': '',
		'imageId': '69917587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917588&x=245',
		'title': '',
		'imageId': '69917588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917589&x=245',
		'title': '',
		'imageId': '69917589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917590&x=245',
		'title': '',
		'imageId': '69917590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917591&x=245',
		'title': '',
		'imageId': '69917591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008313&docid=69917592&x=245',
		'title': '',
		'imageId': '69917592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008313';

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