// JavaScript Development: JavaScriptDesign.com Copyright 1999 - 2001
// written by Dave Gibson, email: solutions@JavaScriptDesign.com
// licensed to GGM Internet Solutions

// revised Jan. 16'00, ref. line to http
// popup windows with copyright & photo description

var popUpContent = '';
var popUpWin = '';
var describeIt = '';
var picture = '';

function makePopUpWin(pic,high,wide,text) {
 var tall = high + 100  // adjust for spacing to border above and below picture
 var side = wide + 40  // adjust for spacing to border on sides of picture
 describeIt = text
 picture = pic
if (popUpWin && !popUpWin.closed) {
  popUpWin.close();
 }
   popUpWin = eval("window.open('blank.html','newWin','menubar,resizable,scrollbars,height="+tall+",width="+side+"')");
   if (!popUpWin.opener) popUpWin.opener = self;
   popUpContent = "<html><head><title>Aero Mock-Ups, Inc. - Serving the Entertainment Industry since 1988</title></head>"
   popUpContent += "<body><center><a href='#' onClick='self.close()'>Return to Aero Mock-Ups</a><p>"
   popUpContent += "<font face='Arial,Helvetica'><font size=-1><font color='#000099'>" + describeIt + "</font></font></font><p>"
   popUpContent += "<img src="+picture+"><br>"
   popUpContent += "<font face='Arial,Helvetica'><font size=-2><font color='#000066'>&copy;2000 Aero Mock-Ups, Inc.</font></font></font><p>"
   popUpContent += "<a href='#' onClick='self.close()'>"
   popUpContent += "<font face='Arial,Helvetica'><font size=-1>'Close Window!'</a></font></font></body></html>"
}

// ** This function writes the content to the new window. Modify as
// ** needed to suit your purposes. Be sure to include the variables
// ** describeIt and picture to capture the content passed from the
// ** links on your pages.

function update() {
   popUpWin.document.open();
   popUpWin.document.write(popUpContent);
   popUpWin.document.close();
}

function closePopUpWin() {
 if (popUpWin && !popUpWin.closed)
  popUpWin.close();
}


