var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260049&x=99',
		'title': '',
		'imageId': '70260049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260046&x=99',
		'title': '',
		'imageId': '70260046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260048&x=99',
		'title': '',
		'imageId': '70260048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260044&x=99',
		'title': '',
		'imageId': '70260044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260052&x=99',
		'title': '',
		'imageId': '70260052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260053&x=99',
		'title': '',
		'imageId': '70260053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260050&x=99',
		'title': '',
		'imageId': '70260050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260055&x=99',
		'title': '',
		'imageId': '70260055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260047&x=99',
		'title': '',
		'imageId': '70260047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260045&x=99',
		'title': '',
		'imageId': '70260045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260051&x=99',
		'title': '',
		'imageId': '70260051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4021375&docid=70260054&x=99',
		'title': '',
		'imageId': '70260054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4021375';

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