var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688648&x=2130',
		'title': '',
		'imageId': '69688648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688651&x=2130',
		'title': '',
		'imageId': '69688651',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688656&x=2130',
		'title': '',
		'imageId': '69688656',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688663&x=2130',
		'title': '',
		'imageId': '69688663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688667&x=2130',
		'title': '',
		'imageId': '69688667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688678&x=2130',
		'title': '',
		'imageId': '69688678',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688681&x=2130',
		'title': '',
		'imageId': '69688681',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688684&x=2130',
		'title': '',
		'imageId': '69688684',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688694&x=2130',
		'title': '',
		'imageId': '69688694',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688700&x=2130',
		'title': '',
		'imageId': '69688700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688704&x=2130',
		'title': '',
		'imageId': '69688704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688728&x=2130',
		'title': '',
		'imageId': '69688728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688753&x=2130',
		'title': '',
		'imageId': '69688753',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688935&x=2130',
		'title': '',
		'imageId': '69688935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69688938&x=2130',
		'title': '',
		'imageId': '69688938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69695034&x=2130',
		'title': '',
		'imageId': '69695034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69695035&x=2130',
		'title': '',
		'imageId': '69695035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69695033&x=2130',
		'title': '',
		'imageId': '69695033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992088&docid=69695036&x=2130',
		'title': '',
		'imageId': '69695036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992088';

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