var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108371&x=5519',
		'title': '',
		'imageId': '69108371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108372&x=5519',
		'title': '',
		'imageId': '69108372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108373&x=5519',
		'title': '',
		'imageId': '69108373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108374&x=5519',
		'title': '',
		'imageId': '69108374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108376&x=5519',
		'title': '',
		'imageId': '69108376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108377&x=5519',
		'title': '',
		'imageId': '69108377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108375&x=5519',
		'title': '',
		'imageId': '69108375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108381&x=5519',
		'title': '',
		'imageId': '69108381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108379&x=5519',
		'title': '',
		'imageId': '69108379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108378&x=5519',
		'title': '',
		'imageId': '69108378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004412&docid=69108380&x=5519',
		'title': '',
		'imageId': '69108380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004412';

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