var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681608&x=117',
		'title': '',
		'imageId': '70681608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681626&x=117',
		'title': '',
		'imageId': '70681626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681628&x=117',
		'title': '',
		'imageId': '70681628',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681606&x=117',
		'title': '',
		'imageId': '70681606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681590&x=117',
		'title': '',
		'imageId': '70681590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681593&x=117',
		'title': '',
		'imageId': '70681593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681591&x=117',
		'title': '',
		'imageId': '70681591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681592&x=117',
		'title': '',
		'imageId': '70681592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681609&x=117',
		'title': '',
		'imageId': '70681609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681607&x=117',
		'title': '',
		'imageId': '70681607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681610&x=117',
		'title': '',
		'imageId': '70681610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681611&x=117',
		'title': '',
		'imageId': '70681611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681623&x=117',
		'title': '',
		'imageId': '70681623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681624&x=117',
		'title': '',
		'imageId': '70681624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681627&x=117',
		'title': '',
		'imageId': '70681627',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681588&x=117',
		'title': '',
		'imageId': '70681588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4038346&docid=70681589&x=117',
		'title': '',
		'imageId': '70681589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4038346';

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