// JavaScript Document

	function yukle() {
	var elem = document.getElementById('sform_preloader');
	elem.style.display = 'none';
	elem.style.visibility = 'hidden';
	elem = document.getElementById('sform_container');
	elem.style.visibility='visible';
	elem.style.display = 'block';	}
	
	function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL() { //v3.0
  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 borderit(which,color){
if (document.all||document.getElementById){
which.style.borderColor=color }}

function rn( x ){ 
    if ( x.style ) { x.style.backgroundColor = ('#98fb98' == x.style.backgroundColor)? 
	'' : '#98fb98';  } }
	
function kapat()
{	if (confirm("Sistemden Çıkmak İstediğinize Emin misiniz?"))
		top.location = "cikis.php";
	return false; }

function cikis() {
        var iX = window.document.body.offsetWidth + window.event.clientX ;
	      var iY = window.event.clientY ;
	      if (iX <= 30 && iY < 0 ) 
	      { window.open('cikis1.php',null, "height=100,width=50,status=no,toolbar=no,menubar=no,location=no");  } 	}
		  
var select = false;
function sec() {
	if (select == false) {
		abc=document.detay["silme[]"];
		if (abc.length > 1) {
		for (i=0; i<abc.length; i++) {
		abc[i].checked=true;
		}	} else {	abc.checked = true;
		}	select = true;	} else {
		abc=document.detay["silme[]"];
		if (abc.length > 1) {
		for (i=0; i<abc.length; i++) {
		abc[i].checked=false;
		}} else {	abc.checked = false;
		}select = false;}}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}