var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846669&x=444',
		'title': '',
		'imageId': '69846669',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846662&x=444',
		'title': '',
		'imageId': '69846662',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846672&x=444',
		'title': '',
		'imageId': '69846672',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846668&x=444',
		'title': '',
		'imageId': '69846668',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846671&x=444',
		'title': '',
		'imageId': '69846671',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846666&x=444',
		'title': '',
		'imageId': '69846666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846663&x=444',
		'title': '',
		'imageId': '69846663',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846664&x=444',
		'title': '',
		'imageId': '69846664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846670&x=444',
		'title': '',
		'imageId': '69846670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846667&x=444',
		'title': '',
		'imageId': '69846667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005315&docid=69846665&x=444',
		'title': '',
		'imageId': '69846665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005315';

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