var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741867&x=2251',
		'title': '',
		'imageId': '66741867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741868&x=2251',
		'title': '',
		'imageId': '66741868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741863&x=2251',
		'title': '',
		'imageId': '66741863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741865&x=2251',
		'title': '',
		'imageId': '66741865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741859&x=2251',
		'title': '',
		'imageId': '66741859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741860&x=2251',
		'title': '',
		'imageId': '66741860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741861&x=2251',
		'title': '',
		'imageId': '66741861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741869&x=2251',
		'title': '',
		'imageId': '66741869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741864&x=2251',
		'title': '',
		'imageId': '66741864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741866&x=2251',
		'title': '',
		'imageId': '66741866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922623&docid=66741862&x=2251',
		'title': '',
		'imageId': '66741862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922623';

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