var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039168&x=3156',
		'title': '',
		'imageId': '67039168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039170&x=3156',
		'title': '',
		'imageId': '67039170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039166&x=3156',
		'title': '',
		'imageId': '67039166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039169&x=3156',
		'title': '',
		'imageId': '67039169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039167&x=3156',
		'title': '',
		'imageId': '67039167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039149&x=3156',
		'title': '',
		'imageId': '67039149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039148&x=3156',
		'title': '',
		'imageId': '67039148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039144&x=3156',
		'title': '',
		'imageId': '67039144',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039145&x=3156',
		'title': '',
		'imageId': '67039145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039146&x=3156',
		'title': '',
		'imageId': '67039146',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039147&x=3156',
		'title': '',
		'imageId': '67039147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932674&docid=67039150&x=3156',
		'title': '',
		'imageId': '67039150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932674';

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