function goTo(){
	//var go = document.fmPay.action;
	var myVal = document.fmPay.paytype.value;
	switch(myVal){
		case "1" :
			document.fmPay.action = "index.php?fuseaction=detik.confirm";
		break;
		case "2" :
			document.fmPay.action = "index.php?fuseaction=detik.gv";
		break;
		case "3" :
			document.fmPay.action = "index.php?fuseaction=detik.ivas";
		break;
		case "4" :
			document.fmPay.action = "https://www.detikportal.com/index.php?fuseaction=detik.cc";
		break;
		default :
			document.fmPay.action = "index.php?fuseaction=detik.confirm";
		break;
	}
	document.fmPay.submit();
} 
function call_zodiak(nilai)
{
	if (nilai=="1")
	{ nilai = document.frm.zodiak[document.frm.zodiak.selectedIndex].value;
	  hor = 'pwk';
	}
	if (nilai=="2")
	{
		nilai = document.frm.zodiakjawa[document.frm.zodiakjawa.selectedIndex].value;
		hor = 'jawa';
	}
	if (nilai=="3")
	{nilai = document.frm.shio2[document.frm.shio2.selectedIndex].value;}
	if (nilai!="")
	{
	window.location.href= "http://www.detikportal.com/index.php?fuseaction=detik.readzodiak&horoskop="+hor+"&zodiak="+nilai;
	}				
}
function getJadwalByFilm(fid){
  if(fid!=""){
    window.location.href="http://www.detikportal.com/index.php?fuseaction=detik.bioskop&type=1&id="+fid;
  }
}
function getJadwalByBioskop(bid){
  if(bid!=""){
    window.location.href="http://www.detikportal.com/index.php?fuseaction=detik.bioskop&type=2&id="+bid;
  }
}
