var zazajava;
var zazareg = new RegExp('/');
var zazareferrer = escape(document.referrer);
var zazawindow='';
var zazapagetitle=escape(document.title);
var srnd;
var zazasShortPath = escape(window.location.pathname);
var zazasPath=escape(this.location);
if (zazasShortPath=='/')
{
var zazasPage = escape(window.location.href);
}
else
{
var zazasPage = escape(zazasShortPath.substring(zazasShortPath.lastIndexOf('/') + 1));
}
if ( !(navigator.javaEnabled()) ) {
zazajava="No" ;
} else {
zazajava="Yes" ;
}
var zazarand_no = Math.random();
var zazasRes;
var zazasDepth;
if (window.screen) {
zazasRes=screen.width + 'x' + screen.height;
zazasDepth=screen.colorDepth;
}
var zazaflashversion = 0;
function ControlVersion()
{
var version;
var axo;
var e;
// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
}
if (!version)
{
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.
// default to the first public version
version = "WIN 6,0,21,0";
// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";
// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = 0;
}
}
return version;
}
zazaflashversion=ControlVersion();
var zazadetect = navigator.userAgent.toLowerCase();
var zazaOS,zazabrowser,zazaversion,zazathestring;
if (zazacheckIt('konqueror'))
{
zazabrowser = "Konqueror";
zazaOS = "Linux";
}
else if (zazacheckIt('firefox')) zazabrowser = "Firefox"
else if (zazacheckIt('safari')) zazabrowser = "Safari"
else if (zazacheckIt('omniweb')) zazabrowser = "OmniWeb"
else if (zazacheckIt('opera')) zazabrowser = "Opera"
else if (zazacheckIt('webtv')) zazabrowser = "WebTV";
else if (zazacheckIt('icab')) zazabrowser = "iCab"
else if (zazacheckIt('msie')) zazabrowser = "Internet Explorer"
else if (!zazacheckIt('compatible'))
{
zazabrowser = "Netscape Navigator"
zazaversion = zazadetect.charAt(8);
}
else zazabrowser = "Unknown";
if (!zazaversion) zazaversion = zazadetect.charAt(zazaplace + zazathestring.length);
function zazacheckIt(string)
{
zazaplace = zazadetect.indexOf(string) + 1;
zazathestring = string;
return zazaplace;
}
function WriteZaZaMessage(zazames,AutoInvite)
{
//https://
var url = "
"
//var url = "
"
if (AutoInvite==1)
{
if (zCustomInvitation==''){
document.getElementById("Zsleft").innerHTML = "
"+url;
}
else
{
document.getElementById("Zsleft").innerHTML = zazames+url;
}
}
else
{
if (zCustomInvitation==''){
document.getElementById("Zsleft").innerHTML = ""+url;
}
else
{
document.getElementById("Zsleft").innerHTML = zazames+url;
}
}
if (Zstepx==-2)
{
Zslide();
if (Zmutechime != '1')
{
if (zazacheckIt('msie'))
{
var body = document.getElementsByTagName("body");
var divE = document.createElement('bgsound');
divE.id = "ZaZaSound";
divE.style.position = "absolute";
divE.style.left = "0px";
divE.style.top = "0px";
divE.hidden = "true";
divE.src="https://www.zazachat.com/livechatclient/sounds/bell.wav";
divE.autostart="true";
divE.loop="0"
body[0].appendChild(divE);
setTimeout("document.getElementsByTagName('body')[0].removeChild(document.getElementById('ZaZaSound'))", 3000);
}
else
{
var body = document.getElementsByTagName("body");
var divE = document.createElement('embed');
divE.id = "zaBellSound";
divE.style.position = "absolute";
divE.style.left = "-100px";
divE.style.top = "-100px";
divE.style.width = "0";
divE.style.height = "0";
divE.visible = "false";
//divE.autostart="true";
divE.src="https://www.zazachat.com/livechatclient/sounds/bell.wav";
body[0].appendChild(divE);
setTimeout("document.getElementsByTagName('body')[0].removeChild(document.getElementById('zaBellSound'))", 3000);
}
}
}
//https://
//var url = 'http://zazachat.zazasoftware.com/LiveChatClient/jsutil/showninvitationmessage.aspx?ip=70.20.247.91&zazac=4950'
//var url = 'https://www.zazachat.com/LiveChatClient/jsutil/showninvitationmessage.aspx?ip=70.20.247.91&zazac=4950'
//var oImage = new Image;
//pausecomp(200);
//oImage.src = url;
//pausecomp(300);
}
function OpenZaZaChat()
{
var wleft = (screen.width - 580-32) / 2;
var wtop = (screen.height - 420-96) / 2;
//https://
window.open('http://zazachat.zazasoftware.com/livechatclient/livechatvisitor.aspx?zzwindow=' + zazawindow + '&zazac=' + 4950,'zazachat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
//window.open('https://www.zazachat.com/livechatclient/livechatvisitor.aspx?zzwindow=' + zazawindow + '&zazac=' + 4950,'zazachat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
if (typeof Zstepx != 'undefined')
{
if (Zstepx==2)
{
Zslide();
}
}
}
function Invitation()
{
var wleft = (screen.width - 580-32) / 2;
var wtop = (screen.height - 420-96) / 2;
//https://
window.open('http://zazachat.zazasoftware.com/livechatclient/livechat.aspx?fullname=Visitor&email=unknown_email@zazachat.com&zazames=zaza&zzwindow=' + zazawindow + '&zazac=' + 4950,'zazachat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
//window.open('https://www.zazachat.com/livechatclient/livechat.aspx?fullname=Visitor&email=unknown_email@zazachat.com&zazames=zaza&zzwindow=' + zazawindow + '&zazac=' + 4950,'zazachat','left=' + wleft + ',top=' + wtop + ',width=580,height=435,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,copyhistory=no,resizable=yes');
Zslide();
}
if (('153'!='') && ('35'!=''))
{
//https://
//document.write("
");
document.write("
");
}
else
{
//https://
//document.write("
");
document.write("
");
}
var zazaContainer=document.getElementById('zazacontainer');
if (zazaContainer)
{
zazaContainer.style.display='inline';
}