var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940620&x=820',
		'title': '',
		'imageId': '69940620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940623&x=820',
		'title': '',
		'imageId': '69940623',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940624&x=820',
		'title': '',
		'imageId': '69940624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940625&x=820',
		'title': '',
		'imageId': '69940625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940628&x=820',
		'title': '',
		'imageId': '69940628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940627&x=820',
		'title': '',
		'imageId': '69940627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940626&x=820',
		'title': '',
		'imageId': '69940626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940629&x=820',
		'title': '',
		'imageId': '69940629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940630&x=820',
		'title': '',
		'imageId': '69940630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940631&x=820',
		'title': '',
		'imageId': '69940631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940634&x=820',
		'title': '',
		'imageId': '69940634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940633&x=820',
		'title': '',
		'imageId': '69940633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940632&x=820',
		'title': '',
		'imageId': '69940632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940635&x=820',
		'title': '',
		'imageId': '69940635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940636&x=820',
		'title': '',
		'imageId': '69940636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940637&x=820',
		'title': '',
		'imageId': '69940637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940638&x=820',
		'title': '',
		'imageId': '69940638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940639&x=820',
		'title': '',
		'imageId': '69940639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940640&x=820',
		'title': '',
		'imageId': '69940640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940641&x=820',
		'title': '',
		'imageId': '69940641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940642&x=820',
		'title': '',
		'imageId': '69940642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009158&docid=69940643&x=820',
		'title': '',
		'imageId': '69940643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009158';

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