<!--

function LoadFungsi(){
	start_slider()
	start_slider_middle()
	goforit()
/*	var loading = document.getElementById("COOL_REDIRECT")
	if(loading != ""){
		coolRedirect('index.php')
		//alert(loading);
	}
*/
}

function MM_jumpMenu(targ,selObj,restore){ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_goToURL() { 
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features+",left=200,top=100,scrollbars=yes");
}


function getPageScrollX() {
  if (isMinNS4)  return(window.pageXOffset);
  if (isMinIE4)  return(document.body.scrollLeft);
  return(-1);
}

function getPageScrollY() {
  if (isMinNS4) return(window.pageYOffset);
  if (isMinIE4) return(document.body.scrollTop);
  return(-1);
}

  var Status=".:: Selamat datang di website resmi Niftrasoft ::.";
  var place=1;
  function scrollIn() {
    window.status=Status.substring(0, place);
    if (place >= Status.length) {
      place=1;
      window.setTimeout("scrollOut()",400); 
    } else {
      place++;
      window.setTimeout("scrollIn()",100); 
    } 
  }
  function scrollOut() {
    window.status=Status.substring(place, Status.length);
    if (place >= Status.length) {
      place=1;
      window.setTimeout("scrollIn()", 200);
    } else {
      place++;
      window.setTimeout("scrollOut()", 100);
    }
  }
 
  //fungsi untuk memabakan textbox otomatis
  function insRow(RowNum,ColNum,Text,tbl,Name)
  {
	var x=document.getElementById(tbl).insertRow(RowNum);
	for(i=0;i<ColNum;i++){
		var y=x.insertCell(i);
	}
	y.innerHTML="<input name=\"Dokumen[]\" type=\"file\"  value=\"1\"class=\"normal-input\" onFocus=\"this.style.background='#F7F7F7'\" onBlur=\"this.style.background='#FFFFFF'\" size=\"40\" > <input type=\"button\" name=\"Button\" value=\"Hapus\" onClick=\"deleteRow(this,'"+tbl+"')\">  ";
		

  }
 //fungsi untuk menghapus row 
  function deleteRow(r,tbl)
  {
	var i=r.parentNode.parentNode.rowIndex;
	document.getElementById(tbl).deleteRow(i);
  }

 //-->



/*<!--
function MM_jumpMenu(targ,selObj,restore){ 
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_goToURL() { 
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features+",left=200,top=100,scrollbars=yes");
}


function getPageScrollX() {
  if (isMinNS4)  return(window.pageXOffset);
  if (isMinIE4)  return(document.body.scrollLeft);
  return(-1);
}

function getPageScrollY() {
  if (isMinNS4) return(window.pageYOffset);
  if (isMinIE4) return(document.body.scrollTop);
  return(-1);
}

  var Status=".:: Selamat datang di website resmi Niftrasoft ::.";
  var place=1;
  function scrollIn() {
    window.status=Status.substring(0, place);
    if (place >= Status.length) {
      place=1;
      window.setTimeout("scrollOut()",400); 
    } else {
      place++;
      window.setTimeout("scrollIn()",100); 
    } 
  }
  function scrollOut() {
    window.status=Status.substring(place, Status.length);
    if (place >= Status.length) {
      place=1;
      window.setTimeout("scrollIn()", 200);
    } else {
      place++;
      window.setTimeout("scrollOut()", 100);
    }
  }
 
    //fungsi untuk memabakan textbox otomatis
  function insRow(RowNum,ColNum,Text,tbl,Name)
  {
	var x=document.getElementById(tbl).insertRow(RowNum);
	for(i=0;i<ColNum;i++){
		var y=x.insertCell(i);
	}
	y.innerHTML="<input name='TesDokumen[]' type='text' class='normal-input' onFocus='this.style.background=\"#F7F7F7\"'  onBlur='this.style.background=\"#FFFFFF\"' size='20' maxlength='50'> <input type=\"button\" name=\"Button\" value=\"Hapus\" onClick=\"deleteRow(this,'"+tbl+"')\">  ";
  }
 //fungsi untuk menghapus row 
  function deleteRow(r,tbl)
  {
	var i=r.parentNode.parentNode.rowIndex;
	document.getElementById(tbl).deleteRow(i);
  }*/