
function tmt_findObj(n){ //v3.0A
var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
}else{x=document.getElementById(n)}return x;
}

function MM_showHideLayers() { //v3.0A
var i,p,v,obj,args=MM_showHideLayers.arguments;if(document.getElementById){
for (i=0; i<(args.length-2); i+=3){ obj=tmt_findObj(args[i]);v=args[i+2];
v=(v=='show')?'visible':(v='hide')?'hidden':v;
if(obj)obj.style.visibility=v;}} else{
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; }}
}

var tid=null;

function hidecreate() {
         MM_showHideLayers('createtop','','hide');
         MM_showHideLayers('create','','hide');
}

function hideemaillist() {
         MM_showHideLayers('emaillisttop','','hide');
         MM_showHideLayers('emaillist','','hide');
}


function doin() {

     if (tid != null) {window.clearTimeout(tid);}
 	 MM_swapImgRestore();
}

function doout() {
     if (tid != null) {window.clearTimeout(tid);}
	 MM_swapImgRestore();
     tid=window.setTimeout('hidecreate()',1);
}

function doout2() {
     if (tid != null) {window.clearTimeout(tid);}
	 MM_swapImgRestore();
     tid=window.setTimeout('hideemaillist()',1);
}