var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752733&x=5825',
		'title': '',
		'imageId': '70752733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752734&x=5825',
		'title': '',
		'imageId': '70752734',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752729&x=5825',
		'title': '',
		'imageId': '70752729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752727&x=5825',
		'title': '',
		'imageId': '70752727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752735&x=5825',
		'title': '',
		'imageId': '70752735',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752730&x=5825',
		'title': '',
		'imageId': '70752730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752731&x=5825',
		'title': '',
		'imageId': '70752731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752732&x=5825',
		'title': '',
		'imageId': '70752732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4078676&docid=70752728&x=5825',
		'title': '',
		'imageId': '70752728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4078676';

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