var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984860&x=115',
		'title': '',
		'imageId': '68984860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984861&x=115',
		'title': '',
		'imageId': '68984861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984857&x=115',
		'title': '',
		'imageId': '68984857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984864&x=115',
		'title': '',
		'imageId': '68984864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984859&x=115',
		'title': '',
		'imageId': '68984859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984855&x=115',
		'title': '',
		'imageId': '68984855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984856&x=115',
		'title': '',
		'imageId': '68984856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984862&x=115',
		'title': '',
		'imageId': '68984862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984858&x=115',
		'title': '',
		'imageId': '68984858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984863&x=115',
		'title': '',
		'imageId': '68984863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967985&docid=68984854&x=115',
		'title': '',
		'imageId': '68984854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967985';

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