var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008324&x=5029',
		'title': '',
		'imageId': '68008324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008323&x=5029',
		'title': '',
		'imageId': '68008323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008327&x=5029',
		'title': '',
		'imageId': '68008327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008322&x=5029',
		'title': '',
		'imageId': '68008322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008329&x=5029',
		'title': '',
		'imageId': '68008329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008328&x=5029',
		'title': '',
		'imageId': '68008328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008333&x=5029',
		'title': '',
		'imageId': '68008333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008325&x=5029',
		'title': '',
		'imageId': '68008325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008331&x=5029',
		'title': '',
		'imageId': '68008331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008330&x=5029',
		'title': '',
		'imageId': '68008330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008326&x=5029',
		'title': '',
		'imageId': '68008326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3924459&docid=68008332&x=5029',
		'title': '',
		'imageId': '68008332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3924459';

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