function NewWindow(mypage,myname,w,h,scroll) {
  var win = null;
  LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
  TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
  settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable,status';
  win = window.open(mypage,myname,settings);
}

function addbookmark(BookmarkURL, BookmarkTitle) {

    if( window.sidebar ) { // Mozilla Firefox Bookmark
        window.sidebar.addPanel(BookmarkTitle, BookmarkURL, "");
    }
    else if( window.external ) { // IE Favorite
        parent.window.external.AddFavorite(BookmarkURL, BookmarkTitle);
    }
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

