var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884784&x=2651',
		'title': '',
		'imageId': '69884784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884753&x=2651',
		'title': '',
		'imageId': '69884753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884752&x=2651',
		'title': '',
		'imageId': '69884752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884758&x=2651',
		'title': '',
		'imageId': '69884758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884759&x=2651',
		'title': '',
		'imageId': '69884759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884764&x=2651',
		'title': '',
		'imageId': '69884764',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884765&x=2651',
		'title': '',
		'imageId': '69884765',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884771&x=2651',
		'title': '',
		'imageId': '69884771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884772&x=2651',
		'title': '',
		'imageId': '69884772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884779&x=2651',
		'title': '',
		'imageId': '69884779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007275&docid=69884778&x=2651',
		'title': '',
		'imageId': '69884778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007275';

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