var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760292&x=5323',
		'title': '',
		'imageId': '67760292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760295&x=5323',
		'title': '',
		'imageId': '67760295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760307&x=5323',
		'title': '',
		'imageId': '67760307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760313&x=5323',
		'title': '',
		'imageId': '67760313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760370&x=5323',
		'title': '',
		'imageId': '67760370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760373&x=5323',
		'title': '',
		'imageId': '67760373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760376&x=5323',
		'title': '',
		'imageId': '67760376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760379&x=5323',
		'title': '',
		'imageId': '67760379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760387&x=5323',
		'title': '',
		'imageId': '67760387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760399&x=5323',
		'title': '',
		'imageId': '67760399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888771&docid=67760402&x=5323',
		'title': '',
		'imageId': '67760402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3888771';

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