﻿function ids(i){return document.getElementById(i)}

function bOut(i,y) {
	i.id=y;
}

function bOver(i,y) {
	i.id=y;
}

function bDown(i,y) {
	i.id=y;
}
function miniAjax(url,yaz) {
   var ht = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject("MSXML2.XMLHTTP.3.0");
   ht.open("POST", url, true);
   ht.setRequestHeader("Content-Type", "text/html; charset=utf-8"); 
   ht.onreadystatechange = function(){
      if (ht.readyState == 4 && ht.status == 200) {
         ids(yaz).innerHTML = ht.responseText;
      }
   }
   ht.send('yukleniyor...');
}

function mPop(s,w,h,x,y,rsz,scl){
  if(!w)w=320;if(!h)h=200;if(!rsz)rsz='yes';if(!scl)scl='yes';if(!x)x=(screen.width-w)/3;if(!y)y=(screen.height-h)/2;
  ac = window.open(s,"_blank","resizable="+rsz+",status=yes,scrollbars="+scl+",top="+x+",left="+y+",width="+w+",height="+h);
}
