var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240491&x=4934',
		'title': '',
		'imageId': '69240491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240492&x=4934',
		'title': '',
		'imageId': '69240492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240493&x=4934',
		'title': '',
		'imageId': '69240493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240494&x=4934',
		'title': '',
		'imageId': '69240494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240495&x=4934',
		'title': '',
		'imageId': '69240495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240496&x=4934',
		'title': '',
		'imageId': '69240496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240497&x=4934',
		'title': '',
		'imageId': '69240497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240498&x=4934',
		'title': '',
		'imageId': '69240498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240499&x=4934',
		'title': '',
		'imageId': '69240499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240500&x=4934',
		'title': '',
		'imageId': '69240500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240501&x=4934',
		'title': '',
		'imageId': '69240501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240502&x=4934',
		'title': '',
		'imageId': '69240502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240503&x=4934',
		'title': '',
		'imageId': '69240503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240504&x=4934',
		'title': '',
		'imageId': '69240504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240505&x=4934',
		'title': '',
		'imageId': '69240505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240506&x=4934',
		'title': '',
		'imageId': '69240506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240507&x=4934',
		'title': '',
		'imageId': '69240507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240508&x=4934',
		'title': '',
		'imageId': '69240508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240509&x=4934',
		'title': '',
		'imageId': '69240509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240510&x=4934',
		'title': '',
		'imageId': '69240510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240511&x=4934',
		'title': '',
		'imageId': '69240511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240512&x=4934',
		'title': '',
		'imageId': '69240512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240513&x=4934',
		'title': '',
		'imageId': '69240513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979289&docid=69240514&x=4934',
		'title': '',
		'imageId': '69240514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979289';

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