var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028207&x=5811',
		'title': '',
		'imageId': '69028207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028225&x=5811',
		'title': '',
		'imageId': '69028225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028224&x=5811',
		'title': '',
		'imageId': '69028224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028222&x=5811',
		'title': '',
		'imageId': '69028222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028212&x=5811',
		'title': '',
		'imageId': '69028212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028210&x=5811',
		'title': '',
		'imageId': '69028210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028216&x=5811',
		'title': '',
		'imageId': '69028216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028218&x=5811',
		'title': '',
		'imageId': '69028218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028215&x=5811',
		'title': '',
		'imageId': '69028215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028219&x=5811',
		'title': '',
		'imageId': '69028219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028217&x=5811',
		'title': '',
		'imageId': '69028217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028221&x=5811',
		'title': '',
		'imageId': '69028221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028220&x=5811',
		'title': '',
		'imageId': '69028220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028223&x=5811',
		'title': '',
		'imageId': '69028223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028211&x=5811',
		'title': '',
		'imageId': '69028211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028213&x=5811',
		'title': '',
		'imageId': '69028213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028208&x=5811',
		'title': '',
		'imageId': '69028208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028209&x=5811',
		'title': '',
		'imageId': '69028209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970393&docid=69028214&x=5811',
		'title': '',
		'imageId': '69028214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970393';

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