var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028056&x=5642',
		'title': '',
		'imageId': '70028056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028053&x=5642',
		'title': '',
		'imageId': '70028053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028051&x=5642',
		'title': '',
		'imageId': '70028051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028052&x=5642',
		'title': '',
		'imageId': '70028052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028054&x=5642',
		'title': '',
		'imageId': '70028054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028055&x=5642',
		'title': '',
		'imageId': '70028055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028057&x=5642',
		'title': '',
		'imageId': '70028057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028058&x=5642',
		'title': '',
		'imageId': '70028058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028059&x=5642',
		'title': '',
		'imageId': '70028059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028060&x=5642',
		'title': '',
		'imageId': '70028060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012990&docid=70028061&x=5642',
		'title': '',
		'imageId': '70028061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012990';

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