<!--
function change(form) {
  if (form.url.selectedIndex !=0)
    parent.location = form.url.options[form.url.selectedIndex].value
}

function setCookie( name, value, expiredays ) {
  var todayDate = new Date();
  todayDate.setDate( todayDate.getDate() + expiredays );
  document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function getCookie( name ) {
  var nameOfCookie = name + "=";
  var x = 0;
  while ( x <= document.cookie.length ) {
    var y = (x+nameOfCookie.length);
    if ( document.cookie.substring( x, y ) == nameOfCookie ) {
      if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
        endOfCookie = document.cookie.length;
      return unescape( document.cookie.substring( y, endOfCookie ) );
    }
    x = document.cookie.indexOf( " ", x ) + 1;
    if ( x == 0 )
      break;
  }
  return "";
}

function openwin(url, name, width, height) {
	window.open(url, name,"width=" + width + ",height=" + height + ",toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}

function openWin(url, width, height) {
  var window_left = (screen.width - 640) / 2;
  var window_top = (screen.height - 480) / 2;
  var newWin = window.open(url, 'new_win', 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,top=' + window_top + ',left=' + window_left);
  newWin.focus();
}

function openWin2(url, width, height) {
  var window_left = (screen.width - 640) / 2 - 100;
  var window_top = (screen.height - 480) / 2 - 100;
  var newWin = window.open(url, 'new_win', 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=' + window_top + ',left=' + window_left);
  newWin.focus();
}

function openWin3(url, target, width, height) {
  var window_left = (screen.width - 640) / 2 - 100;
  var window_top = (screen.height - 480) / 2 - 100;
  var newWin = window.open(url, target, 'width=' + width + ',height=' + height + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=' + window_top + ',left=' + window_left);
  newWin.focus();
}
//-->
