var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625308&x=449',
		'title': '',
		'imageId': '625308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625309&x=449',
		'title': '',
		'imageId': '625309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625310&x=449',
		'title': '',
		'imageId': '625310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625311&x=449',
		'title': '',
		'imageId': '625311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625312&x=449',
		'title': '',
		'imageId': '625312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625313&x=449',
		'title': '',
		'imageId': '625313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625314&x=449',
		'title': '',
		'imageId': '625314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179465&docid=625315&x=449',
		'title': '',
		'imageId': '625315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179465';

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