function openWindow(url, name) {
  var l = openWindow.arguments.length;
  var w = "";
  var h = "";
  var features = "";

  for (i=2; i<l; i++) {
    var param = openWindow.arguments[i];
    if ( (parseInt(param) == 0) ||
      (isNaN(parseInt(param))) ) {
      features += param + ',';
    } else {
      (w == "") ? w = "width=" + param + "," :
       h = "height=" + param;
    }
  }

  features += w + h;
  var code = "popupWin = window.open(url, name";
  if (l > 2) code += ", '" + features;
  code += "')";
  eval(code);
  }
  
  
  
// drop down menu
function gotosite(site) {            
        if (site != "") {                    
                self.location=site; 
        }
}   

function go(what) {
windowHandle = window.open(what[what.selectedIndex].value,'windowName','toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=no,width=517,height=430');
}  

function swap(object) { 
if (document.images) document.images["text"].src = object.options[object.selectedIndex].value
}