// sozlukten caldim sanirim


var id=0,bid=0,lo=null,curtitle=null,is="",bis="",se="",pr='<td onmousedown="md(this)" onmouseup="bn(this)" onmouseover="ov(this)" onmouseout="bn(this)" class="but" onclick=';

function ov(o)
{
  o.id="butOver";
}

function md(o)
{
  o.id="butDown";
}

function bn(o)
{
  o.id="";
}

function hr(o)
{
	if(o)o.click();
}


function pp()
{
	if(!inpp) { inpp=true;o=document.getElementById('a');bi=n<=0;n=bi?0:(maxs-1);ca(); }
}

function cevir(yazika,a,b)
{
  var o=document.getElementsByName(yazika)[0]; // denyo firefox'a workaround
  if(document.selection && !window.opera)
  {
	  var rg=document.selection.createRange();
	  if(rg.parentElement()==o) {
		  rg.text = a+rg.text+b;
		  rg.select();
		} else alert("ayar vermek istedigin yeri secseydin hic olmazsa !");
  }
  else if(o.textLength||window.opera)
  {
  	var s = o.value;
  	o.value = s.substring(0,o.selectionStart)+a+s.substring(o.selectionStart,o.selectionEnd)+b+s.substring(o.selectionEnd,o.textLength);
  } else o.value += a+b;
  o.focus();
  return true;
}

function dbln4(e,i) {
  var k,c;
  if(window.event){k=e.keyCode;c=e.ctrlKey;}else{k=e.which;c=e.ctrlKey;}
  if(c&&(k==10||k==13))document.getElementById(i).submit(); 
}
function dab()
{
  var c = document.getElementsByTagName("input");
  for(var i=0;i<c.length;i++)if(c[i].type=="submit"||c[i].type=="button")c[i].disabled=true;
}
