var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536411&x=3058',
		'title': '',
		'imageId': '2536411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536414&x=3058',
		'title': '',
		'imageId': '2536414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536417&x=3058',
		'title': '',
		'imageId': '2536417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536420&x=3058',
		'title': '',
		'imageId': '2536420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536423&x=3058',
		'title': '',
		'imageId': '2536423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536426&x=3058',
		'title': '',
		'imageId': '2536426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536429&x=3058',
		'title': '',
		'imageId': '2536429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=466448&docid=2536432&x=3058',
		'title': '',
		'imageId': '2536432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #466448';

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