//////////////////////////////////////////
//                                      //
//  These are the JavaScript Functions  //
//  used on the shows pages. Written    //
//  by Brian Demski - 7/19/98           //
//                                      //
//////////////////////////////////////////



/////////////////// openWin : Opens the shows mini-page /////////////////////////////////

function openWin(form)
{
  sel = form.choose.selectedIndex;
  if (sel == 0) return;      

  site="show" + sel + ".html";
  remoteWin = window.open(site,"newWindow","scrollbars=yes,width=360,height=400");
} // openWin





/////////////////// openPic : Shows the selected image in the home window ///////////////

function openPic(image,w,h)
{
  miniWin=window.opener;
  miniWin.document.open();
  miniWin.document.writeln('<html><head><title>Unplesants in Action</title><script language="JavaScript" src="show_script.js"></script></head>');
  miniWin.document.writeln('<body bgcolor="#00A0DD"><table width=' + w + '>');
  miniWin.document.writeln('<tr><td><center><img src=' + image + ' border=0><br><hr>');
  miniWin.document.writeln('<a href="shows.html"><img src="button_shows.jpg" border=0></a>');
  miniWin.document.writeln('<a href="index.html"><img src="button_home.jpg" border=0></a>');
  miniWin.document.writeln('</center></td></tr></table>');
  miniWin.document.writeln('</body></html>');
  miniWin.document.close();  
}



// eof