var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108725&x=1735',
		'title': '',
		'imageId': '70108725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108729&x=1735',
		'title': '',
		'imageId': '70108729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108728&x=1735',
		'title': '',
		'imageId': '70108728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108724&x=1735',
		'title': '',
		'imageId': '70108724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108723&x=1735',
		'title': '',
		'imageId': '70108723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108727&x=1735',
		'title': '',
		'imageId': '70108727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015872&docid=70108726&x=1735',
		'title': '',
		'imageId': '70108726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015872';

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