/*
$Revision: #11 $
*/
var imageBaseURL = 'images/';

var divMenu = new FSMenu('divMenu', false, 'visibility', 'visible', 'hidden');
//divMenu.showDelay = 0;
//divMenu.switchDelay = 0;
divMenu.hideDelay = 0;
//divMenu.cssLitClass = 'highlighted';
//divMenu.animInSpeed = 0.7;
//divMenu.animOutSpeed = 0.7;
//divMenu.animations[divMenu.animations.length] = FSMenu.animFade;
//divMenu.animations[divMenu.animations.length] = FSMenu.animSwipeDown;


divMenu.showOnClick = 0;

FSMenu.prototype.onshow = function(mN) { with (this)
{
 var m = menus[mN];
 if (!isIE || !window.createPopup) return;
 // Create a new transparent IFRAME if needed, and insert under the menu.
 if (!m.ifr)
 {
  m.ifr = document.createElement('iframe');
  m.ifr.src = 'http://localhost/ExposuresOnlineDAX/js/pxl.png';

 

  with (m.ifr.style)
  {
   position = 'absolute';
   border = 'none';
   filter = 'progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
   //backgroundImage = 'url(http://localhost/ExposuresOnlineDAX/js/pxl.png)';
   //backgroundRepeat = 'repeat';
   zIndex = "9995";
  }
  
  /*
with (m.ifr.contentDocument.body.style)
  {
   backgroundImage = 'url(http://localhost/ExposuresOnlineDAX/js/pxl.png)';
   backgroundRepeat = 'repeat';
  }
*/
  m.lyr.ref.parentNode.insertBefore(m.ifr, m.lyr.ref);
 }
 // Position and show it on each call.
 with (m.ifr.style)
 {
  left = m.lyr.ref.offsetLeft + 'px';
  top = m.lyr.ref.offsetTop + 'px';
  width = (m.lyr.ref.offsetWidth + 0) + 'px';
  height = (m.lyr.ref.offsetHeight + 0) + 'px';
  visibility = 'visible';
 }
 //alert(m.lyr.ref.offsetWidth);
 //alert(m.ifr.style.width);

}};

FSMenu.prototype.onhide = function(mN) {
{with (this)
{
 if (!isIE || !window.createPopup) return;
 var m = menus[mN];
 if (m.ifr) m.ifr.style.visibility = 'hidden';
}}};







// preload images
/*
var imgs = new Array(1);
imgs[0] = ""; //imageBaseURL + "PhotoAlbumsFlyoutHeaderImage.jpg";
imgs[1] = ""; //imageBaseURL + "PhotoAlbumsFlyoutFooterImage.jpg";
imgs[2] = ""; //"http://www.mileskimball.com/MilesKimball/images/Home_Page/MK_logo_img.gif";
imgs[3] = imageBaseURL + "mol/nav4.gif";
imgs[4] = imageBaseURL + "mol/dd2c/dd2cbase.gif";
imgs[5] = imageBaseURL + "mol/dd2c/dd2cbaseRound.gif";
imgs[6] = imageBaseURL + "mol/dd2c/dd2cbaseSquare.gif";
imgs[7] = imageBaseURL + "mol/dd2c/dd2cbodyLeft.gif";
imgs[8] = imageBaseURL + "mol/dd2c/dd2cbodyRight.gif";
imgs[9] = imageBaseURL + "mol/dd2c/dd2ctopRound.gif";
imgs[10] = imageBaseURL + "mol/dd2c/dd2ctopSquare.gif";
imgs[11] = imageBaseURL + "mol/dd3c/dd3cbase.gif"
imgs[12] = imageBaseURL + "mol/dd3c/dd3cbaseRound.gif";
imgs[13] = imageBaseURL + "mol/dd3c/dd3cbaseSquare.gif";
imgs[14] = imageBaseURL + "mol/dd3c/dd3cbodyLeft.gif";
imgs[15] = imageBaseURL + "mol/dd3c/dd3cbodyCenter.gif";
imgs[16] = imageBaseURL + "mol/dd3c/dd3cbodyRight.gif";
imgs[17] = imageBaseURL + "mol/dd3c/dd3ctopRound.gif";
imgs[18] = imageBaseURL + "mol/dd3c/dd3ctopSquare.gif";
imgs[19] = imageBaseURL + "mol/dd4c/dd4cbase.gif";
imgs[20] = imageBaseURL + "mol/dd4c/dd4cbodycolumn2.gif"
imgs[21] = imageBaseURL + "mol/dd4c/dd4cbodycolumn3.gif";
imgs[22] = imageBaseURL + "mol/dd4c/dd4cbodyLeft.gif";
imgs[23] = imageBaseURL + "mol/dd4c/dd4cbodyRight.gif";
imgs[24] = imageBaseURL + "mol/dd4c/dd4ctopRound.gif";
imgs[25] = imageBaseURL + "mol/dd4c/dd4ctopSquare.gif";
imgs[26] = imageBaseURL + "mol/nav2dropBase.gif";
imgs[27] = imageBaseURL + "mol/nav2dropBodyLeft.gif";
imgs[28] = imageBaseURL + "mol/nav2dropBodyRight.gif";
imgs[29] = imageBaseURL + "mol/nav2dropTop.gif";
imgs[30] = imageBaseURL + "mol/nav2dropTopRight.gif";
imgs[31] = imageBaseURL + "mol/GC_DD_Base.gif";
imgs[32] = imageBaseURL + "mol/GC_DD_Cap.gif";
imgs[33] = imageBaseURL + "mol/GC_DD_CorpCards_Btn.jpg";
imgs[34] = imageBaseURL + "mol/GC_DD_CorpCards_Copy.jpg";
imgs[35] = imageBaseURL + "mol/GC_DD_eGiftCards_Btn.jpg";
imgs[31] = imageBaseURL + "mol/GC_DD_eGiftCards_Copy.jpg";
imgs[32] = imageBaseURL + "mol/GC_DD_GiftCards_Btn.jpg";
imgs[33] = imageBaseURL + "mol/GC_DD_GiftCards_Copy.jpg";
imgs[34] = imageBaseURL + "mol/GC_DD_Spacer1.jpg";
imgs[35] = imageBaseURL + "mol/GC_DD_Spacer2.jpg";



var imgObjs = new Array();

for ( var i = 0; i < imgs.length; i++ ){
    var temp = new Image();
    temp.src = imgs[i];
    imgObjs[imgObjs.length] = temp;
}
*/



