function MM_jumpMenu(targ,selObj,restore)
{ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

var ns = navigator.appName == 'Netscape';
var ie = navigator.appName == 'Microsoft Internet Explorer';
var version = parseInt(navigator.appVersion);
var ie3= ie && version < 4;
var system = "";

if(navigator.appVersion.indexOf("Win") >0 ){
  system = "pc";
}
if(navigator.appVersion.indexOf("Mac") >0 ){
  system = "mac";
}

function OpenWindow(link,w,h,scroll,toolbar,status) {
	if (scroll == null) scroll = "yes"
	if (toolbar == null) toolbar = "yes"
	if (status == null) status = "yes";
	if (w == 0) w = screen.width;
	if (h == 0) h = screen.height-120;
	var agt=navigator.userAgent.toLowerCase();

	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	//TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	TopPosition = 0;

	externWin = window.open(link,'popup','height='+h+',width='+w+',location=no,menubar=yes,scrollbars='+scroll+',status='+status+',toolbar='+toolbar+',resizable=yes,titlebar=yes,screenx='+LeftPosition+',screeny='+TopPosition+',left='+LeftPosition+',top='+TopPosition);

  if ((typeof(externWin) != "undefined") && (externWin != null)) {
    if ((!ie3) && typeof(externWin["opener"]) == 'undefined') {
      externWin.opener = self;
    }
	// explorer 4 on Mac dies when executing typeof(...)
	if ((!ie) && typeof(externWin["focus"]) == 'function') {
	  externWin.focus();
	}
  }
}

function showYear()
{
		var now = new Date();
    return now.getFullYear();
}

function search_jumpMenu
(
  targ,selObj,searchMethod,restore){ //v3.0
  eval(targ+".location='"+searchMethod+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
