/*******Popup Window Definition*********************/

var htmlOpener = "<html><head><title>Popup Window Demo</title>"+
			"</head><body bgcolor='navyblue'><p>"
var htmlCloser = "</body></html>"

 demo = "<center><b>Popup Window</b></center><p>Here you can put any legal"+
        " html string. For example, you can put a graph here. <center>" +
        "<p><img src='corr.gif'></center>"

/****END OF STRING DEFINITION*****/


 var popupWin
 var wholeWin

  function popup(term)  // write corresponding content to the popup window
  {
   popupWin = window.open("atriumbedrm.html", "puWin",  "width=580,height=380,left=150,top=100,x=150,y=100,");
   
   popupWin.focus();  // bring the popup window to the front
  }


  function popup2(term)  // write corresponding content to the popup window
  {
   popupWin2 = window.open("atriumdngrm.html", "puWin2",  "width=580,height=500,left=150,top=50,x=150,y=50,");
   
   popupWin2.focus();  // bring the popup window to the front
  }

  function popup3(term)  // write corresponding content to the popup window
  {
   popupWin3 = window.open("atriumlvgrm.html", "puWin3",  "width=580,height=405,left=150,top=100,x=150,y=100,");
   
   popupWin3.focus();  // bring the popup window to the front
  }

  function popup4(term)  // write corresponding content to the popup window
  {
   popupWin4 = window.open("st_paulbedrm.html", "puWin4",  "width=580,height=380,left=150,top=100,x=150,y=100,");
   
   popupWin4.focus();  // bring the popup window to the front
  }

  function popup5(term)  // write corresponding content to the popup window
  {
   popupWin5 = window.open("st_pauldngrm.html", "puWin5",  "width=580,height=500,left=150,top=50,x=150,y=50,");
   
   popupWin5.focus();  // bring the popup window to the front
  }

  function popup6(term)  // write corresponding content to the popup window
  {
   popupWin6 = window.open("st_paullvgrm.html", "puWin6",  "width=580,height=400,left=150,top=100,x=150,y=100,");
   
   popupWin6.focus();  // bring the popup window to the front
  }

  function popup7(term)  // write corresponding content to the popup window
  {
   popupWin7 = window.open("st_paul_misbedrm.html", "puWin7",  "width=580,height=380,left=150,top=100,x=150,y=100,");
   
   popupWin7.focus();  // bring the popup window to the front
  }
  
 function popup8(term)  // write corresponding content to the popup window
  {
   popupWin8 = window.open("st_paul_misdngrm.html", "puWin8",  "width=580,height=500,left=150,top=50,x=150,y=50,");
   
   popupWin8.focus();  // bring the popup window to the front
  }

 function popup9(term)  // write corresponding content to the popup window
  {
   popupWin9 = window.open("st_paul_mislvgrm.html", "puWin9",  "width=580,height=430,left=150,top=100,x=150,y=100,");
   
   popupWin9.focus();  // bring the popup window to the front
  }

 function popup10(term)  // write corresponding content to the popup window
  {
   popupWin10 = window.open("chateaubedrm.html", "puWin10",  "width=580,height=395,left=150,top=100,x=150,y=100,");
   
   popupWin10.focus();  // bring the popup window to the front
  }

 function popup11(term)  // write corresponding content to the popup window
  {
   popupWin11 = window.open("chateaudngrm.html", "puWin11",  "width=580,height=505,left=150,top=45,x=150,y=45,");
   
   popupWin11.focus();  // bring the popup window to the front
  }

 function popup12(term)  // write corresponding content to the popup window
  {
   popupWin12 = window.open("chateaulvgrm.html", "puWin12",  "width=580,height=445,left=150,top=100,x=150,y=100,");
   
   popupWin12.focus();  // bring the popup window to the front
  }

 function popup13(term)  // write corresponding content to the popup window
  {
   popupWin13 = window.open("marlborough_all.html", "puWin13",  "width=580,height=395,left=150,top=100,x=150,y=100,");
   
   popupWin13.focus();  // bring the popup window to the front
  }

 function popup14(term)  // write corresponding content to the popup window
  {
   popupWin14 = window.open("house_pop.html", "puWin13",  "width=290,height=415,left=150,top=100,x=150,y=100,");
   
   popupWin14.focus();  // bring the popup window to the front
  }

 function popup15(term)  // write corresponding content to the popup window
  {
   popupWin15 = window.open("house_pop1.html", "puWin13",  "width=290,height=425,left=150,top=100,x=150,y=100,");
   
   popupWin15.focus();  // bring the popup window to the front
  }

 function popup16(term)  // write corresponding content to the popup window
  {
   popupWin16 = window.open("house_pop2.html", "puWin13",  "width=290,height=465,left=150,top=100,x=150,y=100,");
   
   popupWin16.focus();  // bring the popup window to the front
  }

 function popup17(term)  // write corresponding content to the popup window
  {
   popupWin17 = window.open("house_pop3.html", "puWin13",  "width=290,height=470,left=150,top=100,x=150,y=100,");
   
   popupWin17.focus();  // bring the popup window to the front
  }

 function popup18(term)  // write corresponding content to the popup window
  {
   popupWin18 = window.open("house_pop4.html", "puWin13",  "width=580,height=290,left=150,top=100,x=150,y=100,");
   
   popupWin18.focus();  // bring the popup window to the front
  }

 function popup19(term)  // write corresponding content to the popup window
  {
   popupWin19 = window.open("house_pop5.html", "puWin13",  "width=350,height=425,left=150,top=100,x=150,y=100,");
   
   popupWin19.focus();  // bring the popup window to the front
  }

  function closeDep() {
  if (popupWin && popupWin.open && !popupWin.closed) popupWin.close();
  if (wholeWin && wholeWin.open && !wholeWin.closed) wholeWin.close();

  }
