var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566712&x=40',
		'title': '',
		'imageId': '67566712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566716&x=40',
		'title': '',
		'imageId': '67566716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566713&x=40',
		'title': '',
		'imageId': '67566713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566714&x=40',
		'title': '',
		'imageId': '67566714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566715&x=40',
		'title': '',
		'imageId': '67566715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566718&x=40',
		'title': '',
		'imageId': '67566718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566717&x=40',
		'title': '',
		'imageId': '67566717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906880&docid=67566719&x=40',
		'title': '',
		'imageId': '67566719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906880';

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