var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168251&x=1725',
		'title': '',
		'imageId': '70168251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168259&x=1725',
		'title': '',
		'imageId': '70168259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168258&x=1725',
		'title': '',
		'imageId': '70168258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168253&x=1725',
		'title': '',
		'imageId': '70168253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168256&x=1725',
		'title': '',
		'imageId': '70168256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168255&x=1725',
		'title': '',
		'imageId': '70168255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168257&x=1725',
		'title': '',
		'imageId': '70168257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168252&x=1725',
		'title': '',
		'imageId': '70168252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168260&x=1725',
		'title': '',
		'imageId': '70168260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168261&x=1725',
		'title': '',
		'imageId': '70168261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017440&docid=70168254&x=1725',
		'title': '',
		'imageId': '70168254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017440';

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