
document.writeln("  <div id=\"homepopdown\" class=\"PMhomebuttonhide\"></div> "); 
document.writeln("  <div id=\"galleriespopdown\" class=\"PMgalleriesbuttonhide\"></div> "); 
document.writeln("  <div id=\"pricespopdown\" class=\"PMpricesbuttonhide\"></div> "); 
document.writeln("  <div id=\"orderingpopdown\" class=\"PMorderingbuttonhide\"></div> "); 
document.writeln("  <div id=\"webservicespopdown\" class=\"PMwebservicesbuttonhide\"></div> "); 
document.writeln("  <div id=\"faqpopdown\" class=\"PMfaqbuttonhide\"></div> "); 
document.writeln("  <div id=\"aboutuspopdown\" class=\"PMaboutusbuttonhide\"></div> "); 

document.writeln("  <div id=\"homebutton\"> "); 
document.writeln("    <a href=\"index.html\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMhomebutton', 1200, 0);\">HOME</a> "); 
document.writeln("  </div> "); 
document.writeln("  <div id=\"galleriesbutton\"> "); 
document.writeln("    <a href=\"product-photography-gallery.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMgalleriesbutton', 1200, 0);\">GALLERIES</a> "); 
document.writeln("  </div> "); 
document.writeln("  <ul id=\"galleriesdropline\" class=\"PMgalleriesbutton\" > ");
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-rotating-images.htm\" onmouseout=\"P2H_StartClock();\" onmouseover= \"P2H_MenuItem(1);\">360&#176; Rotating</a> &nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|"); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-animation-images.htm\" onmouseout=\"P2H_StartClock();\" onmouseover= \"P2H_MenuItem(1);\">Animation</a> &nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|");
document.writeln("    </li>");
document.writeln("    <li> &nbsp;<a href=\"product-photography-gallery-art-fashion.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_MenuItem(1);\">Art & Fashion</a>&nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|"); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-bath-body.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_MenuItem(1);\">Bath & Body</a>&nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|"); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-watches-jewelry.htm\" onmouseout=\"P2H_StartClock();\" onmouseover= \"P2H_MenuItem(1);\">Watches & Jewelry</a>&nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|"); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-lighting-electronics.htm\" onmouseout=\"P2H_StartClock();\" onmouseover= \"P2H_MenuItem(1);\">Lighting & Electronics</a>&nbsp; "); 
document.writeln("    </li>"); 
document.writeln("    <li>|"); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"product-photography-gallery-other.htm\" onmouseout=\"P2H_StartClock();\" onmouseover= \"P2H_MenuItem(1);\">Other</a>&nbsp; "); 
document.writeln("    </li>"); 
document.writeln("  </ul> ");
document.writeln("  <div id=\"pricesbutton\"> "); 
document.writeln("    <a href=\"product-photography-pricing.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMpricesbutton', 1200, 0);\">PRICES</a> "); 
document.writeln("  </div> ");

document.writeln("  <div id=\"orderingbutton\"> "); 
document.writeln("    <a href=\"orders.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMorderingbutton', 1200, 0);\">ORDERING</a> "); 
document.writeln("  </div> ");
document.writeln("  <ul id=\"ordersdropline\" class=\"PMorderingbutton\"> ");
document.writeln("    </li>");
document.writeln("    <li>&nbsp;<a onmouseover=\"P2H_MenuItem(1);\" onmouseout=\"P2H_StartClock();\" href= \"order_form.pdf\">Order Form</a>&nbsp;"); 
document.writeln("  </ul> "); 
document.writeln("  <div id=\"webservicesbutton\"> "); 
document.writeln("    <a href=\"website-integration.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMwebservicesbutton', 1200, 0);\">WEBSITE SERVICES</a> "); 
document.writeln("  </div> "); 
document.writeln("  <div id=\"faqbutton\"> "); 
document.writeln("    <a href=\"product-photography-faq.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMfaqbutton', 1200, 0);\">FAQ</a> "); 
document.writeln("  </div> "); 
document.writeln("  <div id=\"aboutusbutton\"> "); 
document.writeln("    <a href=\"aboutus.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMaboutusbutton', 1200, 0);\">ABOUT US</a> "); 
document.writeln("  </div> ");
document.writeln("  <ul id=\"aboutusdropline\" class=\"PMaboutusbutton\"> "); 
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"press-releases.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_MenuItem(1);\">Press Room</a>&nbsp;"); 
document.writeln("    </li>"); 
document.writeln("    <li>|");
document.writeln("    </li>"); 
document.writeln("    <li>&nbsp;<a href=\"testimonials.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_MenuItem(1);\">Testimonials</a>&nbsp;"); 
document.writeln("    </li>");
document.writeln("  </ul> ");


 
document.writeln("  <div id=\"contactusbutton\"> ");  
document.writeln("    <a href=\"contact.htm\" onmouseout=\"P2H_StartClock();\" onmouseover=\"P2H_Menu('PMcontactusbutton', 1200, 0);\">CONTACT US</a>");  
document.writeln("  </div> "); 


 







//array push/pop - IE5Mac
function p2h_push( v )
{
  this[this.length]=v;
}

function p2h_pop()
{
   if(this.length > 0)
   {
  var v = this[this.length -1];
  this.length--;
  return( v );
   }
}

function P2H_ImgSwap(divName, imgPath)
{
  var lyr =document.getElementById(divName);
  if(lyr)
  {
    lyr.style.background = 'url('+imgPath+')';
  }
}

function P2H_GetElementsByClass(className)
{
    var c=0;
    var i=0;
    var tagCollect = new Array();
    var tags = document.getElementsByTagName("*");
if(tags.length == 0){ /*  Safari 1.0 kludge. */ tags=document.getElementsByTagName("div"); }

    for (i=0; i < tags.length; i++)
    {
        if (tags[i].className==className)
        {
        tagCollect[c]=tags[i];
            c++;
        }
    }
    return(tagCollect);
}

function P2H_SetVisibilityByC(className, show)
{
   var arg = 'hidden';
   var i=0;
   if(show){ arg = 'visible';}
   var lyrArray = P2H_GetElementsByClass(className);
   for(i=0; i < lyrArray.length; i++)
   {
     lyrArray[i].style.visibility = arg;
   }
}

function P2H_Menu(menuClassName, delay, level)
{
  P2H_StopClock();
  window.p2h_delay=delay;
  P2H_SetMenu(menuClassName, level);
  P2H_SetVisibilityByC(menuClassName, true);
  P2H_SetVisibilityByC(menuClassName+"hide", false);
  if(level==0){P2H_SetVisibilityByC("hidey", false);}
}

function P2H_MenuItem(level)
{
  P2H_StopClock();
  P2H_ClearMenu(level);
}

function P2H_ClearMenu(level)
{
  if(window.p2h_popmenuarray)
  {
    while(window.p2h_popmenuarray.length > level)
    {
  var cname = p2h_popmenuarray.pop()
      P2H_SetVisibilityByC(cname, false);
  P2H_SetVisibilityByC(cname+"hide", true);
    }
  }
  if(level==0){ P2H_SetVisibilityByC("hidey", true); }
}

function P2H_SetMenu(menuClassName, level)
{
  if(! window.p2h_popmenuarray)
  { 
  window.p2h_popmenuarray = new Array(); 
if(!window.p2h_popmenuarray.push){window.p2h_popmenuarray.push=p2h_push;}
if(!window.p2h_popmenuarray.pop){window.p2h_popmenuarray.pop=p2h_pop;}
  }
  P2H_ClearMenu(level);
  window.p2h_popmenuarray.push(menuClassName);
}

function P2H_StopClock()
{
  if(window.p2h_timeoutid)
  {
    clearTimeout(window.p2h_timeoutid);
    window.p2h_timeoutid = null;
  }
}

function P2H_StartClock()
{
  if(p2h_delay == 0){ P2H_CloseMenu(); return;}
  P2H_StopClock();
  window.p2h_timeoutid = setTimeout('P2H_CloseMenu()', window.p2h_delay);
}

function P2H_CloseMenu()
{
  P2H_StopClock();
  P2H_ClearMenu(0);
}




function PW_GetElementsByTagClass(tagName, className)
{
    var c=0;
    var i=0;
    var tagCollect = new Array();
    var tags = document.getElementsByTagName(tagName);
    for (i=0; i < tags.length; i++)
    {
        if (tags[i].className==className)
        {
    tagCollect[c]=tags[i];
            c++;
        }
    }
    return(tagCollect);
}


function PW_SetDisplay(cName, show)
{
     var arg = 'none';
     var i=0;
     if(show){ arg = 'block';}
     var lyrArray = PW_GetElementsByTagClass('li', cName);
     if(lyrArray != null)
     {  
       for(i=0; i < lyrArray.length; i++)
       {
           lyrArray[i].style.display=arg;
       }
     }
}


