<!--
var opacity=0
opacity0=0
opacity1=0
opacity2=0
opacity3=0
opacity4=0
currscr=0
intervalshow=0
intervalshow=0
scronoff=0;


function showBox(abc,n,v)
{
var target = document.getElementById(abc);

if (opacity1<v)
{
opacity1+=n;
target.style.MozOpacity=opacity1;
target.filters.alpha.opacity=opacity1*100;
}
else
if (window.intervalshow)
{
clearInterval(intervalshow);
}
}

function showOptinnow()
{

if (window.intervalshow)
{
clearInterval(intervalshow);
}

cba='optinbox';
currscr=2;

opacity1=0;
document.getElementById("optinbox").style.zIndex = 7;

intervalshow=setInterval("showBox(cba,0.01,1.00)",10);

}

function showOptin()
{

window.setTimeout('showOptinnow()',5000);

}

function hideBox(def,lll)
{
var target = document.getElementById(def);

if (opacity1>0.00)
{
opacity1-=lll;
target.style.MozOpacity=opacity1;
target.filters.alpha.opacity=opacity1*100;
}
else
if (window.intervalshow)
{
clearInterval(intervalshow);
}
}

function closeOptin()
{
if (window.intervalshow)
{
clearInterval(intervalshow);
}
/*opacity1=1.0;*/

zyx='optinbox';
document.getElementById("maincontentarea").style.zIndex = 8;

intervalshow=setInterval("hideBox(zyx,0.02)",1);

currscr=0;
}


function resetform1(rrr) {
document.forms[rrr].elements[1]=="";
document.forms[rrr].elements[1].focus();
}
function submitForm1() {
if (isName(0) && isEmail(0) && isStype(0)) {
alert ("\n You message has been submitted! \n\nThank You.");
return true;
}
else {
return false;
}
}
function submitForm2() {
if (isName(1) && isEmail(1) && isStype(1)) {
alert ("\n You message has been submitted! \n\nThank You.");
return true;
}
else {
return false;
}
}
function isName(nnn) {
if (document.forms[nnn].elements[1].value == "") {
alert ("\n The Name field is blank. \n\n Please enter your name.")
document.forms[nnn].elements[1].focus();
return false;
}
return true;
}
function isEmail(eee) {
if (document.forms[eee].elements[2].value == "") {
alert ("\n The E-mail Address field is blank. \n\n Please enter your email address.")
document.forms[eee].elements[2].focus();
return false;
}
if (document.forms[eee].elements[2].value.indexOf ('@',0) == -1 ||
document.forms[eee].elements[2].value.indexOf ('.',0) == -1) {
alert ("\n The E-mail field requires an \"@\" and a \".\" be used. \n\nPlease re-enter your email address.")
document.forms[eee].elements[2].select();
document.forms[eee].elements[2].focus();
return false;
}
return true;
}
function isStype(sss) {
var stypec = document.forms[sss].elements["stype[]"];
var i, len = stypec.length;
for(i=0; i<len; i++)
{
if(stypec[i].checked)
{
break;
}
}
if (i==len) {
alert ("\n No Service Type has been selected. \n\n Please select at least one.")
document.forms[sss].elements[3].focus();
return false;
}
return true;
}



//-->


