var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078187&x=1141',
		'title': '',
		'imageId': '70078187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078188&x=1141',
		'title': '',
		'imageId': '70078188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078190&x=1141',
		'title': '',
		'imageId': '70078190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078191&x=1141',
		'title': '',
		'imageId': '70078191',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078192&x=1141',
		'title': '',
		'imageId': '70078192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078193&x=1141',
		'title': '',
		'imageId': '70078193',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015133&docid=70078194&x=1141',
		'title': '',
		'imageId': '70078194',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015133';

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