var m_bIE4;
var m_strCurrentPic;
m_strCurrentPic = "";
var bResponse, bAsked;

function ShowBigPic ( strPic ){	
  if (m_bIE4){		    
    parent.pRight.document.location = "Tour1902PCsBig.htm";
    m_strCurrentPic = "Postcards/" + strPic + ".jpg" ;	
  }

  if (navigator.appName == "Netscape") {
    if (!bAsked)
      PromptEm();		    
    if (bResponse)
      window.open ("http://www.hanoverantiques.com/Shop/Postcards/" + strPic + ".jpg");	  
  }
}

function PromptEm(){
  bResponse = confirm ("OK, so you really want to see the pictures. The only solution we have right now is to launch each one in an external window.  Is that OK?");
  bAsked = true;
  return true;
}

function CheckBrowser(){
  if (navigator.appName == "Netscape") {
    m_bIE4 = false;		    
    alert ( "Oh boy.  You're using Netscape, which is a perfectly fine browser, but the person who created this page designed it for MSIE 4.0 or later.  We recommend you switch to Internet Explorer to see all of the images on this page." );
    return false;
  }

  var strVer;
  var strVer = window.navigator.appVersion;
  strVer = strVer.substring(0,1);

  if ((navigator.appVersion.indexOf("MSIE") != -1) && (strVer >= 4)){		    m_bIE4 = true;
    return true;
  }
  else {
    alert ("You're using an old version of Internet Explorer or some browser nobody ever heard of.  In order for you to see all of the images on this page correctly, you must have at least version IE4.");
    m_bIE4 = false;
    return false;  }
}