url=self.location.toString();iev=0;latt=0;ascrll=1;
ajx_stts=1;ajx_uson=0;ajx_ccde='';ajx_tupd=1;

if(typeof window.external!='object'&&typeof XMLHttpRequest!='object'&&typeof XMLHttpRequest!='function'&&url.indexOf('=browser')==-1){window.location='info.php?hmmwhy=browser'}

if(typeof window.external=='object' && typeof document.all=='object'){
iev=navigator.userAgent;iev=iev.split('MSIE');iev=parseInt(iev[1]);if(iev<7){
document.write('<link rel="stylesheet" type="text/css" href="'+skin_dir+'/msie.css" />');}}

flsh1='<object data="'+skin_dir+'/sounds/sound_message.swf" type="application/x-shockwave-flash" width="1" height="1" style="visibility:hidden"><param name="movie" value="'+skin_dir+'/sounds/sound_message.swf" /><param name="menu" value="false" /><param name="quality" value="high" /></object>';
flsh2='<object data="'+skin_dir+'/sounds/sound_online.swf" type="application/x-shockwave-flash" width="1" height="1" style="visibility:hidden"><param name="movie" value="'+skin_dir+'/sounds/sound_online.swf" /><param name="menu" value="false" /><param name="quality" value="high" /></object>';
flsh3='<object data="'+skin_dir+'/sounds/sound_private.swf" type="application/x-shockwave-flash" width="1" height="1" style="visibility:hidden"><param name="movie" value="'+skin_dir+'/sounds/sound_private.swf" /><param name="menu" value="false" /><param name="quality" value="high" /></object>';

/* --- */

function set_ie6size(){
z=document.body.clientHeight
if(typeof window.external=='object' && typeof document.all=='object' && iev<7 && url.indexOf('blab.php')!=-1){
h=z-ie1rs;eeB.style.height=h+'px'
h=z-ie2rs;eeH.style.height=h+'px'
}}

/* --- */

function go(w){a=/&amp;/g;w=w.replace(a,'&');window.location=w;return false}
function ad(w){eeL.value=eeL.value+ ' '+w+' ';fc();}
function rn(){r=Math.round(99999999*Math.random());return r}
function fc(){eeL.focus()}
function op(m,n){if(typeof window.external=='object' && typeof document.all=='object'){m.style.filter='alpha(opacity='+n*10+')';}else{m.style.opacity=n/10;}return false}
function q1(){for(i=0;i<smiles.length;i++){document.writeln(' <a href="info.php?hmmwhy=link" onclick="ad(\''+smiles[i]+'\');return false"><img class="e" src="'+skin_dir+'/smilies/'+sfiles[i]+'" alt="'+smiles[i]+'" title="'+smiles[i]+'" onmouseover="return op(this,5)" onmouseout="return op(this,10)" /></a> ')}}
function q2(){for(i=0;i<colors.length;i++){document.writeln('<img class="r" src="'+skin_dir+'/images/trans.png" onclick="set_color(this.style.backgroundColor)" style="background-color:#'+colors[i]+'" alt="" />')}}

/* --- */

function check_log(w){
f=document.forms.fms;ok=1;a=f.blogin_name;b=f.blogin_pass
if(typeof f.turnum=='object'){
c=f.turnum;d=parseInt(c.value);d=d.toString()
if(d.length!=5){c.value='';c.focus();ok=0}}
if(b.value.length<3){b.value='';b.focus();ok=0}
if(a.value.length<3){a.value='';a.focus();ok=0}
if(ok==1){return true}else{
document.getElementById('emms').innerHTML=w
return false}}

/* --- */

function check_reg(w){
f=document.forms.fms;ok=1;a=f.breg_name
b=f.breg_pass;c=f.breg_cass;g=f.mail
if(typeof f.turnum=='object'){
d=f.turnum;e=parseInt(d.value);e=e.toString()
if(e.length!=5){d.value='';d.focus();ok=0}}
if(g.value.length<7||g.value.indexOf('@')==-1||g.value.indexOf('.')==-1){
g.value='';g.focus();ok=0}
if(b.value.length<3){b.value='';b.focus();ok=0}
if(b.value!=c.value){b.value='';c.value='';b.focus();ok=0}
if(a.value.length<3){a.value='';a.focus();ok=0}
if(ok==1){return true}else{
document.getElementById('emms').innerHTML=w
return false}}

/* --- */

function check_ava(){
s=document.forms.fms.breg_name.value
if(s.length>2){
http_chav=http_obj();
per=/%/g;s=s.replace(per,'%25');
amp=/&/g;s=s.replace(amp,'%26');
pl=/\+/g;s=s.replace(pl,'%2B');
s='q='+s
http_chav.open('post','isavail.php');
http_chav.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
http_chav.onreadystatechange=ava_ans;http_chav.send(s);
}}

/* --- */

function ava_ans(){
if(http_chav.readyState==4){
response=http_chav.responseText.toString()
ee=document.getElementById('avls')
if(response.length>1){
ee.style.display='block';ee.innerHTML=response}
else{ee.style.display='none';ee.innerHTML=''}
}}

/* --- */

function check_pro(){
f=document.forms.fms;ok=1;
a=f.oass;b=f.pass;c=f.cass;d=f.mail
if(d.value.length<7||d.value.indexOf('@')==-1||d.value.indexOf('.')==-1){
f.reset();ok=0}
if(a.value.length>0||b.value.length>0||c.value.length>0){
if((b.value!=c.value)||a.value.length<3||b.value.length<3||a.value==b.value){
a.value='';b.value='';c.value='';a.focus();ok=0}}
if(ok==1){return true}else{return false}}

/* --- */

function check_ver(w){
f=document.forms.fms;ok=1;a=f.vcode
if(typeof f.turnum=='object'){
d=f.turnum;e=parseInt(d.value);e=e.toString()
if(e.length!=5){d.value='';d.focus();ok=0}}
if(a.value.length!=8){a.value='';a.focus();ok=0}
if(ok==1){return true}else{
document.getElementById('emms').innerHTML=w
return false}}

/* --- */

function check_fps(w){
f=document.forms.fms;ok=1;g=f.frgt_mail
if(typeof f.turnum=='object'){
d=f.turnum;e=parseInt(d.value);e=e.toString()
if(e.length!=5){d.value='';d.focus();ok=0}}
if(g.value.length<7||g.value.indexOf('@')==-1||g.value.indexOf('.')==-1){
g.value='';g.focus();ok=0}
if(ok==1){return true}else{
document.getElementById('emms').innerHTML=w
return false}}

/* --- */

function http_obj(){
if(typeof window.external=='object' && typeof document.all=='object'){
r=new ActiveXObject("Microsoft.XMLHTTP")}
else{r=new XMLHttpRequest()}return r}

/* --- */

function reset_some(){
eeD.style.display='none'
eeE.style.display='none'
eeF.style.display='none'
eeJ.style.display='none'
eeK.style.display='none'
}

/* --- */

function reset_all(){
elements();reset_some();
lock1=0;lock2=0;
txt='';ajx_line='';ajx_last=0;ajx_toid=0;ajx_room=0;
eeA.innerHTML='';
eeB.innerHTML='';
document.getElementById('reqt').innerHTML='';
document.getElementById('inpt').style.visibility='hidden'

eeB.style.display='none'
eeC.style.display='none'
eeI.style.display='none'

if(typeof room_tout=='number'){clearTimeout(room_tout)}
if(typeof chat_tout=='number'){clearTimeout(chat_tout)}
}

/* --- */

function set_post(){
if(lock1==0){
if(eeL.value.length>0){ajx_line=eeL.value;eeL.value='';
stlB=stlB.toString();stlI=stlI.toString()
stlU=stlU.toString();stlC=stlC.toString()
ajx_lbiu=stlB+stlI+stlU;ajx_lclr=stlC

if(ajx_toid==0){fc()}
if(typeof chat_tout=='number'){clearTimeout(chat_tout)}
chat();}}}

/* --- */

function set_ppost(){
if(lock1==0){
if(eeL.value.length>0){ajx_line=eeL.value;eeL.value='';
stlB=stlB.toString();stlI=stlI.toString()
stlU=stlU.toString();stlC=stlC.toString()
ajx_lbiu=stlB+stlI+stlU;ajx_lclr=stlC;fc()
if(typeof chat_tout=='number'){clearTimeout(chat_tout)}
pchat();}}}

/* --- */

function set_private(){

if(lock1==0){
if(eeM.value.length>0){
mpt=eeL.value;
ajx_toid=tmp;
eeL.value=eeM.value;eeM.value='';eeM.focus()
set_post();eeL.value=mpt;ajx_toid=0}}}

/* --- */

function set_color(w){
eeL.style.color=w;
eeM.style.color=w;
reset_some();stlC=w;fc()}


/* --- */

function set_sound(q,r){
mpt=eeL.value;
ajx_toid=ajx_user;
ajx_sndd=q;
eeL.value=r
set_post();ajx_toid=0;eeL.value=mpt;
eeJ.style.display='none';fc()}

/* --- */

function set_topic(){
if(ajx_room>0 && eeO.value.length>1){
mpt=eeL.value;
eeL.value='[:TOPIC:]'+eeO.value
eeO.value='';
set_post();eeL.value=mpt;
eeK.style.display='none';fc()}}

/* --- */

function show_colors(){
if(eeE.style.display!='block'){
reset_some();eeE.style.display='block'}
else{reset_some();fc()}}

/* --- */

function show_sound(){
if(eeJ.style.display!='block'){
reset_some();eeJ.style.display='block'}
else{reset_some();fc()}}

/* --- */

function show_smilies(){
if(eeD.style.display!='block'){
reset_some();eeD.style.display='block';}
else{reset_some();fc()}}

/* --- */

function show_topic(){
if(eeK.style.display!='block'){
reset_some();eeK.style.display='block';eeO.focus()}
else{reset_some();fc()}}

/* --- */

function show_user(s,t,u){
ajx_ccde=u;reset_some()
s=parseInt(s)
if((s<100000000||s>500000000)&&(ajx_user<100000000||ajx_user>500000000)){eeN.style.display='inline'}else{eeN.style.display='none'}
if(ajx_user<100000000||ajx_user>500000000){eeR.style.display='inline'}else{eeR.style.display='none'}
if(s<100000000||s>500000000){eeG.innerHTML='';user(s);}
else{
if(u.length>0 && u!='00'){v='<img src="flags/'+u+'.png" style="float:right" class="k" alt="" />'}else{v=''}
eeG.innerHTML=' <div class="s">'+v+' <b>'+t+'</b><br /><br /></div>'}
eeF.style.display='block'
tmp=s;eeM.focus()}

/* --- */

function scrll_online(x){
if(x==1){eeC.scrollTop+=25;}else{eeC.scrollTop-=25;}}

/* --- */

function ban(){
id=parseInt(tmp)
if(!isNaN(id)){
uri='ban.php?ban='+id
bnw=window.open(uri,'bn_win','width=370,height=270,resizable=1');
if(typeof bnw=='object'){bnw.focus()}}}

function ign(){
id=parseInt(tmp)
if(!isNaN(id)&&id>1){
uri='ignore.php?ign='+id
bnw=window.open(uri,'ig_win','width=370,height=170,resizable=1');
if(typeof bnw=='object'){bnw.focus()}}}

/* --- */

function chat(){
if(ajx_room>0&&lock1==0){
r=rn();lock1=1;
if(set_trfr>0){ajx_tupd+=1;if(ajx_tupd==set_trfr){ajx_tupd=0;}}
if(typeof room_tout=='number'){clearTimeout(room_tout)}
if(ajx_toid<1 && ajx_line!='' && (ajx_stts==0 || ajx_stts==2)){change_stat(1)}
s='ajx_user='+ajx_user+'&ajx_name='+ajx_name+'&ajx_code='+ajx_code+'&ajx_tupd='+ajx_tupd+'&ajx_mycc='+ajx_mycc+'&ajx_uson='+ajx_uson+'&ajx_modd='+ajx_modd+'&ajx_stts='+ajx_stts+'&ajx_funn='+ajx_funn+'&ajx_sess='+ajx_sess+'&ajx_last='+ajx_last+'&ajx_room='+ajx_room+'&ajx_zone='+ajx_zone+'&ajx_tfrm='+ajx_tfrm+'&ajx_toid='+ajx_toid+'&rnd='+r;
http_chat.open('post','aroom.php');
if(ajx_line!=''){
per=/%/g;ajx_line=ajx_line.replace(per,'%25');
amp=/&/g;ajx_line=ajx_line.replace(amp,'%26');
pl=/\+/g;ajx_line=ajx_line.replace(pl,'%2B');
s=s+'&ajx_line='+ajx_line+'&ajx_lbiu='+ajx_lbiu+'&ajx_lclr='+ajx_lclr}ajx_line='';
http_chat.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
http_chat.onreadystatechange=chat_answer;
http_chat.send(s);tt1=new Date();latt=parseInt(tt1.getTime())
document.getElementById('wttin').src=skin_dir+'/images/waitt.gif';
document.getElementById('reqt').innerHTML=set_xmlr+' <a href="info.php?hmmwhy=link" onclick="self.location.reload();return false"><b>'+set_xmlq+'</b></a>'}}

/* --- */

function pchat(){
if(lock1==0){
r=rn();lock1=1;
if(typeof room_tout=='number'){clearTimeout(room_tout)}
s='ajx_user='+ajx_user+'&ajx_name='+ajx_name+'&ajx_code='+ajx_code+'&ajx_modd='+ajx_modd+'&ajx_funn='+ajx_funn+'&ajx_sess='+ajx_sess+'&ajx_last='+ajx_last+'&ajx_room='+ajx_room+'&ajx_zone='+ajx_zone+'&ajx_tfrm='+ajx_tfrm+'&ajx_toid='+ajx_toid+'&rnd='+r;
http_pchat.open('post','proom.php');
if(ajx_line!=''){
per=/%/g;ajx_line=ajx_line.replace(per,'%25');
amp=/&/g;ajx_line=ajx_line.replace(amp,'%26');
pl=/\+/g;ajx_line=ajx_line.replace(pl,'%2B');
s=s+'&ajx_line='+ajx_line+'&ajx_lbiu='+ajx_lbiu+'&ajx_lclr='+ajx_lclr}ajx_line='';
http_pchat.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
http_pchat.onreadystatechange=pchat_answer;
http_pchat.send(s);tt1=new Date();latt=parseInt(tt1.getTime())
document.getElementById('wttin').src=skin_dir+'/images/waitt.gif'
document.getElementById('reqt').innerHTML=set_xmlr+' <a href="info.php?hmmwhy=link" onclick="self.location.reload();return false"><b>'+set_xmlq+'</b></a>'}}

/* --- */

function user(q){q=parseInt(q)
if(q<100000000 || q>500000000){
if(ajx_room>0&&lock2==0){r=rn();lock2=1;q=parseInt(q)
s='ajx_user='+ajx_user+'&ajx_room='+ajx_room+'&ajx_name='+ajx_name+'&ajx_ccde='+ajx_ccde+'&ajx_code='+ajx_code+'&ajx_sess='+ajx_sess+'&ajx_unfo='+q+'&set_extn='+set_extn+'&rnd='+r;
http_user.open('post','user.php');
http_user.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
http_user.onreadystatechange=user_answer;http_user.send(s);}}}

/* --- */

function user_answer(){
if(http_user.readyState==4){
response=http_user.responseText.toString()
if(response.length<2){response=parseInt(response)}
if(!isNaN(response)&&response>0){
eeF.style.display='none';
}else{eeG.innerHTML=response}lock2=0;}}

/* --- */

function chat_answer(){

if(http_chat.readyState==4){
response=http_chat.responseText.toString();
if(response.length<2){response=parseInt(response)}
if(!isNaN(response)&&response>0){
chat_tout=setTimeout('chat()',set_refr*1000);
}else{
online='';
addlns='';

response=response.toString();
reply=response.split('^');

if(!reply[6]){
chat_tout=setTimeout('chat()',set_refr*1000);
}else{
slast=reply[0].toString()
lines=reply[1].toString()
users=reply[2].toString()
queri=reply[3].toString()
ttrun=reply[4].toString()
hshon=reply[5].toString()
topic=reply[6].toString()

if(topic.length>1 && eeP.innerHTML!=topic){eeP.innerHTML=topic
eeP.style.textDecoration='blink';eeP.style.fontWeight='bold'}
else{eeP.style.textDecoration='none';eeP.style.fontWeight='normal'}

ajx_last=slast

users=users.split('|')

stu_u1=status_o;stu_u2='o1'

user_count=parseInt(users.length);

if(user_count>10){eeQ.style.display='inline'}else{eeQ.style.display='none'}

for(i=0;i<user_count;i++){

aline=users[i].toString()
aline=aline.split('*');

if(parseInt(aline[1])==parseInt(ajx_user)){dtt=' &not;'}else{dtt=''}

switch(parseInt(aline[2])){
case 0: stu_u1=status_a;stu_u2='o2';break
case 2: stu_u1=status_i;stu_u2='o3';break
case 3: stu_u1=status_m;stu_u2='o4';break
default:stu_u1=status_o;stu_u2='o1';break}

online=online+'<a href="info.php?hmmwhy=link" title="'+set_usri+'" class="'+stu_u2+'" onclick="show_user('+aline[1]+',\''+aline[0]+'\',\''+aline[3]+'\');return false">' +stu_u1+aline[0]+'</a>'+dtt+'<br />'
}

lines=lines.split('|')
for(i=0;i<lines.length;i++){
aline=lines[i].toString()
aline=aline.split('*');
if(aline[3]){
tmm=aline[0].toString()
usr=aline[1].toString()
too=aline[2].toString()

undr='<b>';
if(tmm.length>1){tmm='<span class="s">['+tmm+']</span> '}

if(too.length>1){undr='<b style="text-decoration:underline">';
whsp=' [<b>&raquo;</b>] '+undr+too+'</b>'}else{whsp=''}

if(usr.length>1){usr=undr+usr+'</b>'+whsp+':'
usr='<span class="s">'+usr+'</span>'}
addlns=addlns+tmm+usr+' '+aline[3]+'<br />'
}}


if(addlns.length>9){
txt=decr_lines(txt);txt=txt+addlns
if(ajx_sndd==1){allow_flash=flsh1}else{allow_flash=''}
eeB.innerHTML=txt+allow_flash}
else{
if(ajx_sndd==1 && hshon!=ajx_uson){
allow_flash=flsh2;eeB.innerHTML=txt+allow_flash}}

ajx_uson=hshon
eeC.innerHTML=online
if(ascrll>0){eeB.scrollTop=999999;eeB.scrollTop=999999}

ttrn=parseFloat(ttrun);
tt2=new Date();lfll=(parseInt(tt2.getTime())-latt)/1000;

latt=lfll-ttrn;
lfll=lfll.toString()+'000';lfll=lfll.substr(0,5);
latt=latt.toString()+'000';latt=latt.substr(0,5);
ttrn=ttrn.toString()+'000';ttrn=ttrn.substr(0,5);

document.getElementById('reqt').innerHTML='('+set_latt+': '+latt+'s) (PHP/SQL '+set_exec+': '+ttrn+'s) ('+set_totl+': '+lfll+'s)';}
document.getElementById('wttin').src=skin_dir+'/images/waitt.png';
lock1=0;chat_tout=setTimeout('chat()',set_refr*1000);}}}

/* --- */

function pchat_answer(){

if(http_pchat.readyState==4){
response=http_pchat.responseText.toString();
if(response.length<2){response=parseInt(response)}
if(!isNaN(response)&&response>0){
chat_tout=setTimeout('pchat()',set_refr*1000);
}else{
addlns='';

response=response.toString();
reply=response.split('^');

if(!reply[3]){

chat_tout=setTimeout('pchat()',set_refr*1000);
}else{
slast=reply[0].toString()
lines=reply[1].toString()
queri=reply[2].toString()
ttrun=reply[3].toString()

ajx_last=slast

lines=lines.split('|')
for(i=0;i<lines.length;i++){
aline=lines[i].toString()
aline=aline.split('*');
if(aline[2]){
tmm=aline[0].toString()
usr=aline[1].toString()

if(tmm.length>1){tmm='<span class="s">['+tmm+']</span> '}
if(usr.length>1){usr='<span class="s"><b>'+usr+'</b>:</span> '}
addlns=addlns+tmm+usr+aline[2]+'<br />'
}}


if(addlns.length>9){
txt=decr_lines(txt);txt=txt+addlns
if(ajx_sndd==1){allow_flash=flsh3}else{allow_flash=''}
eeB.innerHTML=txt+allow_flash}

if(ascrll>0){eeB.scrollTop=999999;eeB.scrollTop=999999}

ttrn=parseFloat(ttrun);
tt2=new Date();lfll=(parseInt(tt2.getTime())-latt)/1000;

latt=lfll-ttrn;
lfll=lfll.toString()+'000';lfll=lfll.substr(0,5);
latt=latt.toString()+'000';latt=latt.substr(0,5);
ttrn=ttrn.toString()+'000';ttrn=ttrn.substr(0,5);

document.getElementById('reqt').innerHTML='('+set_latt+': '+latt+'s) (PHP/SQL '+set_exec+': '+ttrn+'s) ('+set_totl+': '+lfll+'s)';}
document.getElementById('wttin').src=skin_dir+'/images/waitt.png';
lock1=0;chat_tout=setTimeout('pchat()',set_refr*1000);}}}

/* --- */

function decr_lines(t){l=50;a=t.split('<br />')
if(a.length>l){b=a.length-l;t='';
for(i=b;i<a.length;i++){t=t+'<br />'+a[i]}
}return t}

/* --- */

function show_lat(a){
b=document.getElementById('reqt')
if(a==1){
if(typeof hdag=='number'){clearTimeout(hdag)}
b.style.visibility='visible'}
else{hdag=setTimeout("b.style.visibility='hidden'",9000)}
return false}

/* --- */

function invite_prchat(){
mpt=eeL.value;ajx_toid=tmp;
eeL.value='[pchat='+ajx_user+'z'+ajx_toid+']:'+set_prin
if(ajx_user!=tmp){set_post()}
eeL.value=mpt;ajx_toid=0
accept_prchat(tmp,ajx_user)}

/* --- */

function accept_prchat(x,y){
if(typeof ajx_user=='number'){
if(x==ajx_user){x=y}
x=x.toString();wfn='p'+x
url='private.php?uid='+x
pp=window.open(url,wfn,'width=520,height=400,top=5,left=5,resizable=0')
if(typeof pp=='object'){pp.focus()}
}}

/* --- */

function change_stat(a){
m='';
if(a==1 && ajx_modd==1){a=3}
switch(a){
case 0:ajx_stts=0;m=set_st2s
document.getElementById('mea').style.display='inline'
document.getElementById('meo').style.display='none'
document.getElementById('mei').style.display='none';break
case 1:ajx_stts=1;m=set_st1s
document.getElementById('mea').style.display='none'
document.getElementById('meo').style.display='inline'
document.getElementById('mei').style.display='none';break
case 2:ajx_stts=2;m=set_st3s
document.getElementById('mea').style.display='none'
document.getElementById('meo').style.display='none'
document.getElementById('mei').style.display='inline';break
case 3:ajx_stts=3;m=set_st1s
document.getElementById('mea').style.display='none'
document.getElementById('meo').style.display='inline'
document.getElementById('mei').style.display='none';break
default:ajx_stts=1;
document.getElementById('mea').style.display='none'
document.getElementById('meo').style.display='inline'
document.getElementById('mei').style.display='none';break
}

if(ajx_room>0 && m.length>0){
mpt=eeL.value;ajx_toid=ajx_user;eeL.value=m
set_post();ajx_toid=0;eeL.value=mpt;fc()}
}

/* --- */

function elements(){
eeA=document.getElementById('dvA')
eeB=document.getElementById('dvB')
eeC=document.getElementById('dvC')
eeD=document.getElementById('dvD')
eeE=document.getElementById('dvE')
eeF=document.getElementById('dvF')
eeG=document.getElementById('dvG')
eeH=document.getElementById('dvH')
eeI=document.getElementById('dvI')
eeJ=document.getElementById('dvJ')
eeK=document.getElementById('dvK')
eeL=document.getElementById('ln')
eeM=document.getElementById('pm')
eeN=document.getElementById('pc')
eeO=document.getElementById('tp')
eeP=document.getElementById('cp')
eeQ=document.getElementById('sl')
eeR=document.getElementById('ig')
}

function show_img(m){ims=window.open(m,'img_sch');if(typeof ims=='object'){ims.focus()}}

function cop_link(m){
if(typeof window.clipboardData=='object'){
window.clipboardData.setData('text',m)
alert('Clipboard: '+m)}else{prompt('',m)}}

function pas_link(m){
if(window.opener && typeof window.opener.eeL=='object'){
a=window.opener.eeL.value;a=a+m
window.opener.eeL.value=a;window.opener.focus()}}

function goto_dnd(m){window.open('download.php?q='+m)}

function go_bold(s){
if(s.className=='m'){
s.className='n';eeL.style.fontWeight='bold';eeM.style.fontWeight='bold';stlB=1}
else{s.className='m';eeL.style.fontWeight='normal';eeM.style.fontWeight='normal';stlB=0}
fc()}

function go_ital(s){
if(s.className=='m'){
s.className='n';eeL.style.fontStyle='italic';eeM.style.fontStyle='italic';stlI=1}
else{s.className='m';eeL.style.fontStyle='normal';eeM.style.fontStyle='normal';stlI=0}
fc()}

function go_unde(s){
if(s.className=='m'){
s.className='n';eeL.style.textDecoration='underline';eeM.style.textDecoration='underline';stlU=1}
else{s.className='m';eeL.style.textDecoration='none';eeM.style.textDecoration='none';stlU=0}
fc()}