//the next 3 lines are browser detection for user-agent DOMS
ns4 = (document.layers) ? true:false //required for Functions to work
ie4 = (document.all) ? true:false //required for Functions to work
ng5 = (document.getElementById) ? true:false //required for Functions to work

function hideSec() 
{

if (ng5) document.getElementById('sec1').style.visibility = "hidden"
else if (ns4) document.sec1.visibility = "hide"
else if (ie4) sec1.style.visibility ="hidden"

if (ng5) document.getElementById('sec2').style.visibility = "hidden"
else if (ns4) document.sec2.visibility = "hide"
else if (ie4) sec2.style.visibility ="hidden"

if (ng5) document.getElementById('sec3').style.visibility = "hidden"
else if (ns4) document.sec3.visibility = "hide"
else if (ie4) sec3.style.visibility ="hidden"

if (ng5) document.getElementById('sec4').style.visibility = "hidden"
else if (ns4) document.sec4.visibility = "hide"
else if (ie4) sec4.style.visibility ="hidden"

if (ng5) document.getElementById('sec5').style.visibility = "hidden"
else if (ns4) document.sec5.visibility = "hide"
else if (ie4) sec5.style.visibility ="hidden"

if (ng5) document.getElementById('sec6').style.visibility = "hidden"
else if (ns4) document.sec6.visibility = "hide"
else if (ie4) sec6.style.visibility ="hidden"

if (ng5) document.getElementById('sec7').style.visibility = "hidden"
else if (ns4) document.sec7.visibility = "hide"
else if (ie4) sec7.style.visibility ="hidden"

if (ng5) document.getElementById('sec8').style.visibility = "hidden"
else if (ns4) document.sec8.visibility = "hide"
else if (ie4) sec8.style.visibility ="hidden"
}

function showSec(n) 
{
hideSec();
if (ng5) document.getElementById('sec' + n).style.visibility = "visible";
else if (ns4) document.layers["sec" + n].visibility = "show";
else if (ie4) document.all["sec" + n].style.visibility = "visible";
}







//the next 3 lines are browser detection for user-agent DOMS
ns4 = (document.layers) ? true:false //required for Functions to work
ie4 = (document.all) ? true:false //required for Functions to work
ng5 = (document.getElementById) ? true:false //required for Functions to work

/*function hideSec() 
{
if (ng5) document.getElementById('sec1').style.visibility = "hidden"
else if (ns4) document.sec1.visibility = "hide"
else if (ie4) sec1.style.visibility ="hidden"

if (ng5) document.getElementById('sec2').style.visibility = "hidden"
else if (ns4) document.sec2.visibility = "hide"
else if (ie4) sec2.style.visibility ="hidden"
}*/

//the next 3 lines are browser detection for user-agent DOMS
ns4 = (document.layers) ? true:false //required for Functions to work
ie4 = (document.all) ? true:false //required for Functions to work
ng5 = (document.getElementById) ? true:false //required for Functions to work

function hideSec2() 
{

if (ng5) document.getElementById('sec1').style.visibility = "hidden"
else if (ns4) document.sec1.visibility = "hide"
else if (ie4) sec1.style.visibility ="hidden"

if (ng5) document.getElementById('sec2').style.visibility = "hidden"
else if (ns4) document.sec2.visibility = "hide"
else if (ie4) sec2.style.visibility ="hidden"

if (ng5) document.getElementById('sec3').style.visibility = "hidden"
else if (ns4) document.sec3.visibility = "hide"
else if (ie4) sec3.style.visibility ="hidden"

if (ng5) document.getElementById('sec4').style.visibility = "hidden"
else if (ns4) document.sec4.visibility = "hide"
else if (ie4) sec4.style.visibility ="hidden"

if (ng5) document.getElementById('sec5').style.visibility = "hidden"
else if (ns4) document.sec5.visibility = "hide"
else if (ie4) sec5.style.visibility ="hidden"

if (ng5) document.getElementById('sec6').style.visibility = "hidden"
else if (ns4) document.sec6.visibility = "hide"
else if (ie4) sec6.style.visibility ="hidden"

if (ng5) document.getElementById('sec7').style.visibility = "hidden"
else if (ns4) document.sec7.visibility = "hide"
else if (ie4) sec7.style.visibility ="hidden"

}


function showSec2(n) 
{
hideSec();
if (ng5) document.getElementById('sec' + n).style.visibility = "visible";
else if (ns4) document.layers["sec" + n].visibility = "show";
else if (ie4) document.all["sec" + n].style.visibility = "visible";
}

function mortgageOn(opt1){
  if(opt1==1) {
	var1="ABOUT OUR PROGRAMS";
	var2="Not all mortgage markets are the same! Through our broadranging technologies and telemarketing expertise we hold the specific keys to unlock the potential of your unique lead generation program. Look below and find the program that's right for you!";
  } else if(opt1==2) {
	var1="CALL PRO";
	var2="With Call-Pro, you provide the calling list and we contact (call) your prospects. When a prospect is called and shows interest we qualify the lead through a series of mini-application questions. The prospect is then transferred to a loan officer and the info obtained is emailed in real time. For prospects who complete the mini-application but decline the live transfer, we simply set a convenient time for a loan officer to call them back. ";
  } else if(opt1==3) {
	var1="MESSAGE MAX";
	var2="This program allows you to drop a voice message on the prospect's answering machine to introduce your services. Leave your toll free number on the message and prospects will call you. As our most economical program, this promotional effort offers great value. ";
  } else if(opt1==4) {
	var1="MESSAGE 800";
	var2="With the Message-800 program California Marketing implements the Message Max program; however, we handle the inbound calls. The voice message leaves a toll-free number that is routed directly to our call center. We take the incoming call, and qualify the lead through a series of mini-application questions. The call is immediately transferred to a loan officer and the mini-app info is emailed [to the loan officer] in real time. <br><br>Prospects who complete the mini-application but decline the live transfer, are informed that a loan officer will call them back at a future date. Because your loan officers only speak to qualified prospects, this program maximizes their time efficiency.";
  } else if(opt1==5) {
	var1="MESSAGE PRO";
	var2="With the Message-PRO we reach your loan prospects with a concentrated proactive effort. We first implement the Message-800 program. Then we contact the prospects who did not respond to the voice mail with a personal phone call. When we reach an interested party, we qualify the lead through a series of mini-application questions. The call is immediately transferred to a loan officer and the mini-app info is emailed [to the loan officer] in real time. <br><br>Prospects who complete the mini-application but decline the live transfer, are informed that a loan officer will call them back at a future date. Because your loan officers only speak to qualified prospects, this program maximizes their time efficiency.";
  } else if(opt1==6) {
	var1="MESSAGE MAIL";
	var2="With the Message-MAIL program we simply call your mailing list and leave a voice message alerting your prospects that your mail piece will arrive shortly. This increases awareness and increases the overall response rate of your direct mail campaign. Message-MAIL is a cost effective way to increase the yield of your existing direct mail efforts. ";
  } else if(opt1==7) {
	var1="MESSAGE MAIL PRO";
	var2="With Message MAIL-PRO we first conduct a Message-MAIL effort. Once you feel you have maximized the response from this campaign, we take a proactive approach and contact (call) the prospects who did not respond to your mail effort. When we reach an interested party, we qualify the lead through a series of mini-application questions. The call is immediately transferred to a loan officer and the mini-app info is emailed [to the loan officer] in real time. <br><br>Prospects who complete the mini-application but decline the live transfer, are informed that a loan officer will call them back at a future date. Because your loan officers only speak to qualified prospects, this program maximizes their time efficiency. Message MAIL-PRO is a great way to consolidate a suite of marketing efforts resulting in maximum ROI of your mailing list.";
  } else if(opt1==8) {
	var1="TURNKEY MESSAGE-MAIL";
	var2="With Turnkey MESSAGE-MAIL you specify your target audience, and we provide the direct mail list, the promotional mailing piece, full letter shop services, and follow-up telemarketing. Our database includes over 25 million highly qualified loan prospects. You can chose from a large list of sort criteria, including credit score, credit card debt, minimum loan amount, loan:value ratio, etc., <br><br>Before the mailing, we leave a voice message alerting your prospects that your mail piece will arrive shortly. After the mailer response starts to diminish, we contact (call) the prospects who did not respond. When we reach an interested party, we qualify the lead through a series of mini-application questions. The call is immediately transferred to a loan officer and the mini-app info is emailed [to the loan officer] in real time. Prospects who complete the mini-application but decline the live transfer, are informed that a loan officer will call them back at a future date.";
  }
  str="  <div style='padding-bottom: 5px;' id='subheadBlue10'>"+var1+"</div>"+
      "  <div id='bodyText'>"+var2+"</div>";
  document.getElementById('mortgageDisp').innerHTML=str;
}