var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349126&x=3257',
		'title': '',
		'imageId': '69349126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349127&x=3257',
		'title': '',
		'imageId': '69349127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349128&x=3257',
		'title': '',
		'imageId': '69349128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349129&x=3257',
		'title': '',
		'imageId': '69349129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349130&x=3257',
		'title': '',
		'imageId': '69349130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349131&x=3257',
		'title': '',
		'imageId': '69349131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349132&x=3257',
		'title': '',
		'imageId': '69349132',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349133&x=3257',
		'title': '',
		'imageId': '69349133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349134&x=3257',
		'title': '',
		'imageId': '69349134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349135&x=3257',
		'title': '',
		'imageId': '69349135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349136&x=3257',
		'title': '',
		'imageId': '69349136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349137&x=3257',
		'title': '',
		'imageId': '69349137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349138&x=3257',
		'title': '',
		'imageId': '69349138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349139&x=3257',
		'title': '',
		'imageId': '69349139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349140&x=3257',
		'title': '',
		'imageId': '69349140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349141&x=3257',
		'title': '',
		'imageId': '69349141',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349142&x=3257',
		'title': '',
		'imageId': '69349142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349143&x=3257',
		'title': '',
		'imageId': '69349143',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349144&x=3257',
		'title': '',
		'imageId': '69349144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349145&x=3257',
		'title': '',
		'imageId': '69349145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349146&x=3257',
		'title': '',
		'imageId': '69349146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983946&docid=69349147&x=3257',
		'title': '',
		'imageId': '69349147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983946';

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