function showdate() {
 	hari=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
 	bulan=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
 	wkt= new Date();
 	a=wkt.getDay();b=wkt.getDate();c=wkt.getMonth();d=wkt.getYear();
 	if(wkt.getHours()<10) 
 		e="0"+wkt.getHours();
	else
		e=wkt.getHours();
 	if(wkt.getMinutes()<10) 
		f="0"+wkt.getMinutes();
	else
		f=wkt.getMinutes();
 tgl=((b<10)?"0":"")+b;thn1=d+1900;thn2=d;
 if(navigator.appName=="Netscape")
   result=hari[a]+", "+tgl+" "+bulan[c]+" "+thn1;
 else
   result=hari[a]+", "+tgl+" "+bulan[c]+" "+thn2;
 document.write(result);  
 return true;    
} 

function popwin(kar,pos)
{
 baru=window.open(kar,"NewWindow",pos+",statusbars=no,menubars=no,scrollbars=yes,toolbars=no;resizables=no");
}


function posisi()
{
 if (window != top) 
 top.location.href = location.href;
 self.moveTo(25,25);
}

function visit(kode,kar,cateria)
{
 if(kode==0)
   ket="";
 else if(kode==1)
   ket="&tipe=ADD"+cateria;
 else if(kode==2) 
   ket="&tipe=EDIT"+cateria;
 else 
   ket=""+cateria;   
 
 location.href=kar+ket;
 return true;
}
