var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845956&x=1632',
		'title': '',
		'imageId': '70845956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845954&x=1632',
		'title': '',
		'imageId': '70845954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845955&x=1632',
		'title': '',
		'imageId': '70845955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845972&x=1632',
		'title': '',
		'imageId': '70845972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845980&x=1632',
		'title': '',
		'imageId': '70845980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845977&x=1632',
		'title': '',
		'imageId': '70845977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845979&x=1632',
		'title': '',
		'imageId': '70845979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845976&x=1632',
		'title': '',
		'imageId': '70845976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845978&x=1632',
		'title': '',
		'imageId': '70845978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845981&x=1632',
		'title': '',
		'imageId': '70845981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845982&x=1632',
		'title': '',
		'imageId': '70845982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845984&x=1632',
		'title': '',
		'imageId': '70845984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70845983&x=1632',
		'title': '',
		'imageId': '70845983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846011&x=1632',
		'title': '',
		'imageId': '70846011',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846014&x=1632',
		'title': '',
		'imageId': '70846014',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846013&x=1632',
		'title': '',
		'imageId': '70846013',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846012&x=1632',
		'title': '',
		'imageId': '70846012',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846017&x=1632',
		'title': '',
		'imageId': '70846017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846016&x=1632',
		'title': '',
		'imageId': '70846016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044153&docid=70846015&x=1632',
		'title': '',
		'imageId': '70846015',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044153';

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