var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834310&x=2839',
		'title': '',
		'imageId': '69834310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834308&x=2839',
		'title': '',
		'imageId': '69834308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834306&x=2839',
		'title': '',
		'imageId': '69834306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834311&x=2839',
		'title': '',
		'imageId': '69834311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834304&x=2839',
		'title': '',
		'imageId': '69834304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834313&x=2839',
		'title': '',
		'imageId': '69834313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834305&x=2839',
		'title': '',
		'imageId': '69834305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834307&x=2839',
		'title': '',
		'imageId': '69834307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834309&x=2839',
		'title': '',
		'imageId': '69834309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010887&docid=69834312&x=2839',
		'title': '',
		'imageId': '69834312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010887';

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