%@LANGUAGE="JAVASCRIPT"%>
<%
// set this to 1 to use development version of quote engine, which
// just fakes it since the "real" engine is a bitch to get working.
var DevQuoteEngine = 0
var QuoteEngine = "/public_html/cqs32.exe"
// allow set via the URL
if (Request.QueryString("devquote") == 1)
DevQuoteEngine = 1
if (DevQuoteEngine == 1)
QuoteEngine = "public_html/cqs32.html"
// set this for other pages.
Session("DevQuoteEngine") = DevQuoteEngine
// *** Insert Record: construct a sql insert statement and execute it
Session("lead_type") = "non-aff";
var MM_editAction = Request.ServerVariables("URL") + '?' + Request.QueryString;
if (String(Request("MM_insert")) != "undefined")
{
if (Session("beenherebefore") == "yes")
{
var realname = Request.Form("realname");
var email = Request.Form("email");
var UserAddress = Request.Form("UserAddress");
var UserPhone = Request.Form("UserPhone");
var UserCity = Request.Form("UserCity");
var Zip = Request.Form("Zip");
var State = Request.Form("State");
var BirthMonth = Request.Form("BirthMonth");
var Birthday = Request.Form("Birthday");
var BirthYear = Request.Form("BirthYear");
var Sex = Request.Form("Sex");
var Smoker = Request.Form("Smoker");
var Health = Request.Form("Health");
var FaceAmount = Request.Form("FaceAmount");
var Catagory = Request.Form("Catagory");
var source = Request.Form("source");
location = QuoteEngine + "?realname=" + realname + "&email=" + email + "&UserAddress=" + UserAddress + "&UserPhone=" + UserPhone + "&UserCity=" + UserCity + "&Zip=" + Zip + "&State=" + State + "&BirthMonth=" + BirthMonth + "&BirthYear=" + BirthYear + "&Birthday=" + Birthday + "&Sex=" + Sex + "&Smoker=" + Smoker + "&Health=" + Health + "&FaceAmount=" + FaceAmount + "&Catagory=" + Catagory + "&source=" + source;
location2 = URLEscapeSpaces(location);
function URLEscapeSpaces(strIn)
{
var a = " "
var b = "%20"
var c = strIn
var i = c.indexOf(a);
var l = b.length;
while (i != -1)
{
c = c.substring(0,i) + b + c.substring(i + a.length,c.length);
i = c.indexOf(a,i);
}
return c;
}
Session("beenherebefore") = new String("yes");
// redirect with URL parameters
//if (MM_redirectPage == '') MM_redirectPage = Request.ServerVariables('URL');
//if (String(MM_redirectPage).indexOf('?') == -1) MM_redirectPage += '?' + Request.QueryString;
Response.Redirect(location2);
}
var highNum = Server.CreateObject("ADODB.Recordset");
highNum.ActiveConnection = "dsn=itech;uid=itech;pwd=falafel23;";
highNum.Source = "SELECT MAX(id) +1 AS hinum FROM dbo.Itech_data";
highNum.CursorType = 0;
highNum.CursorLocation = 2;
highNum.LockType = 3;
highNum.Open();
var highNum_numRows = 0;
var hinumval = highNum.Fields.Item("hinum").Value
Session("id") = hinumval;
var YY_tableName = "dbo.Itech_data";
var YY_fields = "SourceID,source_id,',none,'',merchID,merchant_id,',none,'',RecType,record_type,',none,'',productKey,product_key,',none,'',TransactID,transaction_id,',none,'',Quantity,quantity_of_product,none,none,NULL,Currency,currency_type,',none,'',MerchType,merchandise_type,',none,'',CustVisitNo,customer_visit_number,none,none,NULL,date,date,',none,'',webdate,webdate,',none,'',unitprice,unit_price,none,none,NULL";
var YY_redirectPage = "quote.html";
// create the insert sql statement
var YY_tableValues = "", YY_dbValues = "";
var YY_fieldsArray = YY_fields.split(",");
for (var i=0; i+4 < YY_fieldsArray.length; i+=5)
{
var formVal = String(Request.Form(YY_fieldsArray[i]));
var delim = (YY_fieldsArray[i+2] != "none") ? YY_fieldsArray[i+2] : "";
var altVal = (YY_fieldsArray[i+3] != "none") ? YY_fieldsArray[i+3] : "";
var emptyVal = (YY_fieldsArray[i+4] != "none") ? YY_fieldsArray[i+4] : "";
if (formVal == "" || formVal == "undefined")
{
formVal = emptyVal;
}
else
{
if (altVal != "")
formVal = altVal;
else if (delim == "'")
// escape quotes
formVal = "'" + formVal.replace(/'/g,"''") + "'";
else
formVal = delim + formVal + delim;
}
YY_tableValues += ((i != 0) ? "," : "") + YY_fieldsArray[i+1];
YY_dbValues += ((i != 0) ? "," : "") + formVal;
}
var YY_insertStr = 'insert into ' + YY_tableName + ' (id,' + YY_tableValues + ') values (' + hinumval + ',' + YY_dbValues + ')';
form_email = new String(Request.Form("email"));
Session("email") = form_email;
// finish the sql and execute it
var YY_insertCmd = Server.CreateObject("ADODB.Command");
YY_insertCmd.ActiveConnection = "dsn=ITech;uid=itech;pwd=falafel23;";
YY_insertCmd.CommandText = YY_insertStr;
YY_insertCmd.Execute();
var MM_tableName = "dbo.user_data";
var MM_fields = "realname,realname,',none,'',email,email,',none,'',salesperson,salesperson,',none,'',UserAddress,user_address,',none,'',UserCity,user_city,',none,'',conv_state,state,',none,'',Zip,zip,',none,'',BirthMonth,birth_month,',none,'',Birthday,birth_day,',none,'',BirthYear,birth_year,',none,'',Sex,gender,',none,'',Smoker,smoker,',none,'',Health,health,',none,'',FaceAmount,face_amount,',none,'',conv_term,category,',none,'',source,source,',none,'',hiddenField,SourceID,',none,'',date,quote_date,',none,'',status,status,',none,''";
var MM_redirectPage = "test.html";
//concatenate the phone strings for the dash formatting
var formatphone = String(Request.Form("phone_area")) + "-" + String(Request.Form("phone_pre")) + "-" + String(Request.Form("UserPhone"));
var formatevephone = String(Request.Form("eve_phone_area")) + "-" + String(Request.Form("eve_phone_pre")) + "-" + String(Request.Form("eve_UserPhone"));
//Response.Write(formatphone);
// create the insert sql statement
var MM_tableValues = "", MM_dbValues = "";
var MM_fieldsArray = MM_fields.split(",");
for (var i=0; i+4 < MM_fieldsArray.length; i+=5)
{
var formVal = String(Request.Form(MM_fieldsArray[i]));
var delim = (MM_fieldsArray[i+2] != "none") ? MM_fieldsArray[i+2] : "";
var altVal = (MM_fieldsArray[i+3] != "none") ? MM_fieldsArray[i+3] : "";
var emptyVal = (MM_fieldsArray[i+4] != "none") ? MM_fieldsArray[i+4] : "";
if (formVal == "" || formVal == "undefined")
{
formVal = emptyVal;
}
else
{
if (altVal != "")
{
formVal = altVal;
} else if (delim == "'") { // escape quotes
formVal = "'" + formVal.replace(/'/g,"''") + "'";
} else {
formVal = delim + formVal + delim;
}
}
MM_tableValues += ((i != 0) ? "," : "") + MM_fieldsArray[i+1];
MM_dbValues += ((i != 0) ? "," : "") + formVal;
}
var MM_insertStr = 'insert into ' + MM_tableName + ' (id, phone, eve_phone, ' + MM_tableValues + ') values (' + hinumval + ',\'' + formatphone + '\',\'' + formatevephone + '\',' + MM_dbValues + ')';
//Response.Write(MM_insertStr);
// finish the sql and execute it
var MM_insertCmd = Server.CreateObject("ADODB.Command");
MM_insertCmd.ActiveConnection = "dsn=ITech;uid=itech;pwd=falafel23;";
MM_insertCmd.CommandText = MM_insertStr;
MM_insertCmd.Execute();
var realname = Request.Form("realname");
var email = Request.Form("email");
var UserAddress = Request.Form("UserAddress");
var UserPhone = Request.Form("UserPhone");
var UserCity = Request.Form("UserCity");
var Zip = Request.Form("Zip");
var State = Request.Form("State");
var BirthMonth = Request.Form("BirthMonth");
var Birthday = Request.Form("Birthday");
var BirthYear = Request.Form("BirthYear");
var Sex = Request.Form("Sex");
var Smoker = Request.Form("Smoker");
var Health = Request.Form("Health");
var FaceAmount = Request.Form("FaceAmount");
var Catagory = Request.Form("Catagory");
var source = Request.Form("source");
Session("UserPhone") = String(formatphone)
location = QuoteEngine + "?realname=" + realname + "&email=" + email + "&UserAddress=" + UserAddress + "&UserPhone=" + formatphone + "&UserCity=" + UserCity + "&Zip=" + Zip + "&State=" + State + "&BirthMonth=" + BirthMonth + "&BirthYear=" + BirthYear + "&Birthday=" + Birthday + "&Sex=" + Sex + "&Smoker=" + Smoker + "&Health=" + Health + "&FaceAmount=" + FaceAmount + "&Catagory=" + Catagory + "&source=" + source;
location2 = URLEscapeSpaces(location);
function URLEscapeSpaces(strIn)
{
var a = " "
var b = "%20"
var c = strIn
var i = c.indexOf(a);
var l = b.length;
while (i != -1)
{
c = c.substring(0,i) + b + c.substring(i + a.length,c.length);
i = c.indexOf(a,i);
}
return c;
}
Session("beenherebefore") = "yes"
// redirect with URL parameters
//if (MM_redirectPage == '') MM_redirectPage = Request.ServerVariables('URL');
//if (String(MM_redirectPage).indexOf('?') == -1) MM_redirectPage += '?' + Request.QueryString;
Response.Redirect(location2);
}
%>
Termlifeonly, A Division of ITECH Corporation
How ITECH Started a War
By Larry Laurence, Chairman
ITECH Corporation/ITECHUSA.com
Hello. My name is Larry Laurence, and my wife Kathryn and I accomplished something we're incredibly proud of -- through our brokerage, ITECH Corporation, we started a ten-year Term Life Insurance rate war that has saved tens of thousands of Term Life policy buyers uncounted millions of dollars. The historically low prices we triggered are still available.
We never dreamed we would start such a price revolution in our industry!
When we founded ITECH Corporation in 1991, if you told us we were about to change how insurance companies price Term Life policies, we might have thought you crazy. But that's what happened. The simple act of comparing Term Life rates for our customers made prices drop -- especially for long-term policies -- to levels never seen before.
Despite our conservative marketing, we now have more than 30 highly qualified employees, and I don't mean street hires or price-quoting clerks. Our experts keep track of Term Life insurance rates at more than 150 of the top-rated companies in the U.S. They find the best deals. And then match up those best deals with our customers. You can read about our top management team here.
They won't touch any company rated below "A" by insurance ratings boards.
Early this year, special-interest laws called Triple-X pulled the insurance companies' feet from the hottest fires of competition and some companies have now raised their rates again. Consumers lose.
But you can still get TERRIFIC deals. True, rates are climbing back up, but phenomenal deals are still out there. Call 1-800-400-4832 or click here for a free quote, to see how much you can still save!
How We Started the Term Life Price War
In 1991, Kathryn and I decided the rates for identical Term Life insurance policies varied too much from one company to the next. People were paying much higher prices than they had to. We decided people would benefit from an honest comparison of rates.
Since nobody was providing rate and feature comparisons, we thought the time was right and decided we would be the ones to do it.
We gathered information on all the Term Life Insurance prices and policies we could find, put an ad in the Wall Street Journal, and started getting calls. Hundreds of calls.
Over the next year, driven by suddenly visible competition, Term Life policy rates dove to historic lows in the U.S. And they kept dropping, year after year, for the next seven years.
1 | 2 >>> NEXT