var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819224&x=3535',
		'title': '',
		'imageId': '71819224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819227&x=3535',
		'title': '',
		'imageId': '71819227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819228&x=3535',
		'title': '',
		'imageId': '71819228',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819222&x=3535',
		'title': '',
		'imageId': '71819222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819223&x=3535',
		'title': '',
		'imageId': '71819223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819225&x=3535',
		'title': '',
		'imageId': '71819225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819220&x=3535',
		'title': '',
		'imageId': '71819220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819226&x=3535',
		'title': '',
		'imageId': '71819226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4085342&docid=71819221&x=3535',
		'title': '',
		'imageId': '71819221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4085342';

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