var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175368&x=220',
		'title': '',
		'imageId': '69175368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175373&x=220',
		'title': '',
		'imageId': '69175373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175366&x=220',
		'title': '',
		'imageId': '69175366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175372&x=220',
		'title': '',
		'imageId': '69175372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175374&x=220',
		'title': '',
		'imageId': '69175374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175367&x=220',
		'title': '',
		'imageId': '69175367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175369&x=220',
		'title': '',
		'imageId': '69175369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175365&x=220',
		'title': '',
		'imageId': '69175365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175375&x=220',
		'title': '',
		'imageId': '69175375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175370&x=220',
		'title': '',
		'imageId': '69175370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976175&docid=69175371&x=220',
		'title': '',
		'imageId': '69175371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976175';

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