// JavaScript Document


	


function prepareLinks() {
	var thumbs=document.getElementById('thumbH');
	thumbs.style.display='block';
	var links=document.getElementsByTagName('a');
	for (var i=0; i<links.length; i++) {
		if (links[i].className!='pix') continue;
		links[i].onclick=function () {
			this.blur();
			showHide(this);
			
		}
	}
}

function showHide(linkName) {
	//alert('showHide');
	var thumb=document.getElementById('thumbH');
	var thumbDisplay=thumb.style.display;
	//now change the link
	var text=linkName.firstChild.nodeValue;
	
	
	if (thumbDisplay=="block") {
		thumbDisplay="none";
		text="Show the pictures";
		linkName.firstChild.nodeValue=text;
	} else {
		text="Hide the pictures"
		thumbDisplay="block";
		linkName.firstChild.nodeValue=text;
	}
	thumb.style.display=thumbDisplay;
}

		

window.onload=prepareLinks;
