var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136352&x=1922',
		'title': '',
		'imageId': '70136352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136349&x=1922',
		'title': '',
		'imageId': '70136349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136357&x=1922',
		'title': '',
		'imageId': '70136357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136348&x=1922',
		'title': '',
		'imageId': '70136348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136347&x=1922',
		'title': '',
		'imageId': '70136347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136354&x=1922',
		'title': '',
		'imageId': '70136354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136353&x=1922',
		'title': '',
		'imageId': '70136353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136351&x=1922',
		'title': '',
		'imageId': '70136351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136355&x=1922',
		'title': '',
		'imageId': '70136355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136350&x=1922',
		'title': '',
		'imageId': '70136350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016619&docid=70136356&x=1922',
		'title': '',
		'imageId': '70136356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016619';

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