var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166191&x=4640',
		'title': '',
		'imageId': '70166191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166187&x=4640',
		'title': '',
		'imageId': '70166187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166190&x=4640',
		'title': '',
		'imageId': '70166190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166194&x=4640',
		'title': '',
		'imageId': '70166194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166193&x=4640',
		'title': '',
		'imageId': '70166193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166192&x=4640',
		'title': '',
		'imageId': '70166192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166188&x=4640',
		'title': '',
		'imageId': '70166188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166184&x=4640',
		'title': '',
		'imageId': '70166184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166186&x=4640',
		'title': '',
		'imageId': '70166186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166189&x=4640',
		'title': '',
		'imageId': '70166189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017337&docid=70166185&x=4640',
		'title': '',
		'imageId': '70166185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017337';

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