var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69880986&x=174',
		'title': '',
		'imageId': '69880986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69880993&x=174',
		'title': '',
		'imageId': '69880993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69880996&x=174',
		'title': '',
		'imageId': '69880996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881000&x=174',
		'title': '',
		'imageId': '69881000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881005&x=174',
		'title': '',
		'imageId': '69881005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881012&x=174',
		'title': '',
		'imageId': '69881012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881018&x=174',
		'title': '',
		'imageId': '69881018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881022&x=174',
		'title': '',
		'imageId': '69881022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881027&x=174',
		'title': '',
		'imageId': '69881027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881030&x=174',
		'title': '',
		'imageId': '69881030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881033&x=174',
		'title': '',
		'imageId': '69881033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007022&docid=69881037&x=174',
		'title': '',
		'imageId': '69881037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007022';

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