var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341135&x=1912',
		'title': '',
		'imageId': '70341135',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341134&x=1912',
		'title': '',
		'imageId': '70341134',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341125&x=1912',
		'title': '',
		'imageId': '70341125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341130&x=1912',
		'title': '',
		'imageId': '70341130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341142&x=1912',
		'title': '',
		'imageId': '70341142',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341133&x=1912',
		'title': '',
		'imageId': '70341133',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341128&x=1912',
		'title': '',
		'imageId': '70341128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341132&x=1912',
		'title': '',
		'imageId': '70341132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341144&x=1912',
		'title': '',
		'imageId': '70341144',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341145&x=1912',
		'title': '',
		'imageId': '70341145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341126&x=1912',
		'title': '',
		'imageId': '70341126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341131&x=1912',
		'title': '',
		'imageId': '70341131',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341137&x=1912',
		'title': '',
		'imageId': '70341137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341140&x=1912',
		'title': '',
		'imageId': '70341140',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341141&x=1912',
		'title': '',
		'imageId': '70341141',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341136&x=1912',
		'title': '',
		'imageId': '70341136',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341143&x=1912',
		'title': '',
		'imageId': '70341143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341129&x=1912',
		'title': '',
		'imageId': '70341129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341127&x=1912',
		'title': '',
		'imageId': '70341127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017329&docid=70341138&x=1912',
		'title': '',
		'imageId': '70341138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017329';

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