var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497218&x=3914',
		'title': '',
		'imageId': '71497218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497207&x=3914',
		'title': '',
		'imageId': '71497207',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497208&x=3914',
		'title': '',
		'imageId': '71497208',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497220&x=3914',
		'title': '',
		'imageId': '71497220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497222&x=3914',
		'title': '',
		'imageId': '71497222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497221&x=3914',
		'title': '',
		'imageId': '71497221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497219&x=3914',
		'title': '',
		'imageId': '71497219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497223&x=3914',
		'title': '',
		'imageId': '71497223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4071824&docid=71497217&x=3914',
		'title': '',
		'imageId': '71497217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4071824';

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