var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454914&x=2635',
		'title': '',
		'imageId': '71454914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454915&x=2635',
		'title': '',
		'imageId': '71454915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454916&x=2635',
		'title': '',
		'imageId': '71454916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454917&x=2635',
		'title': '',
		'imageId': '71454917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454918&x=2635',
		'title': '',
		'imageId': '71454918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454919&x=2635',
		'title': '',
		'imageId': '71454919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454920&x=2635',
		'title': '',
		'imageId': '71454920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454921&x=2635',
		'title': '',
		'imageId': '71454921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4070197&docid=71454922&x=2635',
		'title': '',
		'imageId': '71454922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4070197';

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