// index.js
// Script for index.html
// 07/10/2004 - Created

function loadActions() {
   //loadContent('Solano');
   //window.defaultStatus='Songco.com'; 
}

function loadContent(Type) {
   var DisplayXHTMLValid      = "none";
   var DisplayCSSValid        = "none";
   var DisplaySolano          = "none";
   var DisplaySolanoDetails   = "none";
   var DisplaySolanoPic1      = "none";
   var DisplaySolanoPic2      = "none";
   var DisplaySolanoPic3      = "none";
   var DisplaySolanoPic4      = "none";
   
   switch (Type) {
      case "Siena" :
         location.href = "/gallery/view_album.php?set_albumName=Siena_Album";
         break;
      case "Album" :
         location.href = "/gallery/";
         //document.getElementById("IframeContent").style.display = "inline";
         //document.getElementById("IframeContent").src = "/gallery/";
         break;
      case "Solano" :
         DisplayXHTMLValid = "inline";
         DisplayCSSValid = "inline";
         DisplaySolano = "inline";
         break;
      case "SolanoDetails" :
         DisplaySolanoDetails = "inline";
         break;
      case "SolanoMap" :
         window.open(
            "http://www.mapquest.com/maps/map.adp?city=phoenix&state=AZ&address=1233+E+Solano+Dr&zip=85014&country=us&zoom=6",
            "SolanoHouseMap",
            "height=550,width=550,resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,location=yes"
         );
         break;
      case "SolanoPic1" :
         DisplaySolanoPic1 = "inline";
         break;
      case "SolanoPic2" :
         DisplaySolanoPic2 = "inline";
         break;
      case "SolanoPic3" :
         DisplaySolanoPic3 = "inline";
         break;
      case "SolanoPic4" :
         DisplaySolanoPic4 = "inline";
         break;
      default: return;
   }
   
   with (document) {
      getElementById("AreaSolano").style.display         = DisplaySolano;
      getElementById("AreaSolanoDetails").style.display  = DisplaySolanoDetails;
      getElementById("AreaSolanoPic1").style.display     = DisplaySolanoPic1;
      getElementById("AreaSolanoPic2").style.display     = DisplaySolanoPic2;
      getElementById("AreaSolanoPic3").style.display     = DisplaySolanoPic3;
      getElementById("AreaSolanoPic4").style.display     = DisplaySolanoPic4;
      
      getElementById("XHTMLValid").style.display         = DisplayXHTMLValid;
      getElementById("CSSValid").style.display           = DisplayCSSValid;
   }
}