var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010586&x=2047',
		'title': '',
		'imageId': '70010586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010583&x=2047',
		'title': '',
		'imageId': '70010583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010582&x=2047',
		'title': '',
		'imageId': '70010582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010590&x=2047',
		'title': '',
		'imageId': '70010590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010589&x=2047',
		'title': '',
		'imageId': '70010589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010588&x=2047',
		'title': '',
		'imageId': '70010588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010591&x=2047',
		'title': '',
		'imageId': '70010591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010587&x=2047',
		'title': '',
		'imageId': '70010587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010584&x=2047',
		'title': '',
		'imageId': '70010584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010581&x=2047',
		'title': '',
		'imageId': '70010581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012242&docid=70010585&x=2047',
		'title': '',
		'imageId': '70010585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012242';

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