var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140664&x=571',
		'title': '',
		'imageId': '61140664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140667&x=571',
		'title': '',
		'imageId': '61140667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140704&x=571',
		'title': '',
		'imageId': '61140704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140714&x=571',
		'title': '',
		'imageId': '61140714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140606&x=571',
		'title': '',
		'imageId': '61140606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140627&x=571',
		'title': '',
		'imageId': '61140627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140662&x=571',
		'title': '',
		'imageId': '61140662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140663&x=571',
		'title': '',
		'imageId': '61140663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140665&x=571',
		'title': '',
		'imageId': '61140665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140666&x=571',
		'title': '',
		'imageId': '61140666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643060&docid=61140599&x=571',
		'title': '',
		'imageId': '61140599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3643060';

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