<public:component>
<public:attach event="onclick" onevent="Onclick()" />
<script>
        this.style.cursor='pointer';
	var myid=this.id;
	var menuboard=myid+"menu";
        self.document.getElementById(menuboard).style.display='';
		self.document.getElementById(menuboard).style.display="none";

   function Onclick()
   {
        showtbe(this.toid);
   }

//function showtbe(tbnum){whichEl = eval("tbtype" + tbnum);if (whichEl.style.display == "none"){eval("tbtype" + tbnum + ".style.display=\"\";");}else{eval("tbtype" + tbnum + ".style.display=\"none\";");}}
function showtbe(){
	if(self.document.getElementById(menuboard).style.display=="none"){
		self.document.getElementById(menuboard).style.display="";
		this.style.backgroundImage='url(skin/freshblue/stylepic/t11.gif)';
	}
	else{
		self.document.getElementById(menuboard).style.display="none";
		this.style.backgroundImage='url(skin/freshblue/stylepic/t1.gif)';
	}
}
   
</script>
</public:component>
