//----------------------------------------------------------------------------------------
function getObj(name)
{
  if (document.getElementById)
  {
	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
	this.obj = document.layers[name];
	this.style = document.layers[name];
  }
}
//----------------------------------------------------------------------------------------
 	function FiltreGizle(DivID){
 				 document.getElementById(DivID).style.display= 'none' ;
              }
//----------------------------------------------------------------------------------------
	function PencereAc(gelenID) {
	  		var pencere=window.open(gelenID,'Pencere','left=200,top=150,scrollbars=0,resizable=no,toolbars=no,menubars=no,addressbar=no,status=yes,width=450,height=600');
        pencere.focus();
}
//----------------------------------------------------------------------------------------
    function PencereAc2(gelenID, genislik, uzunluk) {
	  		var pencere=window.open(gelenID,'Pencere','left=200,top=150,scrollbars=0,resizable=no,toolbars=no,menubars=no,addressbar=no,status=yes,width='+genislik+',height='+uzunluk);
        pencere.focus();
}
//----------------------------------------------------------------------------------------
	function PencereAcKilitli(gelenID, genislik, uzunluk) {
	  		window.showModalDialog(gelenID,'Pencere','left=200,top=150,scrollbars=0,resizable=no,toolbars=no,menubars=no,addressbar=no,status=yes,dialogWidth='+genislik+',dialogHeight='+uzunluk);
}
//----------------------------------------------------------------------------------------
	function Kapat() {
	window.close();
}
//----------------------------------------------------------------------------------------
	function FormTemizle(){
  }
//----------------------------------------------------------------------------------------
function toogleRowSelection(th)
{	
	var rt = th.parentNode.parentNode.parentNode;
	if (th.checked){
		rt.className = "selectedRow";				
	}
	else
	{
		rt.className = "";
	}
}

