var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073314&x=4124',
		'title': '',
		'imageId': '69073314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073311&x=4124',
		'title': '',
		'imageId': '69073311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073313&x=4124',
		'title': '',
		'imageId': '69073313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073309&x=4124',
		'title': '',
		'imageId': '69073309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073312&x=4124',
		'title': '',
		'imageId': '69073312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073308&x=4124',
		'title': '',
		'imageId': '69073308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972161&docid=69073310&x=4124',
		'title': '',
		'imageId': '69073310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972161';

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