var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527193&x=1426',
		'title': '',
		'imageId': '70527193',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527185&x=1426',
		'title': '',
		'imageId': '70527185',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527189&x=1426',
		'title': '',
		'imageId': '70527189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527186&x=1426',
		'title': '',
		'imageId': '70527186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527188&x=1426',
		'title': '',
		'imageId': '70527188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527190&x=1426',
		'title': '',
		'imageId': '70527190',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527204&x=1426',
		'title': '',
		'imageId': '70527204',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527205&x=1426',
		'title': '',
		'imageId': '70527205',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527187&x=1426',
		'title': '',
		'imageId': '70527187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527206&x=1426',
		'title': '',
		'imageId': '70527206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4050748&docid=70527200&x=1426',
		'title': '',
		'imageId': '70527200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4050748';

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