// ************************************ // * * // * Copyright© 2003 Akiva Corp * // * * // * e.js: include this file in your * // * web page to load the java * // * applet * // * * // * If you need to edit this file * // * please use notepad. * // * All ChatSpace if statements must * // * left aligned. * // * * // ************************************ var param_file_name = "embedded.prm"; // Parameter file name (if no parameter passed in, then just use embedded.prm) if ("default.prm" != "default.prm") param_file_name = "default.prm"; var nickname = ""; // nickname name (if no nick passed in, then just use null) if ("Guest" != "Guest") nickname = "Guest"; var min = true; // Use the minimum-sized applet var isN6 = false; var using_custom_skin = false; // Using a custom skin? var hbTimerID = null; var hbTimerRunning = false; var blink_on = false; var use_unsigned = false; ie = true; if (navigator.appName == "Netscape") ie = false; is3xbrowser = false; if (navigator.appVersion.substring(0,1) < "4") is3xbrowser = true; isMac = false; if (navigator.appVersion.indexOf("Mac") != -1) isMac = true; // Netscape prior to version 6 on Mac can't handle the 1.1 Java event model. It is therefore treated as a 3x browser if (!ie && isMac && (navigator.appVersion.substring(0, 1) < "6")) is3xbrowser = true; if (navigator.appName == "Opera") is3xbrowser = true; // Opera browsers can't handle Java 1.1 libraries. if (!ie && navigator.appVersion.substring(0, 1) >= "5") // Netscape 6 should not use minimum client { isN6 = true; min = false; } var isloaded = false; if (use_unsigned) min = false; min = false; app = "c"; if (!use_unsigned) app += (min ? "m" : "f"); app += (use_unsigned ? "u" : "s"); if (using_custom_skin) app += "n"; app += "40300"; cl = "com.chatspace.v400300.Chat"; lib = "ChatSpace "; if (!min) lib += "Full "; lib += "Java Client 4.0.0.300"; if (using_custom_skin) lib += "N"; namespace = "av4"; if (min) namespace = "av4min"; if (using_custom_skin) namespace += "N"; if (is3xbrowser) { app = "cs3fu"; cl = "com.chatspace.Browser3x.Chat"; } var wth = 0; wth = parseInt("500"); if (wth == null) wth = 500; if (isNaN(wth)) wth = 500; if (wth == 0) wth = 500 var hth = 0; hth = parseInt("580"); if (hth == null) hth = 350; if (isNaN(hth)) hth = 350; if (hth == 0) hth = 350; document.write(""); document.write(""); document.write("
"); document.write("
") document.write("

\n"); else if (!ie && is3xbrowser) { // Netscape 3.x can't be resizable. hth=300; wth=500; } else document.write("height=\""+hth+"\" width=\""+wth+"\" name=cs>\n"); if (ie && !isMac) { if ( is3xbrowser || use_unsigned ) document.write("\n"); else { document.write(""); document.write(""); document.write(""); document.write(""); } } document.write("\n"); if (isN6) document.write("This application requires Java support\n"); else { document.write(" window.location = \"/hclient/frames/default.htm?nick=" + nickname + "&pass=&room=elchupacabrachat\";"); } document.write("\n"); document.write("
"); document.write("Powered by everywherechat.com"); document.write("

");