var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625295&x=4341',
		'title': '',
		'imageId': '625295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625296&x=4341',
		'title': '',
		'imageId': '625296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625297&x=4341',
		'title': '',
		'imageId': '625297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625298&x=4341',
		'title': '',
		'imageId': '625298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625299&x=4341',
		'title': '',
		'imageId': '625299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625300&x=4341',
		'title': '',
		'imageId': '625300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625301&x=4341',
		'title': '',
		'imageId': '625301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625302&x=4341',
		'title': '',
		'imageId': '625302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625303&x=4341',
		'title': '',
		'imageId': '625303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625304&x=4341',
		'title': '',
		'imageId': '625304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=179462&docid=625305&x=4341',
		'title': '',
		'imageId': '625305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #179462';

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