var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333685&x=3246',
		'title': '',
		'imageId': '69333685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333680&x=3246',
		'title': '',
		'imageId': '69333680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333687&x=3246',
		'title': '',
		'imageId': '69333687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333681&x=3246',
		'title': '',
		'imageId': '69333681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333683&x=3246',
		'title': '',
		'imageId': '69333683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333689&x=3246',
		'title': '',
		'imageId': '69333689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333686&x=3246',
		'title': '',
		'imageId': '69333686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333684&x=3246',
		'title': '',
		'imageId': '69333684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333678&x=3246',
		'title': '',
		'imageId': '69333678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333679&x=3246',
		'title': '',
		'imageId': '69333679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333688&x=3246',
		'title': '',
		'imageId': '69333688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010022&docid=69333682&x=3246',
		'title': '',
		'imageId': '69333682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010022';

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