×

Discussion Board

Results 1 to 5 of 5

Thread: Personal

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    Personal

    Function Description
    CDate Converts a valid date and time expression to the variant of subtype Date
    Date Returns the current system date
    DateAdd Returns a date to which a specified time interval has been added
    DateDiff Returns the number of intervals between two dates
    DatePart Returns the specified part of a given date
    DateSerial Returns the date for a specified year, month, and day
    DateValue Returns a date
    Day Returns a number that represents the day of the month (between 1 and 31, inclusive)
    FormatDateTime Returns an expression formatted as a date or time
    Hour Returns a number that represents the hour of the day (between 0 and 23, inclusive)
    IsDate Returns a Boolean value that indicates if the evaluated expression can be converted to a date
    Minute Returns a number that represents the minute of the hour (between 0 and 59, inclusive)
    Month Returns a number that represents the month of the year (between 1 and 12, inclusive)
    MonthName Returns the name of a specified month
    Now Returns the current system date and time
    Second Returns a number that represents the second of the minute (between 0 and 59, inclusive)
    Time Returns the current system time
    Timer Returns the number of seconds since 12:00 AM
    TimeSerial Returns the time for a specific hour, minute, and second
    TimeValue Returns a time
    Weekday Returns a number that represents the day of the week (between 1 and 7, inclusive)
    WeekdayName Returns the weekday name of a specified day of the week
    Year Returns a number that represents the year

    Conversion Functions Top
    Function Description
    Asc Converts the first letter in a string to ANSI code
    CBool Converts an expression to a variant of subtype Boolean
    CByte Converts an expression to a variant of subtype Byte
    CCur Converts an expression to a variant of subtype Currency
    CDate Converts a valid date and time expression to the variant of subtype Date
    CDbl Converts an expression to a variant of subtype Double
    Chr Converts the specified ANSI code to a character
    CInt Converts an expression to a variant of subtype Integer
    CLng Converts an expression to a variant of subtype Long
    CSng Converts an expression to a variant of subtype Single
    CStr Converts an expression to a variant of subtype String
    Hex Returns the hexadecimal value of a specified number
    Oct Returns the octal value of a specified number

    Format Functions Top
    Function Description
    FormatCurrency Returns an expression formatted as a currency value
    FormatDateTime Returns an expression formatted as a date or time
    FormatNumber Returns an expression formatted as a number
    FormatPercent Returns an expression formatted as a percentage

    Math Functions Top
    Function Description
    Abs Returns the absolute value of a specified number
    Atn Returns the arctangent of a specified number
    Cos Returns the cosine of a specified number (angle)
    Exp Returns e raised to a power
    Hex Returns the hexadecimal value of a specified number
    Int Returns the integer part of a specified number
    Fix Returns the integer part of a specified number
    Log Returns the natural logarithm of a specified number
    Oct Returns the octal value of a specified number
    Rnd Returns a random number less than 1 but greater or equal to 0
    Sgn Returns an integer that indicates the sign of a specified number
    Sin Returns the sine of a specified number (angle)
    Sqr Returns the square root of a specified number
    Tan Returns the tangent of a specified number (angle)

    Array Functions Top
    Function Description
    Array Returns a variant containing an array
    Filter Returns a zero-based array that contains a subset of a string array based on a filter criteria
    IsArray Returns a Boolean value that indicates whether a specified variable is an array
    Join Returns a string that consists of a number of substrings in an array
    LBound Returns the smallest subscript for the indicated dimension of an array
    Split Returns a zero-based, one-dimensional array that contains a specified number of substrings
    UBound Returns the largest subscript for the indicated dimension of an array

    String Functions Top
    Function Description
    InStr Returns the position of the first occurrence of one string within another. The search begins at the first character of the string
    InStrRev Returns the position of the first occurrence of one string within another. The search begins at the last character of the string
    LCase Converts a specified string to lowercase
    Left Returns a specified number of characters from the left side of a string
    Len Returns the number of characters in a string
    LTrim Removes spaces on the left side of a string
    RTrim Removes spaces on the right side of a string
    Trim Removes spaces on both the left and the right side of a string
    Mid Returns a specified number of characters from a string
    Replace Replaces a specified part of a string with another string a specified number of times
    Right Returns a specified number of characters from the right side of a string
    Space Returns a string that consists of a specified number of spaces
    StrComp Compares two strings and returns a value that represents the result of the comparison
    String Returns a string that contains a repeating character of a specified length
    StrReverse Reverses a string
    UCase Converts a specified string to uppercase

    Other Functions Top
    Function Description
    CreateObject Creates an object of a specified type
    Eval Evaluates an expression and returns the result
    GetLocale Returns the current locale ID
    GetObject Returns a reference to an automation object from a file
    GetRef Allows you to connect a VBScript procedure to a DHTML event on your pages
    InputBox Displays a dialog box, where the user can write some input and/or click on a button, and returns the contents
    IsEmpty Returns a Boolean value that indicates whether a specified variable has been initialized or not
    IsNull Returns a Boolean value that indicates whether a specified expression contains no valid data (Null)
    IsNumeric Returns a Boolean value that indicates whether a specified expression can be evaluated as a number
    IsObject Returns a Boolean value that indicates whether the specified expression is an automation object
    LoadPicture Returns a picture object. Available only on 32-bit platforms
    MsgBox Displays a message box, waits for the user to click a button, and returns a value that indicates which button the user clicked
    RGB Returns a number that represents an RGB color value
    Round Rounds a number
    ScriptEngine Returns the scripting language in use
    ScriptEngineBuildVersion Returns the build version number of the scripting engine in use
    ScriptEngineMajorVersion Returns the major version number of the scripting engine in use
    ScriptEngineMinorVersion Returns the minor version number of the scripting engine in use
    SetLocale Sets the locale ID and returns the previous locale ID
    TypeName Returns the subtype of a specified variable
    VarType Returns a value that indicates the subtype of a specified variable
    Last edited by JSmith77; 2003-06-24 at 14:00.

  2. #2
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    Answer

    It kicked me out? Said I had to sign in again?
    Last edited by JSmith77; 2003-10-13 at 21:11.

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    4
    <HTML>
    <HEAD>
    <TITLE>Smart Bar</TITLE>
    <STYLE>
    BODY{margin:0; background:#336699; font-family:verdana; font-size:70%;}
    .bar{background:#336699; width:100%; height:25px; border-top:1px solid #99CCFF; border-bottom:1px solid #000000;}
    .title{font-size:13pt; color:white; padding-left:10px;}
    a:link{text-decoration:none; color:white}
    a:visited{text-decoration:none; color:white}
    a:hover{text-decoration:none; color:yellow}
    </STYLE>

    <script>
    function mover(oID,startPos)
    {
    if (oID.style.left >= '300')
    {
    }
    else
    {
    oID.style.left = startPos+1 ;
    }
    }
    <!-- -->
    var beginposition=-200;
    var shouldmove=true;

    function mover()
    {
    if ( shouldmove==true )
    {
    beginposition++;
    if (beginposition>=38)
    {
    shouldmove=false;
    }
    }
    square.style.top=beginposition+'px';
    window.setTimeout("mover();", 0);
    }
    </script>

    <!------ Begin Decoder ---- -->
    <script Language=Javascript>
    function decode()
    {

    var ncode = eric.code.value.slice(0,6);
    var Ntexto = Eric.split(/\|%\|/);
    var nada = "no"
    var Snumber, ESplit1, ESplit2
    for(i=0;i<Ntexto.length;i++)
    {
    if (Ntexto[i].match(ncode))
    {
    ESplit1 = Ntexto[i].split(/\*/);
    if (ESplit1[2])
    {
    alert(ESplit1);
    nada = "yes";
    return;
    }
    else
    {
    if (ESplit1[1].match(/^=/))
    {
    oIframe.main.location.href = "http://StreamLine2/phones/phonesmain.asp?model" + ESplit1[1];
    nada = "yes";
    return;
    }
    if (ESplit1[1].match(/\//))
    {
    oIframe.main.location.href = "http://StreamLine2/phones" + ESplit1[1];
    nada = "yes";
    return;
    }
    if(!ESplit1[1].match(/\//))
    {
    alert(ESplit1[1]);
    oIframe.main.location.href = "http://streamline2/phones/tsphones.asp";
    nada = "yes";
    return;
    }
    }
    }
    ESplit1 = ""
    ESplit2 = ""
    }
    if (nada != "yes")
    {
    alert("IMEI Not Recognized");
    }
    }

    var oPopup = window.createPopup();
    function richDropDown(WType)
    {
    var part1 = "<DIV onmouseover=\"this.style.filter='progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=gold, EndColorStr=#FFFFFF)';\" onmouseout=\"this.style.filter='';\" STYLE=\"font-family:verdana; font-size:70%; height:20px; background:#e4e4e4; border:1px solid black; padding:2px; padding-left:20px; cursor:hand; filter:;\"><SPAN ONCLICK=\"";
    var part3 = "\">"
    var part4 = "</SPAN></DIV>"
    var bara = ""
    var eSF = "http://streamline2/forms/";
    var eS = "http://streamline2/";
    if (WType == "Type0")
    {
    var type = dropdowno0
    link = new Array
    link[0] = "CC Payment~" + eSF + "frmCreditCardPayment.asp~cc"
    link[1] = "Check Payment~" + eSF + "frmelectroniccheckpayment.asp~cp"
    link[2] = "Handset Upgrade~" + eS + "ts/handsetex/cihu_eligibility.asp~hu"
    link[3] = "Handset Exchange~" + eSF + "frmHandsetorderCustInfo.asp?OrderTypeVersionID=4~he"
    link[4] = "Lost & Stolen~" + eS + "policies/LostStolenPhoneProgPlaceOrder.asp~pu"
    link[5] = "Inter. Permission~" + eSF + "frmWorldPermission_grid.asp~pu"
    link[6] = "ABR Form~" + eSF + "frmbillingroutingslip.asp~pu"
    link[7] = "Bill Request~" + eSF + "frmbillrequest.asp~pu"
    }
    if (WType == "Type1")
    {
    var type = dropdowno1
    link = new Array
    link[0] = "All Forms Query~" + eS + "queries/qfrmqueryallforms.asp~pu"
    link[1] = "Mobile Number Query~" + eS + "markets/newMarketMSISDN.asp~pu"
    link[2] = "Price Plan Query~" + eS + "queries/qRatePlan.asp~pu"
    link[3] = "Prorate Query~" + eS + "billing/prorateCharge.shtml~pu"
    link[4] = "Store Locator~http://www.t-mobile.com/company/stores/~pu"
    link[5] = "Inter. Rates~" + eS + "ts/IntlDlRateBlkdCountries.shtml~pu"
    link[6] = "World Class Rates~" + eS + "ts/intlRoamRateOverview.asp~pu"
    link[7] = "LV Transfer Numbers~http://intranet/training/tmobile-las.html~pu"
    }
    if (WType == "Type2")
    {
    var type = dropdowno2
    link = new Array
    link[0] = "Memo Maker~MemoMaker1.0.htm~pu"
    link[1] = "TroubleShooting Flow~" + eS + "decisiontree/default.asp?CategoryType=1~pu"
    link[2] = "Text Message Tool~http://www.t-mobile.com/messaging/default.asp~pu"
    link[3] = "UPS Tracking~http://www.ups.com/tracking/tracking.html~pu"
    link[4] = "USPS Tracking~http://www.usps.com/shipping/trackandconfirm.htm~pu"
    link[5] = "Back Door \#~" + eS + "ts/glenayre.asp~pu"
    link[6] = "Service Center \#~" + eS + "tsg/sidekick/policies_updateServiceNum.asp~pu"
    link[7] = "Rerate Tool~rerate.htm~pu"
    }

    for (i=0; i < link.length; i++)
    {
    var eWhere = "";
    divi = link[i].split(/~/);
    if(divi[2]){eWhere = divi[2]}
    //bara += part1 + "parent.oIframe.main.location.href='" + divi[1] + "'" + part3 + divi[0] + part4;
    bara += part1 + "parent.go2Page('" + divi[1] + "', '" + eWhere + "')" + part3 + divi[0] + part4;
    }
    bara += "</div>";
    oPopup.document.body.innerHTML = bara;
    oPopup.show(0, 28, 150, (link.length * 20), type);
    }

    function go2Page(uno, dos)
    {
    parent.oIframe.main.location.href = uno
    parent.oIframe.leftnav.location.href = "MemoMaker2.0.htm?eType=" + dos

    //alert(dos);
    }
    </script>
    </head>

    <!------- Begin Bars ------->
    <body>

    <div class="bar">
    <table><tr><td>
    <script Language=Javascript>
    title = new Array(" Forms"," Queries", "Other")
    for (i=0; i < title.length; i++)
    {
    document.write("<div id=\"dropdowno" + i);
    document.write("\" style=\"background:#3366CC; padding:5px; border-bottom:1px solid black; border-top:1px solid #99CCFF; font:bold 10pt tahoma; color:white; width:100px\" ><span style=\"cursor:hand; margin-left:5px; margin-right:10px;\" onmouseover=\"richDropDown('Type" + i + "')\">");
    document.write(title[i] + "</span></div></td><td>");
    }
    </script>
    <form name=eric>
    <input type=text name=code onDblClick="this.value = window.clipboardData.getData('Text').toString(); decode()">
    <a href="SmartBar.htm" target=_blank>New</a></td></tr></table>
    </div>

    <script>
    Eric = "";
    Eric += "010120*=50&flashversion=6|%|"
    Eric += "010141*/blackberry/6210/phonesmain.asp?model=300|%|"
    Eric += "010165'010166'010184*=NOK3595|%|"
    Eric += "010193*=155|%|"
    Eric += "010194*=170|%|"
    Eric += "010210'010072'010081'010090'010122*=43|%|"
    Eric += "351252*=178|%|"
    Eric += "447967'010192'010096'010105'010125*=75|%|"
    Eric += "001018'010083*=60|%|"
    Eric += "001020'010077*=61|%|"
    Eric += "010002*Motorola Flare|%|"
    Eric += "010003*=10|%|"
    Eric += "010004*=2|%|"
    Eric += "010005*Nortel 1911|%|"
    Eric += "010006*Motorola Spirit 1500|%|"
    Eric += "010008'010007*=23|%|"
    Eric += "010009*=1|%|"
    Eric += "010010'010015'010032*=4|%|"
    Eric += "010012'010016'010033*=5|%|"
    Eric += "010014'010031*=3|%|"
    Eric += "010017*Motorola StarTac (OLD)|%|"
    Eric += "010021*=15|%|"
    Eric += "010022*=45|%|"
    Eric += "010023*=12|%|"
    Eric += "010024*Nokia 9000i|%|"
    Eric += "010025*Motorola StarTac|%|"
    Eric += "449268*Motorola A009|%|"
    Eric += "010027*=19|%|"
    Eric += "010028'010055*=11|%|"
    Eric += "010034*=8|%|"
    Eric += "010035*=9|%|"
    Eric += "010036'010048*=14|%|"
    Eric += "010037'010049'010054'010063*=17|%|"
    Eric += "010038*=25|%|"
    Eric += "010040*=16|%|"
    Eric += "010041'010059*=22|%|"
    Eric += "010042*=46|%|"
    Eric += "010046*=47|%|"
    Eric += "010051*=30|%|"
    Eric += "010052*=21|%|"
    Eric += "010060*=42|%|"
    Eric += "010061*=40|%|"
    Eric += "010064*=22|%|"
    Eric += "010070*=35|%|"
    Eric += "010073*=7|%|"
    Eric += "010086'010091'010109*=50|%|"
    Eric += "010087*=55|%|"
    Eric += "010101*=1100|%|"
    Eric += "010104*/motorola/v70/phonesmain.asp?model=148|%|"
    Eric += "010106*/sidekick/phonesmain.asp?model=160|%|"
    Eric += "010108*=76|%|"
    Eric += "010111*=145|%|"
    Eric += "010115*/blackberry/6710=161|%|"
    Eric += "010121'010167'010152*=476|%|"
    Eric += "010130*/motorola/t722i/phonesmain.asp?manufacturer=2&model=1200|%|"
    Eric += "010142'010170*=1212|%|"
    Eric += "010133*=147|%|"
    Eric += "350003*=36|%|"
    Eric += "350183*=49|%|"
    Eric += "350314*=80|%|"
    Eric += "350409*/ericsson/t68i/phonesmain.asp?model=146|%|"
    Eric += "350324*=78|%|"
    Eric += "350427*=149|%|"
    Eric += "350942*=77|%|"
    Eric += "350947*=147|%|"
    Eric += "351102*=88|%|"
    Eric += "351766'449276*=79|%|"
    Eric += "449277*/motorola/v60/phonesmain.asp?model=65|%|"
    Eric += "449278*=48|%|"
    Eric += "457003*=20|%|"
    Eric += "500117*=52|%|"
    Eric += "500119*=81|%|"
    Eric += "520012*=21|%|"
    Eric += "520247*=41|%|"
    Eric += "520248*=37|%|"
    Eric += "448954*Motorola L7089, P7382, or P7389|%|"
    Eric += "449176*Motorola L7089, P7382, or P7389|%|"
    </script>
    <iframe id="oIframe" src="http://StreamLine2" Width="100%" height=100%></iframe>
    </body>
    </html>
    Last edited by JSmith77; 2003-10-01 at 13:58.

  4. #4
    Registered User
    Join Date
    Apr 2003
    Posts
    4

    Answer2

    <HTML>
    <Title>Memo Maker 1.0</title>
    <SCRIPT language=Javascript1.2>
    var what2do = unescape(location.search.substring(1)).split(/=/)[1]
    etData = window.clipboardData.getData('Text').toString();

    eForm5 = new Array(
    new Array('called , after verifying account properly I transfered the call to ', '2', 'size=1', 'Wireless Data|Smart Access|Retentions|Activations|Financial Services|Tech Support', ''),
    new Array(' talked to ', '1', 'size=10', '', '')
    )
    eForm6 = new Array(
    new Array('called to restore line from Lost/Stolen and also update ', '2', 'size=1', 'SIM information.|SIM & IMEI information.', '')
    )


    function buildMe(Num)
    {
    tmobile.E9x.value = "";
    if(Num == '0'){return false;}
    myForm1.innerHTML = ""; myForm2.innerHTML = "";
    var e = 1;
    cForm = new Array
    cForm[1] = ""; cForm[2] = "";

    for (i = 0; i < eval("eForm" + Num + ".length"); i++)
    {
    cForm[e] = cForm[e] + "<b><FONT size=2 face='Verdana, Arial, Helvetica, sans-serif'>";
    cForm[e] = cForm[e] + eval('eForm' + Num)[i][0];
    cForm[e] = cForm[e] + "</FONT></STRONG><INPUT type=hidden value=\"";
    cForm[e] = cForm[e] + eval('eForm' + Num)[i][0];
    cForm[e] = cForm[e] + "\" name=E" + i + "a>";
    if((eval('eForm' + Num)[i][1] == '1') || (eval('eForm' + Num)[i][1] == '3'))
    {
    cForm[e] = cForm[e] + "<INPUT ";
    cForm[e] = cForm[e] + eval('eForm' + Num)[i][2];
    cForm[e] = cForm[e] + " name=E" + i + "b onKeyUp=\"makeMe('" + Num + "', '0')\" onDblClick=\"this.value = window.clipboardData.getData('Text').toString()\">";
    }
    if(eval('eForm' + Num)[i][1] == '2')
    {
    cForm[e] = cForm[e] + "<SELECT onChange=\"makeMe('" + Num + "', E" + i + "b.value);\" ";
    cForm[e] = cForm[e] + eval('eForm' + Num)[i][2];
    cForm[e] = cForm[e] + " name=E" + i + "b><OPTION value=' '>Select</OPTION>";
    eChoices = eval('eForm' + Num)[i][3].split(/\|/);
    for (j = 0; j < eChoices.length; j++)
    {
    cForm[e] = cForm[e] + "<OPTION value='" + eChoices[j] +"'>" + eChoices[j] + "</OPTION>";
    }
    cForm[e] = cForm[e] + "</SELECT>";
    if(eval('eForm' + Num)[i][3].match(/accept/)){e = 2;}
    }
    }

    cForm[1] = cForm[1].replace(/\n/ig, '<br>');
    myForm1.innerHTML = cForm[1];
    //makeMe(Num, '0', etData)
    }

    function makeMe(Num, yes, etData)
    {
    eRest = "";
    //###
    if(yes == "declined")
    {
    myForm2.innerHTML = "<br>" + cForm[2];
    eRest = ""
    }
    //###
    if(yes == "0")
    {
    eRest = ""
    }
    //###
    if(yes == "accepted")
    {
    myForm2.innerHTML = "";
    eRest = " problem was resolved."
    }
    tmobile.E9x.value = "";
    var edigit1 = 0; edigit2 = 0; sg = ""; uss = "";
    for (i = 0; i < eval("eForm" + Num + ".length"); i++)
    {
    if(eval('eForm' + Num)[i][1] == '3')
    {
    if(eval("tmobile.E" + (i-2) + "b.value") > 0)
    {
    edigit1 = eval("tmobile.E" + (i-2) + "b.value");
    }
    if(eval("tmobile.E" + (i-1) + "b.value") > 0)
    {
    edigit2 = eval("tmobile.E" + (i-1) + "b.value");
    }
    //#####
    if(eval('eForm' + Num)[i][3] == "+")
    {
    uss = eval("eval(edigit1) + eval(edigit2)");
    }
    if(eval('eForm' + Num)[i][3] == "-")
    {
    uss = eval("eval(edigit1) - eval(edigit2)");
    }
    if(eval('eForm' + Num)[i][3] == "*")
    {
    uss = eval("eval(edigit1) * eval(edigit2)");
    }
    if(eval('eForm' + Num)[i][3] == "%")
    {
    uss = eval("eval(edigit1) * eval(edigit2) / 100");
    uss = eval("eval(edigit1) + uss");
    }
    eTemp = eval("tmobile.E" + i + "b");
    eTemp.value = uss;
    uss = ""; edigit1 = 0; edigit2 = 0;
    }
    tmobile.E9x.value = tmobile.E9x.value + eval("tmobile.E" + i + "a.value") + eval("tmobile.E" + i + "b.value");

    if(eval('eForm' + Num)[i][3] == "accepted|declined")
    {
    if(eval("tmobile.E" + i + "b.value") != "declined")
    {
    tmobile.E9x.value = tmobile.E9x.value + eRest;
    return (false);
    }
    }
    }
    tmobile.E9x.value = tmobile.E9x.value.replace(/<font color='lightgreen'>|<\/font>/ig, '');
    tmobile.E9x.value = tmobile.E9x.value.replace(/<br>/ig, '\n');

    }
    </SCRIPT>

    <BODY>
    <SELECT size=1 onChange="buildMe(this.selectedIndex); displayMe(this.value)">
    <OPTION>Select Memo Type</OPTION>
    <OPTION value="cc">CC Payment</OPTION>
    <OPTION value="cp">Check Payment</OPTION>
    <OPTION value="pu">PricePlan Upgrade</OPTION>
    <OPTION value="hu">Handset Upgrade</OPTION>
    <OPTION>Transfer</OPTION>
    <OPTION>Restore Lost/Stolen</OPTION>
    </SELECT>


    <table align=center><tr>
    <td valign="top" width=170>
    <FORM name=tmobile>
    <Div ID="myForm1"></Div>
    <Div ID="myForm2"></Div>
    <center><TEXTAREA name=E9x rows=10>
    </TEXTAREA><BR>
    <INPUT type=reset value='Reset'></center>
    </td>
    <td valign="top">


    <SCRIPT language=JavaScript1.2>
    Ecc = "<font color=red>Copy & Paste results here:</font><br><TEXTAREA name='allInfo'></TEXTAREA><br><input type=button value='CC Payment' onClick='ccMemo(); E9x.select();'>"
    Ecp = "<font color=red>Customer's Name:</font><br><input name='cName'><br><font color=red>Payment Amount:</font><br><input name='payment'><br><font color=red>Form#:</font><br><input name='formN'><br><input type=button value='Check Payment' onClick='cpMemo(); E9x.select();'>"
    Ehu = "<font color=red>Copy & Paste results here:</font><br><TEXTAREA name='allInfo'></TEXTAREA><br><input type=button value='Handset Upgrade' onClick='huMemo(); E9x.select();'>"
    Epu = "<font color=red>Customer's Name:</font><br><input name='cName'><br><font color=red>New Plan:</font><br><input name='nPlan'><br><font color=red>Date starts:</font><br><input name='dStarts'><br><input type=button value='PricePlan Upgrade' onClick='puMemo(); E9x.select();'>"
    Ehe = "<font color=red>Copy & Paste results here:</font><br><TEXTAREA name='allInfo'></TEXTAREA><br><input type=button value='Handset Exchange' onClick='heMemo(); E9x.select();'>"


    function displayMe(what2do)
    {
    if(what2do)
    {
    myForm1.innerHTML = eval("E" + what2do);
    }
    }
    displayMe(what2do);

    //======
    function ccMemo()
    {
    ccOne = "called to make a CC Payment on account for "
    ccTwo = " form# "
    custN = tmobile.allInfo.value.split("Name: ")[1].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    custP = tmobile.allInfo.value.match(/\$\d\d*\.\d\d\d*/)
    formN = tmobile.allInfo.value.match(/\d\d\d\d\d\d\d\d/)
    tmobile.E9x.value = custN + ccOne + custP + ccTwo + formN
    }
    //======
    function cpMemo()
    {
    ccOne = " called to make an E-Check Payment on account for $"
    ccTwo = " form# "
    custN = tmobile.cName.value
    custP = tmobile.payment.value
    formN = tmobile.formN.value
    tmobile.E9x.value = custN + ccOne + custP + ccTwo + formN
    }
    //======
    function huMemo()
    {
    eCont = new Array(
    new Array(' wanted to purchase a new Handset through our Upgrade Program , I advised of contract extension.\nI spoke with '),
    new Array('(authorized person who placed the order)\n=================================\nIn order to receive ('),
    new Array('), we ask you to agree to complete 12 months of active service, beginning today, and that, if you or T-Mobile cancel service before the end of 12 months, you will pay an Early Termination Fee of $200. The Terms and Conditions of Service that you previously accepted, including mandatory arbitration, continue to apply. Do you agree to 12 months of service, the Early Termination Fee, the Terms and Conditions of Service and mandatory arbitration? CUSTOMER AGREED.\n=================================\nform# ')
    )
    custFN = tmobile.allInfo.value.split("ame: ")[1].split("Last ")[0].replace(/[\f\n\r\t\v]/g, '')
    custLN = tmobile.allInfo.value.split("ame: ")[2].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    custN = custFN + custLN
    custP = tmobile.allInfo.value.split("t Type: ")[1].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    formN = tmobile.allInfo.value.split("Form # ")[1].match(/\d+/)[0].replace(/[\f\n\r\t\v]/g, '')
    tmobile.E9x.value = custN + eCont[0][0] + custN + eCont[1][0] + custP + eCont[2][0] + formN
    }
    //======
    function puMemo()
    {
    eCont = new Array(
    new Array(' wanted to upgrade plan to one of our Promotional Plans, I advised of contract extension.\nI spoke with '),
    new Array('(authorized person who placed the order)\n=================================\nAgreed to verbal contract of ('),
    new Array('), including 12 months of active service and Early Termination Fee of $200 if service is cancelled before that date. Disclosed feature differences between old and new rate plans. Advised new price plan begins on ('),
    new Array(')\n=================================')
    )

    custN = tmobile.cName.value
    custP = tmobile.nPlan.value
    dStarts = tmobile.dStarts.value
    tmobile.E9x.value = custN + eCont[0][0] + custN + eCont[1][0] + custP + eCont[2][0] + dStarts + eCont[3][0]
    }
    //======
    function heMemo()
    {
    eCont = new Array(
    new Array('called stating that current handset ('),
    new Array(') is having the following issues:\n'),
    new Array('\nAfter following troubleshooting flows & trying to troubleshoot the problem, I determined that the handset is defective and offered a handset exchange form# ')
    )

    custFN = tmobile.allInfo.value.split("ame: ")[1].split("Last ")[0].replace(/[\f\n\r\t\v]/g, '')
    custLN = tmobile.allInfo.value.split("ame: ")[2].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    custN = custFN + custLN
    custP = tmobile.allInfo.value.split("y Ordered: ")[1].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    eIssues = tmobile.allInfo.value.split("Description: ")[1].split("\n")[0].replace(/[\f\n\r\t\v]/g, '')
    if(eIssues.match(/Other/))
    {
    eIssues = tmobile.allInfo.value.split("Steps Taken")[1].split("Final")[0].replace(/[\n\f\n\r\t\v]|\s\s\s*/g, '')
    }
    formN = tmobile.allInfo.value.split("Form # ")[1].match(/\d+/)[0].replace(/[\f\n\r\t\v]/g, '')
    tmobile.E9x.value = custN + eCont[0][0] + custP + eCont[1][0] + eIssues + eCont[2][0] + formN
    }


    </SCRIPT>
    </td>
    </tr></TABLE>
    </FORM>
    </BODY></HTML>
    Last edited by JSmith77; 2003-10-01 at 13:50.

  5. #5
    Registered User
    Join Date
    Mar 2003
    Location
    51°11'4.78"N -|- 2°48'27.05"E (Belgium)
    Posts
    730
    Hi JSmith77,

    I have seen your impressive list of functions, are these functions available for Series 60 in C++ ? if so can you send me them ....

    thanks in advance for any reply,
    Dominique HUGO
    d.hugo@sage.be
    www.gosymbian.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •