var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875635&x=1251',
		'title': '',
		'imageId': '69875635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875628&x=1251',
		'title': '',
		'imageId': '69875628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875634&x=1251',
		'title': '',
		'imageId': '69875634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875632&x=1251',
		'title': '',
		'imageId': '69875632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875639&x=1251',
		'title': '',
		'imageId': '69875639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875633&x=1251',
		'title': '',
		'imageId': '69875633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875638&x=1251',
		'title': '',
		'imageId': '69875638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875630&x=1251',
		'title': '',
		'imageId': '69875630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875637&x=1251',
		'title': '',
		'imageId': '69875637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69966203&x=1251',
		'title': '',
		'imageId': '69966203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875629&x=1251',
		'title': '',
		'imageId': '69875629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006729&docid=69875636&x=1251',
		'title': '',
		'imageId': '69875636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006729';

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