var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225964&x=4623',
		'title': '',
		'imageId': '68225964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225967&x=4623',
		'title': '',
		'imageId': '68225967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225968&x=4623',
		'title': '',
		'imageId': '68225968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225969&x=4623',
		'title': '',
		'imageId': '68225969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225970&x=4623',
		'title': '',
		'imageId': '68225970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225971&x=4623',
		'title': '',
		'imageId': '68225971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225972&x=4623',
		'title': '',
		'imageId': '68225972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225973&x=4623',
		'title': '',
		'imageId': '68225973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225974&x=4623',
		'title': '',
		'imageId': '68225974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225975&x=4623',
		'title': '',
		'imageId': '68225975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933926&docid=68225976&x=4623',
		'title': '',
		'imageId': '68225976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933926';

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