var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592705&x=4126',
		'title': '200 169 HCC',
		'imageId': '67592705',
		'alt' : '200 169 HCC',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592810&x=4126',
		'title': '',
		'imageId': '67592810',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592813&x=4126',
		'title': '200 170 HCC',
		'imageId': '67592813',
		'alt' : '200 170 HCC',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592818&x=4126',
		'title': '',
		'imageId': '67592818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592822&x=4126',
		'title': '200 171 HCC',
		'imageId': '67592822',
		'alt' : '200 171 HCC',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592831&x=4126',
		'title': '',
		'imageId': '67592831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908187&docid=67592834&x=4126',
		'title': '200 172 HCC',
		'imageId': '67592834',
		'alt' : '200 172 HCC',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908187';

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