var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453968&x=4932',
		'title': '',
		'imageId': '70453968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453973&x=4932',
		'title': '',
		'imageId': '70453973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453961&x=4932',
		'title': '',
		'imageId': '70453961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453964&x=4932',
		'title': '',
		'imageId': '70453964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453975&x=4932',
		'title': '',
		'imageId': '70453975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453963&x=4932',
		'title': '',
		'imageId': '70453963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453962&x=4932',
		'title': '',
		'imageId': '70453962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453965&x=4932',
		'title': '',
		'imageId': '70453965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453969&x=4932',
		'title': '',
		'imageId': '70453969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453966&x=4932',
		'title': '',
		'imageId': '70453966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453977&x=4932',
		'title': '',
		'imageId': '70453977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453967&x=4932',
		'title': '',
		'imageId': '70453967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453978&x=4932',
		'title': '',
		'imageId': '70453978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453979&x=4932',
		'title': '',
		'imageId': '70453979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453971&x=4932',
		'title': '',
		'imageId': '70453971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453972&x=4932',
		'title': '',
		'imageId': '70453972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453976&x=4932',
		'title': '',
		'imageId': '70453976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029800&docid=70453970&x=4932',
		'title': '',
		'imageId': '70453970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029800';

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