var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952612&x=5119',
		'title': '',
		'imageId': '68952612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952621&x=5119',
		'title': '',
		'imageId': '68952621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952619&x=5119',
		'title': '',
		'imageId': '68952619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952623&x=5119',
		'title': '',
		'imageId': '68952623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952615&x=5119',
		'title': '',
		'imageId': '68952615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952620&x=5119',
		'title': '',
		'imageId': '68952620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952617&x=5119',
		'title': '',
		'imageId': '68952617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952616&x=5119',
		'title': '',
		'imageId': '68952616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952618&x=5119',
		'title': '',
		'imageId': '68952618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952614&x=5119',
		'title': '',
		'imageId': '68952614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966109&docid=68952613&x=5119',
		'title': '',
		'imageId': '68952613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966109';

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