var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982499&x=2818',
		'title': '',
		'imageId': '69982499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982502&x=2818',
		'title': '',
		'imageId': '69982502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982505&x=2818',
		'title': '',
		'imageId': '69982505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982508&x=2818',
		'title': '',
		'imageId': '69982508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982511&x=2818',
		'title': '',
		'imageId': '69982511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982514&x=2818',
		'title': '',
		'imageId': '69982514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982517&x=2818',
		'title': '',
		'imageId': '69982517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982520&x=2818',
		'title': '',
		'imageId': '69982520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982523&x=2818',
		'title': '',
		'imageId': '69982523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982526&x=2818',
		'title': '',
		'imageId': '69982526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010919&docid=69982529&x=2818',
		'title': '',
		'imageId': '69982529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010919';

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