var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263779&x=2854',
		'title': '',
		'imageId': '7263779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263782&x=2854',
		'title': '',
		'imageId': '7263782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263785&x=2854',
		'title': '',
		'imageId': '7263785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263788&x=2854',
		'title': '',
		'imageId': '7263788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263791&x=2854',
		'title': '',
		'imageId': '7263791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263794&x=2854',
		'title': '',
		'imageId': '7263794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263797&x=2854',
		'title': '',
		'imageId': '7263797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=913053&docid=7263800&x=2854',
		'title': '',
		'imageId': '7263800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #913053';

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