// JavaScript Document

function PopUpHosting(){
PopUpHostingWindow = window.open("hosting_standard.html","Standard","scrollbars=yes,left=100,top=50,screenX=100,screenY=50,width=400,height=375");
}
function PopUpHosting2(){
PopUpHostingWindow = window.open("hosting_pro.html","Standard","scrollbars=yes,left=100,top=50,screenX=100,screenY=50,width=400,height=375");
}
function PopUpHosting3(){
PopUpHostingWindow = window.open("hosting_ecommerce.html","Standard","scrollbars=yes,left=100,top=50,screenX=100,screenY=50,width=400,height=375");
}
function PopUpHFAQ(){
PopUpFAQWindow = window.open("FAQ_1.html","HFAQ","scrollbars=yes,left=100,top=50,screenX=100,screenY=50,width=410,height=375");
}

function doPopUp(){
doPopUpWindow = window.open("FAQ.html","FAQ","scrollbars=yes,left=100,top=50,screenX=100,screenY=50,width=410,height=375");
}
function doPopUp1(){
doPopUp1Window = window.open("portfolio_architect.html","Architect","left=100,top=0,screenX=100,screenY=0,width=660,height=515");
}
function doPopUp2(){
doPopUp2Window = window.open("portfolio_moen.html","Moen","left=100,top=0,screenX=100,screenY=0,width=660,height=510");
}
function doPopUp3(){
doPopUp3Window = window.open("portfolio_hribar.html","Hribar","left=100,top=0,screenX=100,screenY=0,width=660,height=515");
}
function doPopUp4(){
doPopUp4Window = window.open("portfolio_nicholl.html","Nicholl","left=100,top=0,screenX=100,screenY=0,width=660,height=515");
}
function doPopUp5(){
doPopUp5Window = window.open("portfolio_elehoa.html","Encanto","left=100,top=0,screenX=100,screenY=0,width=660,height=515");
}
function validateForm()
      {
              formObj = document.quoteform;
              if (formObj.contact.value == "")
              {
                      alert("Please type in your Name and re-submit");
                      formObj.contact.focus();
                      return false;
              }
              
              else if (formObj.address.value == "")
              {
                      alert("Please enter your Address and re-submit");
                      formObj.address.focus();
                      return false;
              }
             else if (formObj.citystatezip.value == "")
              {
                      alert("Please enter your City, State, and Zip and re-submit");
                      formObj.citystatezip.focus();
                      return false;
              } 
			  else if (formObj.phone.value == "")
              {
                      alert("Please enter your Phone Number (with area code) and re-submit");
                      formObj.phone.focus();
                      return false;
              } 
			                   
      }
function showText(calque)
{
  eval(layerRef + '["' + calque +'"]' + styleRef +
                  '.visibility = "visible"');
}
ie4 = ((navigator.appName == "Microsoft Internet Explorer") &&
       (parseInt(navigator.appVersion) >= 4 ))
ns4 = ((navigator.appName == "Netscape") &&
      (parseInt(navigator.appVersion) >= 4 ))

if (ns4) {
    layerRef="document.layers";
    styleRef="";
} else {
    layerRef="document.all";
    styleRef=".style";
}
function hideText(calque)
{
  eval(layerRef + '["' + calque +'"]' + styleRef +
                  '.visibility = "hidden"');
}	  