var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178998&x=2319',
		'title': '',
		'imageId': '69178998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178992&x=2319',
		'title': '',
		'imageId': '69178992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178997&x=2319',
		'title': '',
		'imageId': '69178997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178996&x=2319',
		'title': '',
		'imageId': '69178996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178991&x=2319',
		'title': '',
		'imageId': '69178991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178995&x=2319',
		'title': '',
		'imageId': '69178995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178990&x=2319',
		'title': '',
		'imageId': '69178990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178989&x=2319',
		'title': '',
		'imageId': '69178989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178988&x=2319',
		'title': '',
		'imageId': '69178988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178993&x=2319',
		'title': '',
		'imageId': '69178993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976338&docid=69178994&x=2319',
		'title': '',
		'imageId': '69178994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976338';

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