var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179347&x=2226',
		'title': '',
		'imageId': '69179347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179350&x=2226',
		'title': '',
		'imageId': '69179350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179344&x=2226',
		'title': '',
		'imageId': '69179344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179349&x=2226',
		'title': '',
		'imageId': '69179349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179351&x=2226',
		'title': '',
		'imageId': '69179351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179352&x=2226',
		'title': '',
		'imageId': '69179352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179346&x=2226',
		'title': '',
		'imageId': '69179346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179348&x=2226',
		'title': '',
		'imageId': '69179348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179345&x=2226',
		'title': '',
		'imageId': '69179345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976357&docid=69179343&x=2226',
		'title': '',
		'imageId': '69179343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976357';

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