The xat universe shows a live view of the public chat groups on xat. To visit a chat group click on its planet, you can navigate around by clicking on empty space and zoom in and out by clicking on the magnifying glass and moving it up and down. Click here for more.
';
ClearControl();
return 1;
}
function OpenGame(id)
{
if(id == 30006)
{
OpenSmilies();
return 1;
}
if(id == 30010)
{
OpenUniverse();
return 1;
}
divId=document.getElementById('media');
createCookie("LastApp", id, 31);
//var h = 486;
//if(id == 20006) h=600;
var h = 600;
divId.innerHTML='';
ClearControl();
return 1;
}
function ClearControl()
{
divId=document.getElementById('control');
divId.innerHTML='';
divId.style.display="none";
divId = document.getElementById('msgr');
if(divId)
divId.style.display="none";
createCookie("LastApp", 0, 1);
}
function SetControl()
{
ClearControl();
divId=document.getElementById('control');
divId.style.display="inline";
if(divId.innerHTML.length < 10)
divId.innerHTML='';
}
function OpenMedia(str, nocook) {
var divId=document.getElementById('media');
divId.innerHTML='
When Members put a YouTube, Veoh, Photobucket, MySpace Video or Yahoo Live link in the chat box the video thumbnail will appear on everyones player. Each person can click on the thumbnail to start the video.
To watch videos together, Moderators can press the broadcast button and the video will start on everyones player at the same time.
If you are watching a video and do not want to view broadcasts press the lock (key) button.
';
divId=document.getElementById('control');
var la = 10001;
if(nocook == 1)
la = readCookie("LastApp")
if(str==0)
SetControl();
else
{
ClearControl();
divId.innerHTML='';
divId.style.display="inline";
}
createCookie("LastApp", la, 31);
return 1;
}
function OpenByN(n) {
if(n == 10001) OpenMedia(0);
if(n == 10000) OpenDoodle();
if(n >= 20000) OpenGame(n);
return 1;
}
function GetEmbed(vid)
{
vid = clean(vid);
embed = '