var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186626&x=5355',
		'title': '',
		'imageId': '71186626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186624&x=5355',
		'title': '',
		'imageId': '71186624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186633&x=5355',
		'title': '',
		'imageId': '71186633',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186627&x=5355',
		'title': '',
		'imageId': '71186627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186603&x=5355',
		'title': '',
		'imageId': '71186603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186602&x=5355',
		'title': '',
		'imageId': '71186602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186623&x=5355',
		'title': '',
		'imageId': '71186623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186604&x=5355',
		'title': '',
		'imageId': '71186604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186605&x=5355',
		'title': '',
		'imageId': '71186605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186607&x=5355',
		'title': '',
		'imageId': '71186607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057475&docid=71186606&x=5355',
		'title': '',
		'imageId': '71186606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057475';

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