var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68676621&x=248',
		'title': '',
		'imageId': '68676621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644409&x=248',
		'title': '',
		'imageId': '68644409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644414&x=248',
		'title': '',
		'imageId': '68644414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644413&x=248',
		'title': '',
		'imageId': '68644413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644407&x=248',
		'title': '',
		'imageId': '68644407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644408&x=248',
		'title': '',
		'imageId': '68644408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644411&x=248',
		'title': '',
		'imageId': '68644411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644410&x=248',
		'title': '',
		'imageId': '68644410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644412&x=248',
		'title': '',
		'imageId': '68644412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644406&x=248',
		'title': '',
		'imageId': '68644406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644416&x=248',
		'title': '',
		'imageId': '68644416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952704&docid=68644415&x=248',
		'title': '',
		'imageId': '68644415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952704';

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