var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673794&x=346',
		'title': '',
		'imageId': '69673794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673787&x=346',
		'title': '',
		'imageId': '69673787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673777&x=346',
		'title': '',
		'imageId': '69673777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673779&x=346',
		'title': '',
		'imageId': '69673779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673778&x=346',
		'title': '',
		'imageId': '69673778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673791&x=346',
		'title': '',
		'imageId': '69673791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673797&x=346',
		'title': '',
		'imageId': '69673797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673782&x=346',
		'title': '',
		'imageId': '69673782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673788&x=346',
		'title': '',
		'imageId': '69673788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673780&x=346',
		'title': '',
		'imageId': '69673780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987460&docid=69673781&x=346',
		'title': '',
		'imageId': '69673781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987460';

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