// items
	function showitem(itid)
		{
		document.getElementById(itid).style.display='block';
		}
	function closeitem(itcid)
		{
		document.getElementById(itcid).style.display='none';
		}


//subnavi
	var cback=-250;
	var tback;
	var subnavi;
	var timer_is_on_back=0;

	function timedCountback()
		{
		if(cback<=0)
			{
			document.getElementById(pid).style.top=cback+"px";
			cback = cback+25;
			tback=setTimeout('timedCountback()',20);
			}

		}

	function doTimerback(bid, navp)
		{
		document.getElementById(navp).style.background="#3b5e78";
		pid = bid;
		if (!timer_is_on_back)
			{
			 timer_is_on_back=1;
			 timedCountback();
			}
		}	
		
	function closesub(cid, nav2)
		{
		window.clearTimeout(tback);
		document.getElementById(cid).style.top="-250px";
		document.getElementById(nav2).style.background="none";
		cback=-250;
		timer_is_on_back=0;
		}
		
	function showsub(zid, nav3)	
		{
		document.getElementById(nav3).style.background="#3b5e78";
		document.getElementById(zid).style.top="0px";
		}	


// clear
	function doClear(theText) 
		{
		if(theText.value == theText.defaultValue) 
			{
			theText.value = ""
			}
		}
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-21450548-3']);
		_gaq.push(['_trackPageview']);

		(function() {
			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
		})();
