var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869626&x=5836',
		'title': '',
		'imageId': '69869626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869625&x=5836',
		'title': '',
		'imageId': '69869625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869616&x=5836',
		'title': '',
		'imageId': '69869616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869617&x=5836',
		'title': '',
		'imageId': '69869617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869618&x=5836',
		'title': '',
		'imageId': '69869618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869619&x=5836',
		'title': '',
		'imageId': '69869619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869620&x=5836',
		'title': '',
		'imageId': '69869620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869621&x=5836',
		'title': '',
		'imageId': '69869621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869622&x=5836',
		'title': '',
		'imageId': '69869622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869623&x=5836',
		'title': '',
		'imageId': '69869623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006490&docid=69869624&x=5836',
		'title': '',
		'imageId': '69869624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006490';

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