var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415862&x=1630',
		'title': '',
		'imageId': '67415862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415863&x=1630',
		'title': '',
		'imageId': '67415863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415864&x=1630',
		'title': '',
		'imageId': '67415864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415865&x=1630',
		'title': '',
		'imageId': '67415865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415866&x=1630',
		'title': '',
		'imageId': '67415866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415867&x=1630',
		'title': '',
		'imageId': '67415867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3900602&docid=67415868&x=1630',
		'title': '',
		'imageId': '67415868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3900602';

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