// Javascript for the Digital Audio Oral History Collection


// print window function
function printWindow() {
                   if (window.print)
                     window.print()
                   else
                     alert("Sorry, This function is not supported on your computer.  Please use the File menu then select Print.");
}

//opening a new browser window
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//display within a new browser window
function displayWindow(theURL,winName,width,height,features) { //v3.1

    var window_width = width;
    var window_height = height;
    var newfeatures= features;
    var window_top = (screen.height-window_height)/2;
    var window_left = (screen.width-window_width)/2;
    newWindow=window.open(''+ theURL + '',''+ winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=' + newfeatures + '');
    newWindow.focus();
}

//other browser window open function
function createWindow(cUrl,cName,cFeatures) {
var xWin = window.open(cUrl,cName,cFeatures)
}

//another browser window open function
function newWindow (url, name, features){
open = window.open(url, name, features)
}
