var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184059&x=64',
		'title': '',
		'imageId': '70184059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184113&x=64',
		'title': '',
		'imageId': '70184113',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184112&x=64',
		'title': '',
		'imageId': '70184112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184058&x=64',
		'title': '',
		'imageId': '70184058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184060&x=64',
		'title': '',
		'imageId': '70184060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184067&x=64',
		'title': '',
		'imageId': '70184067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184086&x=64',
		'title': '',
		'imageId': '70184086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184061&x=64',
		'title': '',
		'imageId': '70184061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184062&x=64',
		'title': '',
		'imageId': '70184062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184083&x=64',
		'title': '',
		'imageId': '70184083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184068&x=64',
		'title': '',
		'imageId': '70184068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184080&x=64',
		'title': '',
		'imageId': '70184080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184076&x=64',
		'title': '',
		'imageId': '70184076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184078&x=64',
		'title': '',
		'imageId': '70184078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184092&x=64',
		'title': '',
		'imageId': '70184092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184079&x=64',
		'title': '',
		'imageId': '70184079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184101&x=64',
		'title': '',
		'imageId': '70184101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184096&x=64',
		'title': '',
		'imageId': '70184096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184097&x=64',
		'title': '',
		'imageId': '70184097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184098&x=64',
		'title': '',
		'imageId': '70184098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184104&x=64',
		'title': '',
		'imageId': '70184104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184107&x=64',
		'title': '',
		'imageId': '70184107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018329&docid=70184057&x=64',
		'title': '',
		'imageId': '70184057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018329';

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