	var tempo = null;
	function time(e) {
		tempo = setTimeout(function() {hide(e);}, 700);
	}

	function show(e) {
		clearTimeout(tempo);
		for (i=1; i<5; i++) {
			document.getElementById("hid" + i).style.display = 'none'; 
			}
		document.getElementById("hid"+e).style.display = 'block';
	}

	function hide(e) {
		document.getElementById("hid"+e).style.display = 'none';
	}
	

function writeMail() {
	GoFish=new Array();
	GoFish[0] = "%45%6d%61%69%6c%3a%20%3c%61%20%68%72%65%66%3d%22%6d%61%6";
	GoFish[1] = "9%6c%74%6f%3a%69%6e%66%6f%40%65%6c%6d%77%6f%6f%64%2e%63%6f%6d%";
	GoFish[2] = "2e%61%75%22%3e%69%6e%66%6f%40%65%6c%6d%77%6f%6f%6";
	GoFish[3] = "4%2e%63%6f%6d%2e%61%75%3c%2f%61%3e";
	OutString="";
	 for (j=0;j<GoFish.length;j++){
	 OutString+=GoFish[j];
	 }
	document.write(unescape(OutString));
}

function showDivMap(e) {
	document.getElementById('divMap'+e).style.display = 'block';
}

function fadeIn(e) {
		muurf = document.getElementById('divMap'+e);
		if(muurf.style.opacity != 0.9) {
			muurf.style.opacity = muurf.style.opacity + 0.1;
			tempo = setTimeout(function() {fadeIn(e);}, 100);
		}
		else {
			alert("zdzd");
			clearTimeout(tempo);
		}
	}

function hideDivMap() {
	for(i=1;i<7;i++) {
		document.getElementById('divMap'+i).style.display = 'none';
	}
}

function specialPage() {
	var URL = unescape(window.document.location);

	if (URL.indexOf("?") > -1) {
		var list1 = URL.split("?");
		//split at "?";
		var list2 = list1[1].split ("=");
		//split at "=";
		list2[0] = list2[1];
		//assignment
		var numDiv = list2[0];
		document.getElementById('special'+numDiv).style.display = 'block';
		document.getElementById('special0').style.display = 'block';
	}
}