var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560319&x=625',
		'title': '',
		'imageId': '69560319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560320&x=625',
		'title': '',
		'imageId': '69560320',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560321&x=625',
		'title': '',
		'imageId': '69560321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560322&x=625',
		'title': '',
		'imageId': '69560322',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560317&x=625',
		'title': '',
		'imageId': '69560317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560318&x=625',
		'title': '',
		'imageId': '69560318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560316&x=625',
		'title': '',
		'imageId': '69560316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560323&x=625',
		'title': '',
		'imageId': '69560323',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560326&x=625',
		'title': '',
		'imageId': '69560326',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560324&x=625',
		'title': '',
		'imageId': '69560324',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993199&docid=69560325&x=625',
		'title': '',
		'imageId': '69560325',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993199';

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