var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003580&x=5525',
		'title': '',
		'imageId': '70003580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003581&x=5525',
		'title': '',
		'imageId': '70003581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003584&x=5525',
		'title': '',
		'imageId': '70003584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003585&x=5525',
		'title': '',
		'imageId': '70003585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003582&x=5525',
		'title': '',
		'imageId': '70003582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003583&x=5525',
		'title': '',
		'imageId': '70003583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003598&x=5525',
		'title': '',
		'imageId': '70003598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003600&x=5525',
		'title': '',
		'imageId': '70003600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003603&x=5525',
		'title': '',
		'imageId': '70003603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003602&x=5525',
		'title': '',
		'imageId': '70003602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003604&x=5525',
		'title': '',
		'imageId': '70003604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011860&docid=70003610&x=5525',
		'title': '',
		'imageId': '70003610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011860';

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