function WM_preloadImages() {

/*
Source: Webmonkey Code Library
(http://www.hotwired.com/webmonkey/javascript/code_library/)
*/

  // Don't bother if there's no document.images
  if (document.images) {
    if (typeof(document.WM) == 'undefined'){
      document.WM = new Object();
    }
    document.WM.loadedImages = new Array();
    // Loop through all the arguments.
    var argLength = WM_preloadImages.arguments.length;
    for(arg=0;arg<argLength;arg++) {
      // For each arg, create a new image.
      document.WM.loadedImages[arg] = new Image();
      // Then set the source of that image to the current argument.
      document.WM.loadedImages[arg].src = WM_preloadImages.arguments[arg];
    }
  }
}

function WM_imageSwap(daImage, daSrc){
  var objStr,obj;
  /*
    Source: Webmonkey Code Library
    (http://www.hotwired.com/webmonkey/javascript/code_library/) 
    */

  // Check to make sure that images are supported in the DOM.
  if(document.images){
    // Check to see whether you are using a name, number, or object
    if (typeof(daImage) == 'string') {
      // This whole objStr nonesense is here solely to gain compatability
      // with ie3 for the mac.
      objStr = 'document.' + daImage;
      obj = eval(objStr);
      obj.src = daSrc;
    } else if ((typeof(daImage) == 'object') && daImage && daImage.src) {
      daImage.src = daSrc;
    }
  }
}

function WM_imageSwap2(){
     var objStr,obj, daImage, daSrc;
     /*
       Source: Webmonkey Code Library
       (http://www.hotwired.com/webmonkey/javascript/code_library/)
       */

     // Check to make sure that images are supported in the DOM.
     if(document.images){
       var argLength = WM_imageSwap2.arguments.length;
       // Check to see whether you are using a name, number, or object
       for(arg=0;arg<argLength;arg+=2) {
         daImage = WM_imageSwap2.arguments[arg];
         daSrc = WM_imageSwap2.arguments[arg + 1];
         if (typeof(daImage) == 'string') {
           // This whole objStr nonesense is here solely to gain compatability
           // with ie3 for the mac.
           objStr = 'document.' + daImage;
           obj = eval(objStr);
           obj.src = daSrc;
         } else if ((typeof(daImage) == 'object') && daImage &&
daImage.src) {
           daImage.src = daSrc;
         }
       }
     }
}



function openWindow(url) {
	window.open(url,'transcript','width=450,height=370,scrollbars=yes,menubar=no,resizable=yes,status=no,toolbar=no,location=no')
}

function linkOut(url) {
	window.open(url,'popOut','width=600,height=500,scrollbars=yes,menubar=yes,resizable=yes,status=yes,toolbar=yes,location=yes')
}