var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947076&x=353',
		'title': '',
		'imageId': '69947076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947082&x=353',
		'title': '',
		'imageId': '69947082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947078&x=353',
		'title': '',
		'imageId': '69947078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947083&x=353',
		'title': '',
		'imageId': '69947083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947081&x=353',
		'title': '',
		'imageId': '69947081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947080&x=353',
		'title': '',
		'imageId': '69947080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947084&x=353',
		'title': '',
		'imageId': '69947084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947075&x=353',
		'title': '',
		'imageId': '69947075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947077&x=353',
		'title': '',
		'imageId': '69947077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011875&docid=69947079&x=353',
		'title': '',
		'imageId': '69947079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011875';

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