var d=document;
var bkr=true;
function $(v){return(d.getElementById(v));}
function $s(v){return($(v).style);}

function sw(o){$s(o).display='block';}
function hd(o){$s(o).display='none';}
function tgl(o){$s(o).display=($s(o).display=='block')?'none':'block';}

function vv(o){$s(o).visibility='visible';}
function vh(o){$s(o).visibility='hidden';}
function tglv(o){$s(o).visibility=($s(o).visibility=='visible')?'hidden':'visible';}

function $t(o,t){$(o).innerHTML=t;}
function $v(o){return $(o).value;}
function of(tv,obj){if(obj.value==tv)obj.value='';}
function ob(tv,obj){if(obj.value=='')obj.value=tv;}

function h(rw){rw.style.backgroundColor='#FFC';}
function r(rw){rw.style.backgroundColor='';}

function w(u,s,w,h){window.open(u,s,'width='+w+',height='+h+',scrollbars=1');return false;}
function vE(e){return e.match(/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/);}

//≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡	A	J	A	X	≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
function taqim(n){AjxGet("/taqim.php","n="+n,ShowResault,"vt");return false;}
function AjxGet(url,parameters,processReq,rdi)
{
	AjxObj.onreadystatechange=processReq;
	AjxObj.open('GET',url+"?"+parameters+"&cachebust="+new Date().getTime(),true);
	AjxObj.send(null);
}
function create_ajax_object()
{
	var httprequest=false;
	if(window.XMLHttpRequest){httprequest=new XMLHttpRequest();if(httprequest.overrideMimeType)httprequest.overrideMimeType('text/xml')}
	else if(window.ActiveXObject){try{httprequest=new ActiveXObject("Msxml2.XMLHTTP");}catch (e){try{httprequest=new ActiveXObject("Microsoft.XMLHTTP");}catch (e){}}}
	return httprequest
}
var AjxObj=create_ajax_object();
