i ; i++) { if ((document.LiveFORM.elements[i].type.indexOf("text") != -1 ) || (document.LiveFORM.elements[i].type.indexOf("hidden") == 0) || (document.LiveFORM.elements[i].type.indexOf("password") == 0) ) { lvarname = document.LiveFORM.elements[i].name rvarname = document.LiveFORM.elements[i].name for (j=0; lf_map.length > j; j++) { var indexvar ; indexvar = lf_map[j].indexOf(document.LiveFORM.elements[i].name + "=") if ( indexvar == 0 ) { // found the map var now parse the string and find lvarname // and rvarname rvarname = lf_map[j].substring(lf_map[j].indexOf("=")+ 1) lvarname = lf_map[j].substring(0,lf_map[j].indexOf("=")) } } ebhnd.WriteKeyPair(rvarname, escape( eval('document.LiveFORM.' + lvarname + '.value ' ))) } } newwin.close(); return 0 } function ebFill() { var tempstr; var lvarname; var rvarname; if (BName == "Netscape") { if (check_plugin()== 0) ebhnd = newwin.document.ebCARD else { newwin.close(); return 1; } } else { ebhnd = newwin.document.ebCARD } for(i=0 ; document.LiveFORM.elements.length > i ; i++) { if ( ((document.LiveFORM.elements[i].type.indexOf("text") != -1 ) || (document.LiveFORM.elements[i].type.indexOf("password") == 0)) && (document.LiveFORM.elements[i].type.indexOf("hidden") == -1 ) ) { lvarname = document.LiveFORM.elements[i].name rvarname = document.LiveFORM.elements[i].name for (j=0; lf_map.length > j; j++) { var indexvar ; indexvar = lf_map[j].indexOf(document.LiveFORM.elements[i].name + "=") if ( indexvar == 0 ) { // found the map var now parse the string and find lvarname // and rvarname rvarname = lf_map[j].substring(lf_map[j].indexOf("=")+ 1) lvarname = lf_map[j].substring(0,lf_map[j].indexOf("=")) } } tempstr = unescape(ebhnd.ReadKeyValue(rvarname)) eval('document.LiveFORM.' + lvarname + '.value = tempstr' ) } } newwin.close(); // temporary for IE bug fixing return 0 } function write_info() { newwin.document.writeln ('' + '') newwin.document.writeln('ebCARDTM ' + 'helps you to automatically fill out') newwin.document.writeln ('any form that bears ebCARD logo. ') newwin.document.writeln ('Once you understand how ebCARD works, ') newwin.document.writeln ('you can create your complete profile') newwin.document.writeln (' by filling out this ' + 'form, once.') newwin.document.writeln ('') } function fill_form() { var Bver if (BName == "Netscape") { Bver = parseInt(navigator.appVersion); if (Bver < 4 ) { filler3() return } if (check_plugin() != 0) return ; } newwin = open("ebfill.htm", "FillForm", 'resizable=yes,toolbar=no,location=no,directories=no,status=no,' + 'menubar=no,scrollbars=no,copyhistory=yes,width=260,height=200'); newwin.opener = window return } function save_eb() { var Bver if (BName == "Netscape") Bver = parseInt(navigator.appVersion); if (Bver < 4 ) { newwin = open("http://liv00.Freedback.com/liveform/eb3whol.htm", "SaveEb", 'resizable=yes,toolbar=no,location=no,directories=no,status=no,' + 'menubar=yes,scrollbars=yes,copyhistory=yes,width=600,height=430') return } if (BName == "Netscape") if (check_plugin() != 0) return ; newwin = open("http://liv00.Freedback.com/liveform/ebsave.htm", "SaveForm", 'resizable=yes,toolbar=no,location=no,directories=no,status=no,' + 'menubar=no,scrollbars=no,copyhistory=yes,width=260,height=200'); return } function install_plugin() { inpluginwin = open("", "InstallPlugin", 'resizable=yes,toolbar=no,location=no,directories=no,status=no,' + 'menubar=yes,scrollbars=yes,copyhistory=yes,width=400,height=430'); inpluginwin.location.href = "http://liv00.Freedback.com/liveform/plugin.htm"; // inpluginwin.location.href = "plugin.htm"; } function check_plugin() { status = 0 // checkJava(navigator.preference("security.enable_java")) mimetype = navigator.mimeTypes["application/x-ebcard-plugin"] if (mimetype) { plugin = mimetype.enabledPlugin if (!plugin) { alert("Mime type configured but plugin was removed.\n" ) install_plugin(); status = 1; } } else { alert("ebCARD plugin not installed.\n" + "Initiating plugin download process") install_plugin(); status = 1 } return status } function onld() { } function okprocess(thisform) { } function cancelprocess(thisform) { } function help() { open("http://liv00.Freedback.com/liveform/eb4creat.htm", "ebhelpwin", "resizable=yes,scrollbars=yes,menubar=yes,width=400,height=360"); } ebsaveoper = new operation("ebSave", "Save ebCARD"); ebfilloper = new operation("ebFill", "Fill form"); // -->
Your phone number (with country, city, area codes):
Please let us know who you are. Musician Critic Music lover Comments