var win = null;    // use this when referring to pop-up window
var winname = "painting";

//NOTE: this variable should be changed when the locations of the files are changed
var baseurl = "http://www.emory.edu/ENGLISH/Painting&Poems/";

// open painting window, setting dimensions
// N.B. window is always closed on unload (in body tag), so there shouldn't be any problems
function openwin(url, width, height){
   win = window.open(url, winname, "width=" + width + ",height=" + height+",screenX=450,screenY=200");
}


// set the browser's status bar text
function setstatus(text) {
  status=text;
  return true;
}


