var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777211&x=4423',
		'title': '',
		'imageId': '67777211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777212&x=4423',
		'title': '',
		'imageId': '67777212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777214&x=4423',
		'title': '',
		'imageId': '67777214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777215&x=4423',
		'title': '',
		'imageId': '67777215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777216&x=4423',
		'title': '',
		'imageId': '67777216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777217&x=4423',
		'title': '',
		'imageId': '67777217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777255&x=4423',
		'title': '',
		'imageId': '67777255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777260&x=4423',
		'title': '',
		'imageId': '67777260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777270&x=4423',
		'title': '',
		'imageId': '67777270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777280&x=4423',
		'title': '',
		'imageId': '67777280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777351&x=4423',
		'title': '',
		'imageId': '67777351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915394&docid=67777353&x=4423',
		'title': '',
		'imageId': '67777353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915394';

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