var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399289&x=1449',
		'title': '',
		'imageId': '69399289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399290&x=1449',
		'title': '',
		'imageId': '69399290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399294&x=1449',
		'title': '',
		'imageId': '69399294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399295&x=1449',
		'title': '',
		'imageId': '69399295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399293&x=1449',
		'title': '',
		'imageId': '69399293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399297&x=1449',
		'title': '',
		'imageId': '69399297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399291&x=1449',
		'title': '',
		'imageId': '69399291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399292&x=1449',
		'title': '',
		'imageId': '69399292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399299&x=1449',
		'title': '',
		'imageId': '69399299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399300&x=1449',
		'title': '',
		'imageId': '69399300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985638&docid=69399296&x=1449',
		'title': '',
		'imageId': '69399296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985638';

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