browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if ( (browserName == "Netscape" && browserVer >= 3) || (browserName == "Microsoft Internet Explorer" && browserVer >= 4)) 
   compat = "true";
      else compat = "false";

function jumpBox(list) {
   if (compat == "true") {
      location.href = list.options[list.selectedIndex].value;
   }
}

function back() {
   if (compat == "true") {
      history.go(-1)
   }
}

function mOvr(src,clrOver) {
   if (!src.contains(event.fromElement)) {
      src.style.cursor = 'hand'; src.bgColor = clrOver;
   }
}

function mOut(src,clrIn) {
   if (!src.contains(event.toElement)) {
      src.style.cursor = 'default';
      src.bgColor = clrIn;
   }
}

function mClk(src) {
   if(event.srcElement.tagName=='TD') {
      src.children.tags('A')[0].click();
   }
}

function tanggal() {
	var Days = new Array("Minggu","Senen","Selasa","Rabu","Kamis","Jumat","Sabtu");
	var Months = new Array("Januari","Pebruari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember");
	var TheDate = new Date();
	var TheWeekDay = TheDate.getDay();
	var Day = Days[TheWeekDay];
		Day += ", ";
    var TheMonthDay = TheDate.getDate();
        if (TheMonthDay < 10) TheMonthDay = "0" + TheMonthDay;
		TheMonthDay += " ";
	var TheMonth = TheDate.getMonth();
	var Month = Months[TheMonth];
		Month += " ";
	var TheYear = TheDate.getYear();
	if (TheYear < 1000) TheYear += 1900;

	var D = "";
	D += Day+TheMonthDay+Month+TheYear;
	document.write(D);
}

function NewWindow(mypage, myname, w, h, scroll) {
   var winl = (screen.width - w) / 2;
   var wint = (screen.height - h) / 2;
   winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
   win = window.open(mypage, myname, winprops)
   if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

