var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592914&x=2610',
		'title': '',
		'imageId': '68592914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592915&x=2610',
		'title': '',
		'imageId': '68592915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592917&x=2610',
		'title': '',
		'imageId': '68592917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592916&x=2610',
		'title': '',
		'imageId': '68592916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592920&x=2610',
		'title': '',
		'imageId': '68592920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592918&x=2610',
		'title': '',
		'imageId': '68592918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592922&x=2610',
		'title': '',
		'imageId': '68592922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592921&x=2610',
		'title': '',
		'imageId': '68592921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950021&docid=68592919&x=2610',
		'title': '',
		'imageId': '68592919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950021';

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