var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143284&x=1847',
		'title': '',
		'imageId': '61143284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143286&x=1847',
		'title': '',
		'imageId': '61143286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143295&x=1847',
		'title': '',
		'imageId': '61143295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143326&x=1847',
		'title': '',
		'imageId': '61143326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143342&x=1847',
		'title': '',
		'imageId': '61143342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143359&x=1847',
		'title': '',
		'imageId': '61143359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143383&x=1847',
		'title': '',
		'imageId': '61143383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143392&x=1847',
		'title': '',
		'imageId': '61143392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143289&x=1847',
		'title': '',
		'imageId': '61143289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643142&docid=61143294&x=1847',
		'title': '',
		'imageId': '61143294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3643142';

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