var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401751&x=3349',
		'title': '',
		'imageId': '6401751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401749&x=3349',
		'title': '',
		'imageId': '6401749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401750&x=3349',
		'title': '',
		'imageId': '6401750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401757&x=3349',
		'title': '',
		'imageId': '6401757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401756&x=3349',
		'title': '',
		'imageId': '6401756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401762&x=3349',
		'title': '',
		'imageId': '6401762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401766&x=3349',
		'title': '',
		'imageId': '6401766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=915899&docid=6401767&x=3349',
		'title': '',
		'imageId': '6401767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #915899';

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