var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7144760&x=60',
		'title': '',
		'imageId': '7144760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7144917&x=60',
		'title': '',
		'imageId': '7144917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7144923&x=60',
		'title': '',
		'imageId': '7144923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7145011&x=60',
		'title': '',
		'imageId': '7145011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7145008&x=60',
		'title': '',
		'imageId': '7145008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7144997&x=60',
		'title': '',
		'imageId': '7144997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7145003&x=60',
		'title': '',
		'imageId': '7145003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=916251&docid=7305278&x=60',
		'title': '',
		'imageId': '7305278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #916251';

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