var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974185&x=2126',
		'title': '',
		'imageId': '69974185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974187&x=2126',
		'title': '',
		'imageId': '69974187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974188&x=2126',
		'title': '',
		'imageId': '69974188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974186&x=2126',
		'title': '',
		'imageId': '69974186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974189&x=2126',
		'title': '',
		'imageId': '69974189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974192&x=2126',
		'title': '',
		'imageId': '69974192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974197&x=2126',
		'title': '',
		'imageId': '69974197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974203&x=2126',
		'title': '',
		'imageId': '69974203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974205&x=2126',
		'title': '',
		'imageId': '69974205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974206&x=2126',
		'title': '',
		'imageId': '69974206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010619&docid=69974184&x=2126',
		'title': '',
		'imageId': '69974184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010619';

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