var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625830&x=1542',
		'title': '',
		'imageId': '625830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625831&x=1542',
		'title': '',
		'imageId': '625831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625832&x=1542',
		'title': '',
		'imageId': '625832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625833&x=1542',
		'title': '',
		'imageId': '625833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625834&x=1542',
		'title': '',
		'imageId': '625834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625835&x=1542',
		'title': '',
		'imageId': '625835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625836&x=1542',
		'title': '',
		'imageId': '625836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179508&docid=625837&x=1542',
		'title': '',
		'imageId': '625837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179508';

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