function popWin(url) {
sealWin=window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=350,height=400');
self.name = "mainWin";
}



// Reloads the window if Nav4 resized
function MM_reloadPage(init) {  
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



//This array and function set is for the rollovers in the Top Navigation section

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  navImageSrc = new Array (
        "nav_linda_a.gif",
        "nav_linda_b.gif",
        "nav_philosophy_a.gif",
        "nav_philosophy_b.gif",
        "nav_portfolio_a.gif",
        "nav_portfolio_b.gif",
        "nav_press_a.gif",
        "nav_press_b.gif",
        "nav_contact_a.gif",
        "nav_contact_b.gif"
          )
  navImageList = new Array ();
  for (counter in navImageSrc) {
   navImageList[counter] = new Image();
   navImageList[counter].src = "images/" + navImageSrc[counter];
  }
 }
 
 function navRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/nav_" + imName + "_b.gif"
  } else {
   whichIm.src = "images/nav_" + imName + "_a.gif"
  }
 }

//This array and function set is for the rollovers in the Common Sub Navigation section

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  CSNImageSrc = new Array (
        "subnav_common_asklinda_b.gif",
        "subnav_common_asklinda_a.gif",
        "subnav_common_home_b.gif",
        "subnav_common_home_a.gif"
          )
  CSNImageList = new Array ();
  for (counter in CSNImageSrc) {
   CSNImageList[counter] = new Image();
   CSNImageList[counter].src = "images/" + CSNImageSrc[counter];
  }
 }
 
 function CSNRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/subnav_common_" + imName + "_b.gif"
  } else {
   whichIm.src = "images/subnav_common_" + imName + "_a.gif"
  }
 }

//This array and function set is for the rollovers in the Next and Back Arrows section

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  arrowImageSrc = new Array (
        "arrow_next_b.gif",
        "arrow_next_a.gif",
        "arrow_back_b.gif",
        "arrow_back_a.gif"
          )
  arrowImageList = new Array ();
  for (counter in arrowImageSrc) {
   arrowImageList[counter] = new Image();
   arrowImageList[counter].src = "images/" + arrowImageSrc[counter];
  }
 }
 
 function arrowRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/arrow_" + imName + "_b.gif"
  } else {
   whichIm.src = "images/arrow_" + imName + "_a.gif"
  }
 }



//This array and function set is for the rollover of the email address

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  emailImageSrc = new Array (
        "email_a.gif",
        "email_b.gif"
          )
  emailImageList = new Array ();
  for (counter in emailImageSrc) {
   emailImageList[counter] = new Image();
   emailImageList[counter].src = "images/" + emailImageSrc[counter];
  }
 }
 
 function emailRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/" + imName + "_b.gif"
  } else {
   whichIm.src = "images/" + imName + "_a.gif"
  }
 }


//This array and function set is for the rollover of the SN address

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  SNImageSrc = new Array (
        "subnav_affiliations_a.gif",
        "subnav_affiliations_b.gif",
        "subnav_color_a.gif",
        "subnav_color_b.gif",
        "subnav_lighting_a.gif",
        "subnav_lighting_b.gif"
          )
  SNImageList = new Array ();
  for (counter in SNImageSrc) {
   SNImageList[counter] = new Image();
   SNImageList[counter].src = "images/" + SNImageSrc[counter];
  }
 }
 
 function SNRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/subnav_" + imName + "_b.gif"
  } else {
   whichIm.src = "images/subnav_" + imName + "_a.gif"
  }
 }


//This array and function set is for the rollover of the SN address

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  PNImageSrc = new Array (
        "portfolio_nav_a.gif",
        "portfolio_nav_b.gif"
          )
  PNImageList = new Array ();
  for (counter in PNImageSrc) {
   PNImageList[counter] = new Image();
   PNImageList[counter].src = "images/" + PNImageSrc[counter];
  }
 }
 
 function PNRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/portfolio_nav_b.gif"
  } else {
   whichIm.src = "images/portfolio_nav_a.gif"
  }
 }


//This array and function set is for the rollover of the of the Submit Your Question button

ver4 = (document.layers || document.all) ? 1 : 0;
 
 if (document.images) {
  btnImageSrc = new Array (
        "btn_question_a.gif",
        "btn_question_b.gif"
          )
  btnImageList = new Array ();
  for (counter in btnImageSrc) {
   btnImageList[counter] = new Image();
   btnImageList[counter].src = "images/" + btnImageSrc[counter];
  }
 }
 
 function btnRollOver(imName,over) {
  if (!document.images) {
   return
  }
  
  whichIm = document.images[imName];
  
  if (over) {
   whichIm.src = "images/btn_" + imName + "_b.gif"
  } else {
   whichIm.src = "images/btn_" + imName + "_a.gif"
  }
 }


// Javascript to show and hide layers
// if layer is to be hidden on load then the DIV's attribute needs to be  
// style="display: none"
// DIV must also have a unique ID

function HideContent(d) {
	document.getElementById(d).style.display = "none";
}
function ShowContent(d) {
	document.getElementById(d).style.display = "";
}
function ReverseContentDisplay(d) {
	if(document.getElementById(d).style.display == "none") { 
		document.getElementById(d).style.display = ""; 
		}
	else { 
		document.getElementById(d).style.display = "none"; 
		}
}
