var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591514&x=4130',
		'title': '',
		'imageId': '2591514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591517&x=4130',
		'title': '',
		'imageId': '2591517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591520&x=4130',
		'title': '',
		'imageId': '2591520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591526&x=4130',
		'title': '',
		'imageId': '2591526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591529&x=4130',
		'title': '',
		'imageId': '2591529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591536&x=4130',
		'title': '',
		'imageId': '2591536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591545&x=4130',
		'title': '',
		'imageId': '2591545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473877&docid=2591564&x=4130',
		'title': '',
		'imageId': '2591564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #473877';

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