var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678157&x=5225',
		'title': '',
		'imageId': '66678157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678160&x=5225',
		'title': '',
		'imageId': '66678160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678154&x=5225',
		'title': '',
		'imageId': '66678154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678155&x=5225',
		'title': '',
		'imageId': '66678155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678153&x=5225',
		'title': '',
		'imageId': '66678153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678159&x=5225',
		'title': '',
		'imageId': '66678159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678156&x=5225',
		'title': '',
		'imageId': '66678156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=66678158&x=5225',
		'title': '',
		'imageId': '66678158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=69902439&x=5225',
		'title': '',
		'imageId': '69902439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=69902445&x=5225',
		'title': '',
		'imageId': '69902445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=69902448&x=5225',
		'title': '',
		'imageId': '69902448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007727&docid=69902451&x=5225',
		'title': '',
		'imageId': '69902451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007727';

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