var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028021&x=75',
		'title': '',
		'imageId': '69028021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028025&x=75',
		'title': '',
		'imageId': '69028025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028029&x=75',
		'title': '',
		'imageId': '69028029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028035&x=75',
		'title': '',
		'imageId': '69028035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028039&x=75',
		'title': '',
		'imageId': '69028039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028043&x=75',
		'title': '',
		'imageId': '69028043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028046&x=75',
		'title': '',
		'imageId': '69028046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028050&x=75',
		'title': '',
		'imageId': '69028050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028055&x=75',
		'title': '',
		'imageId': '69028055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970385&docid=69028059&x=75',
		'title': '',
		'imageId': '69028059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970385';

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