var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526304&x=548',
		'title': '',
		'imageId': '69526304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526305&x=548',
		'title': '',
		'imageId': '69526305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526309&x=548',
		'title': '',
		'imageId': '69526309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526307&x=548',
		'title': '',
		'imageId': '69526307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526306&x=548',
		'title': '',
		'imageId': '69526306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526311&x=548',
		'title': '',
		'imageId': '69526311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526308&x=548',
		'title': '',
		'imageId': '69526308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526313&x=548',
		'title': '',
		'imageId': '69526313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526310&x=548',
		'title': '',
		'imageId': '69526310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526315&x=548',
		'title': '',
		'imageId': '69526315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526314&x=548',
		'title': '',
		'imageId': '69526314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526316&x=548',
		'title': '',
		'imageId': '69526316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526317&x=548',
		'title': '',
		'imageId': '69526317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526318&x=548',
		'title': '',
		'imageId': '69526318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526319&x=548',
		'title': '',
		'imageId': '69526319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991660&docid=69526417&x=548',
		'title': '',
		'imageId': '69526417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991660';

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