var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093669&x=2812',
		'title': '',
		'imageId': '70093669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093661&x=2812',
		'title': '',
		'imageId': '70093661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093671&x=2812',
		'title': '',
		'imageId': '70093671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093664&x=2812',
		'title': '',
		'imageId': '70093664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093668&x=2812',
		'title': '',
		'imageId': '70093668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093665&x=2812',
		'title': '',
		'imageId': '70093665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093663&x=2812',
		'title': '',
		'imageId': '70093663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093667&x=2812',
		'title': '',
		'imageId': '70093667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093666&x=2812',
		'title': '',
		'imageId': '70093666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015393&docid=70093662&x=2812',
		'title': '',
		'imageId': '70093662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015393';

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