var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610352&x=4123',
		'title': '',
		'imageId': '68610352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610350&x=4123',
		'title': '',
		'imageId': '68610350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610359&x=4123',
		'title': '',
		'imageId': '68610359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610351&x=4123',
		'title': '',
		'imageId': '68610351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610356&x=4123',
		'title': '',
		'imageId': '68610356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610354&x=4123',
		'title': '',
		'imageId': '68610354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610358&x=4123',
		'title': '',
		'imageId': '68610358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610355&x=4123',
		'title': '',
		'imageId': '68610355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610357&x=4123',
		'title': '',
		'imageId': '68610357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951035&docid=68610353&x=4123',
		'title': '',
		'imageId': '68610353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951035';

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