var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543980&x=2154',
		'title': '',
		'imageId': '69543980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543988&x=2154',
		'title': '',
		'imageId': '69543988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543987&x=2154',
		'title': '',
		'imageId': '69543987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543982&x=2154',
		'title': '',
		'imageId': '69543982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543985&x=2154',
		'title': '',
		'imageId': '69543985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543981&x=2154',
		'title': '',
		'imageId': '69543981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543983&x=2154',
		'title': '',
		'imageId': '69543983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543984&x=2154',
		'title': '',
		'imageId': '69543984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543990&x=2154',
		'title': '',
		'imageId': '69543990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543986&x=2154',
		'title': '',
		'imageId': '69543986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992489&docid=69543989&x=2154',
		'title': '',
		'imageId': '69543989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992489';

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