function showsubmenu(sid)
{
whichEl = eval("submenu200" + sid);
if (whichEl.style.display == "none")
{
eval("submenu200" + sid + ".style.display=\"\";");
}
else
{
eval("submenu200" + sid + ".style.display=\"none\";");
}
try
  {
whichE2 = eval("submenu300" + sid);
if (whichE2.style.display == "none")
{eval("submenu300" + sid + ".style.display=\"\";");
}else{eval("submenu300" + sid + ".style.display=\"none\";");}
  }catch(err){}
}
function newPlay(winname)
{playname =  window.open(winname,'play','top=100,left=100,width=650,height=500,resizable=1,scrollbars=0,status=no,toolbar=no,location=no,menu=no');
	if(playname && playname.open && !playname.closed)
		playname.focus();
}
function newPlay2(winname,w,h)
{playname =  window.open(winname,'play','top=100,left=100,width='+w+',height='+h+',resizable=0,scrollbars=0,status=no,toolbar=no,location=no,menu=no');
	if(playname && playname.open && !playname.closed)
		playname.focus();
}
function Tover(obj)
{
obj.style.filter = "progid:DXImageTransform.Microsoft.Gradient(startColorStr= '#ffffff' , endColorStr= '#3366CC' , gradientType= '0' );";
}
function Tout(obj)
{
obj.style.filter = null;
}
function chframe()
{
try 
{
document.all["frame_content"].style.height=frame_content.document.body.scrollHeight;} 
catch(e){}
}
function tabit(id){
var tobj;
var tobj1;
var url;
if(id==0){
tobj = document.getElementById("tab01");
tobj1 = document.getElementById("tab02");
url="public/cz_search.htm";
}else{
tobj = document.getElementById("tab02");
tobj1 = document.getElementById("tab01");
url="public/cs_search.htm";
}
tobj.background = "images/menuOff.gif";
tobj1.background = "images/menuOver.gif";
tobj.className="abc";
tobj1.className="";
document.frames.frame_content.location= url;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function showimage(){
var i=document.form1.face.options[document.form1.face.selectedIndex].value;
document.images.face1.src='img/e'+i+'.gif';
document.images.face2.src='img/m'+i+'.gif';}
function showimage2(){
var i=document.form1.face.options[document.form1.face.selectedIndex].value;
document.images.face1.src='face/'+i+'.gif';}