var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71667320&x=5054',
		'title': '',
		'imageId': '71667320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71667319&x=5054',
		'title': '',
		'imageId': '71667319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71667321&x=5054',
		'title': '',
		'imageId': '71667321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71667322&x=5054',
		'title': '',
		'imageId': '71667322',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71678874&x=5054',
		'title': '',
		'imageId': '71678874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71678876&x=5054',
		'title': '',
		'imageId': '71678876',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71678877&x=5054',
		'title': '',
		'imageId': '71678877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71678875&x=5054',
		'title': '',
		'imageId': '71678875',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078295&docid=71678888&x=5054',
		'title': '',
		'imageId': '71678888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4078295';

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