var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145985&x=4757',
		'title': '',
		'imageId': '69145985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145991&x=4757',
		'title': '',
		'imageId': '69145991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145987&x=4757',
		'title': '',
		'imageId': '69145987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145992&x=4757',
		'title': '',
		'imageId': '69145992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145990&x=4757',
		'title': '',
		'imageId': '69145990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145986&x=4757',
		'title': '',
		'imageId': '69145986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145988&x=4757',
		'title': '',
		'imageId': '69145988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145982&x=4757',
		'title': '',
		'imageId': '69145982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145984&x=4757',
		'title': '',
		'imageId': '69145984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145983&x=4757',
		'title': '',
		'imageId': '69145983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975022&docid=69145989&x=4757',
		'title': '',
		'imageId': '69145989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975022';

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