var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541409&x=4122',
		'title': '',
		'imageId': '69541409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541410&x=4122',
		'title': '',
		'imageId': '69541410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541411&x=4122',
		'title': '',
		'imageId': '69541411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541412&x=4122',
		'title': '',
		'imageId': '69541412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541413&x=4122',
		'title': '',
		'imageId': '69541413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541414&x=4122',
		'title': '',
		'imageId': '69541414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541415&x=4122',
		'title': '',
		'imageId': '69541415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541416&x=4122',
		'title': '',
		'imageId': '69541416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541417&x=4122',
		'title': '',
		'imageId': '69541417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541418&x=4122',
		'title': '',
		'imageId': '69541418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541419&x=4122',
		'title': '',
		'imageId': '69541419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541420&x=4122',
		'title': '',
		'imageId': '69541420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541421&x=4122',
		'title': '',
		'imageId': '69541421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541422&x=4122',
		'title': '',
		'imageId': '69541422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541423&x=4122',
		'title': '',
		'imageId': '69541423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992361&docid=69541424&x=4122',
		'title': '',
		'imageId': '69541424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992361';

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