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
<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>
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] = "";
//======
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# ')
)