var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973598&x=410',
		'title': '',
		'imageId': '66973598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973600&x=410',
		'title': '',
		'imageId': '66973600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973599&x=410',
		'title': '',
		'imageId': '66973599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973592&x=410',
		'title': '',
		'imageId': '66973592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973590&x=410',
		'title': '',
		'imageId': '66973590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973594&x=410',
		'title': '',
		'imageId': '66973594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973596&x=410',
		'title': '',
		'imageId': '66973596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973591&x=410',
		'title': '',
		'imageId': '66973591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973595&x=410',
		'title': '',
		'imageId': '66973595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973593&x=410',
		'title': '',
		'imageId': '66973593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973597&x=410',
		'title': '',
		'imageId': '66973597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015615&docid=66973601&x=410',
		'title': '',
		'imageId': '66973601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015615';

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