Javascript is allowed for paid accounts in banners only. Data were stripped!
function do_initial_refresh(){
// Create object
chatRefresh = setInterval('do_refresh()','5000');
do_refresh();
}
function requestReady_channel1(){
if(httpReq1){
if(httpReq1.readyState == 4){
if(httpReq1.status == 200){
document.getElementById('debug').innerHTML = httpReq1.responseText.replace(/
// Handle the Profile and Action boxes
var userInfo = new Array();
userInfo['username'] = "";
userInfo['usergroup'] = "";
userInfo['status'] = "";
userInfo['action1'] = "";
userInfo['action2'] = "";
userInfo['action3'] = "";
userInfo['action4'] = "";
userInfo['action5'] = "";
userInfo['label1'] = "";
userInfo['label2'] = "";
userInfo['label3'] = "";
userInfo['label4'] = "";
userInfo['label5'] = "";
var activeTab = 1;
var filledBlocks = 0;
function clearTheWay(){
document.getElementById('ap1').innerHTML = ;
document.getElementById('ap2').innerHTML = 'Ikelema....';
document.getElementById('ap3').innerHTML = ;
document.getElementById('ap4').innerHTML = ;
document.getElementById('ap5').innerHTML = ;
document.getElementById('ap6').innerHTML = ;
userInfo['username'] = "";
openActionBox();
}
// Actually opens the profile tab
function openActionBox(){
document.getElementById('pro').className='uc_header_selected';
document.getElementById('act').className='uc_header_text';
activeTab = 1;
filledBlocks = 6;
if(userInfo['username'] != ""){
document.getElementById('ap1').innerHTML = userInfo['username'];
document.getElementById('ap2').innerHTML = userInfo['usergroup'];
document.getElementById('ap3').innerHTML = userInfo['status'];
document.getElementById('ap4').innerHTML = 'Pilnas profilis';
document.getElementById('ap5').innerHTML = 'Privatus chatas';
document.getElementById('ap6').innerHTML = 'Siusti zinute';
document.getElementById('ap1').style.fontWeight = 'bold';
document.getElementById('ap3').style.fontStyle = 'italic';
}
}
// Actually opens the Action tab
function openProfileBox(){
document.getElementById('pro').className='uc_header_text';
document.getElementById('act').className='uc_header_selected';
activeTab = 2;
filledBlocks = 1;
while(filledBlocks filledBlocks)
return;
if(over)
obj.className = "uc_item_over";
else
obj.className = "uc_item";
}
function apa1(){
if(activeTab != 1 && userInfo['action1'] != "")
window.open('./index.php?act=usr_action&action='+userInfo['action1']+'&user='+userInfo['username']+'&room=kyborgas','UsrAction','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=300,height=300');
}
function apa2(){
if(activeTab != 1 && userInfo['action2'] != "")
window.open('./index.php?act=usr_action&action='+userInfo['action2']+'&user='+userInfo['username']+'&room=kyborgas','UsrAction','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=300,height=300');
}
function apa3(){
if(activeTab != 1 && userInfo['action3'] != "")
window.open('./index.php?act=usr_action&action='+userInfo['action3']+'&user='+userInfo['username']+'&room=kyborgas','UsrAction','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=300,height=300');
}
function apa4(){
if(activeTab == 1 && userInfo['username'] != "")
window.open('./index.php?act=view_profile&user='+userInfo['username'],'Profile','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=550,height=450');
else if(activeTab == 2 && userInfo['action4'] != "")
window.open('./index.php?act=usr_action&action='+userInfo['action4']+'&user='+userInfo['username']+'&room=kyborgas','UsrAction','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=300,height=300');
}
function apa5(){
if(activeTab == 1 && userInfo['username'] != "")
window.open('./index.php?act=pm&send_to='+userInfo['username'],'Pm'+userInfo['username'],'location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=550,height=450');
else if(activeTab == 2 && userInfo['action5'] != "")
window.open('./index.php?act=usr_action&action='+userInfo['action5']+'&user='+userInfo['username']+'&room=kyborgas','UsrAction','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=300,height=300');
}
function apa6(){
if(activeTab != 2 && userInfo['username'] != "")
window.open('./index.php?act=userpanel&cp_page=msgcenter&to='+userInfo['username'],'Mail','location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes,width=550,height=450');
}