var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143319&x=2431',
		'title': '',
		'imageId': '69143319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143322&x=2431',
		'title': '',
		'imageId': '69143322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143325&x=2431',
		'title': '',
		'imageId': '69143325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143328&x=2431',
		'title': '',
		'imageId': '69143328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143331&x=2431',
		'title': '',
		'imageId': '69143331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143337&x=2431',
		'title': '',
		'imageId': '69143337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143340&x=2431',
		'title': '',
		'imageId': '69143340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143346&x=2431',
		'title': '',
		'imageId': '69143346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143349&x=2431',
		'title': '',
		'imageId': '69143349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143352&x=2431',
		'title': '',
		'imageId': '69143352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974908&docid=69143355&x=2431',
		'title': '',
		'imageId': '69143355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974908';

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