var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132418&x=3239',
		'title': '',
		'imageId': '68132418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132416&x=3239',
		'title': '',
		'imageId': '68132416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132421&x=3239',
		'title': '',
		'imageId': '68132421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132417&x=3239',
		'title': '',
		'imageId': '68132417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132427&x=3239',
		'title': '',
		'imageId': '68132427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132424&x=3239',
		'title': '',
		'imageId': '68132424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132423&x=3239',
		'title': '',
		'imageId': '68132423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132425&x=3239',
		'title': '',
		'imageId': '68132425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132419&x=3239',
		'title': '',
		'imageId': '68132419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132420&x=3239',
		'title': '',
		'imageId': '68132420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132422&x=3239',
		'title': '',
		'imageId': '68132422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930167&docid=68132426&x=3239',
		'title': '',
		'imageId': '68132426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930167';

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