var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68727752&x=324',
		'title': '',
		'imageId': '68727752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411293&x=324',
		'title': '',
		'imageId': '68411293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411316&x=324',
		'title': '',
		'imageId': '68411316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411319&x=324',
		'title': '',
		'imageId': '68411319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411332&x=324',
		'title': '',
		'imageId': '68411332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411370&x=324',
		'title': '',
		'imageId': '68411370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411373&x=324',
		'title': '',
		'imageId': '68411373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411379&x=324',
		'title': '',
		'imageId': '68411379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411382&x=324',
		'title': '',
		'imageId': '68411382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411388&x=324',
		'title': '',
		'imageId': '68411388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967890&docid=68411393&x=324',
		'title': '',
		'imageId': '68411393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967890';

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