var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917438&x=5955',
		'title': '',
		'imageId': '69917438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917441&x=5955',
		'title': '',
		'imageId': '69917441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917442&x=5955',
		'title': '',
		'imageId': '69917442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917443&x=5955',
		'title': '',
		'imageId': '69917443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917444&x=5955',
		'title': '',
		'imageId': '69917444',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917445&x=5955',
		'title': '',
		'imageId': '69917445',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917446&x=5955',
		'title': '',
		'imageId': '69917446',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917447&x=5955',
		'title': '',
		'imageId': '69917447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917448&x=5955',
		'title': '',
		'imageId': '69917448',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917449&x=5955',
		'title': '',
		'imageId': '69917449',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061515&docid=69917450&x=5955',
		'title': '',
		'imageId': '69917450',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061515';

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