var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041559&x=359',
		'title': '',
		'imageId': '69041559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041563&x=359',
		'title': '',
		'imageId': '69041563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041566&x=359',
		'title': '',
		'imageId': '69041566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041561&x=359',
		'title': '',
		'imageId': '69041561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041562&x=359',
		'title': '',
		'imageId': '69041562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041560&x=359',
		'title': '',
		'imageId': '69041560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041564&x=359',
		'title': '',
		'imageId': '69041564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041565&x=359',
		'title': '',
		'imageId': '69041565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041567&x=359',
		'title': '',
		'imageId': '69041567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041568&x=359',
		'title': '',
		'imageId': '69041568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970894&docid=69041558&x=359',
		'title': '',
		'imageId': '69041558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970894';

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