var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882210&x=710',
		'title': '',
		'imageId': '69882210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882213&x=710',
		'title': '',
		'imageId': '69882213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882216&x=710',
		'title': '',
		'imageId': '69882216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882221&x=710',
		'title': '',
		'imageId': '69882221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882224&x=710',
		'title': '',
		'imageId': '69882224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882227&x=710',
		'title': '',
		'imageId': '69882227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882230&x=710',
		'title': '',
		'imageId': '69882230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882234&x=710',
		'title': '',
		'imageId': '69882234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882387&x=710',
		'title': '',
		'imageId': '69882387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882390&x=710',
		'title': '',
		'imageId': '69882390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882394&x=710',
		'title': '',
		'imageId': '69882394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012374&docid=69882403&x=710',
		'title': '',
		'imageId': '69882403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012374';

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