var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942971&x=5920',
		'title': '',
		'imageId': '69942971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942972&x=5920',
		'title': '',
		'imageId': '69942972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942967&x=5920',
		'title': '',
		'imageId': '69942967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942970&x=5920',
		'title': '',
		'imageId': '69942970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942975&x=5920',
		'title': '',
		'imageId': '69942975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942977&x=5920',
		'title': '',
		'imageId': '69942977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942969&x=5920',
		'title': '',
		'imageId': '69942969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942973&x=5920',
		'title': '',
		'imageId': '69942973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942976&x=5920',
		'title': '',
		'imageId': '69942976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942974&x=5920',
		'title': '',
		'imageId': '69942974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942966&x=5920',
		'title': '',
		'imageId': '69942966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006933&docid=69942968&x=5920',
		'title': '',
		'imageId': '69942968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006933';

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