var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234586&x=4714',
		'title': '',
		'imageId': '70234586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234587&x=4714',
		'title': '',
		'imageId': '70234587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234588&x=4714',
		'title': '',
		'imageId': '70234588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234589&x=4714',
		'title': '',
		'imageId': '70234589',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234590&x=4714',
		'title': '',
		'imageId': '70234590',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234591&x=4714',
		'title': '',
		'imageId': '70234591',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234592&x=4714',
		'title': '',
		'imageId': '70234592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234593&x=4714',
		'title': '',
		'imageId': '70234593',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234595&x=4714',
		'title': '',
		'imageId': '70234595',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234596&x=4714',
		'title': '',
		'imageId': '70234596',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234597&x=4714',
		'title': '',
		'imageId': '70234597',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234598&x=4714',
		'title': '',
		'imageId': '70234598',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234599&x=4714',
		'title': '',
		'imageId': '70234599',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234601&x=4714',
		'title': '',
		'imageId': '70234601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234602&x=4714',
		'title': '',
		'imageId': '70234602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234603&x=4714',
		'title': '',
		'imageId': '70234603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234604&x=4714',
		'title': '',
		'imageId': '70234604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234605&x=4714',
		'title': '',
		'imageId': '70234605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234606&x=4714',
		'title': '',
		'imageId': '70234606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234608&x=4714',
		'title': '',
		'imageId': '70234608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234609&x=4714',
		'title': '',
		'imageId': '70234609',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234610&x=4714',
		'title': '',
		'imageId': '70234610',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234611&x=4714',
		'title': '',
		'imageId': '70234611',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234612&x=4714',
		'title': '',
		'imageId': '70234612',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234614&x=4714',
		'title': '',
		'imageId': '70234614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234615&x=4714',
		'title': '',
		'imageId': '70234615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234616&x=4714',
		'title': '',
		'imageId': '70234616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234617&x=4714',
		'title': '',
		'imageId': '70234617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234618&x=4714',
		'title': '',
		'imageId': '70234618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4020021&docid=70234585&x=4714',
		'title': '',
		'imageId': '70234585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4020021';

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