.setTimeout(getMsg,talktime);
$(''load'').style.display=''none'';
$(''ppjoke_main'').style.display=''block'';
Event.observe(''ppjoke_sendbox'', ''keydown'', keyDownAll, false);
Field.select(''talk'');
new Draggable(''ppjoke_main'',{handle:''ppjoke_topbar''});
createFaceList();
GetCookie();
logined();
}
var ppjokeWs = {
letBack:function(){
$(''ppjoke_main'').style.left='''';
$(''ppjoke_main'').style.top='''';
$(''ppjoke_main'').style.zIndex='''';
$(''ppjoke_main'').style.width=''150px'';
$(''ppjoke_msgbox'').style.height=''200px'';
$(''ppjoke_Facediv'').style.height = ''100px'';
},
letBig:function(){
$(''ppjoke_main'').style.width = ''580px'';
$(''ppjoke_msgbox'').style.height = ''400px'';
$(''ppjoke_Facediv'').style.height = ''25px'';
}
}
function keyDownAll(event){
var e = event || window.event;
if(e.keyCode==13){sendMsg()}
}
function logined(){
function loginok(req){
if(req.responseText=="ok"){
$(''name'').value = cookiename;
$(''alogin'').style.display=''none'';
$(''ppjoke_alogout'').style.display=''inline'';
$(''name'').blur();
$(''name'').disabled = ''true'';
Field.select(''talk'');
}else{
}
}
if(cookiename){
var timestamps = new Date().getTime()+Math.random();
creatInfo(barinf_checkuser);
var sendAjax