var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256491&x=4840',
		'title': '',
		'imageId': '69256491',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256493&x=4840',
		'title': '',
		'imageId': '69256493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256496&x=4840',
		'title': '',
		'imageId': '69256496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256486&x=4840',
		'title': '',
		'imageId': '69256486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256488&x=4840',
		'title': '',
		'imageId': '69256488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256492&x=4840',
		'title': '',
		'imageId': '69256492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256495&x=4840',
		'title': '',
		'imageId': '69256495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256489&x=4840',
		'title': '',
		'imageId': '69256489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256490&x=4840',
		'title': '',
		'imageId': '69256490',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256494&x=4840',
		'title': '',
		'imageId': '69256494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979780&docid=69256487&x=4840',
		'title': '',
		'imageId': '69256487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979780';

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