//------------------------------------------------------------------

function activeMenuOption(imageResources, itemNumber) {
 if (document.images) {
  eval("(document.images['item"+itemNumber+"'].src='"+imageResources+"white_selection_marker.gif')");
 }
 else {
  eval("(document.item"+itemNumber+".src='"+imageResources+"white_selection_marker.gif')");
 }
}

//------------------------------------------------------------------

function inactiveMenuOption(imageResources, itemNumber) {
 if (document.images) {
  eval("(document.images['item"+itemNumber+"'].src='"+imageResources+"blank.gif')");
 }
 else {
  eval("(document.item"+itemNumber+".src='"+imageResources+"blank.gif')");
 }
}

//------------------------------------------------------------------

function MM_openBrWindow(theURL,winName,features) { //v2.0
 mmopenwin= window.open(theURL,winName,features);
}

// /***********************
// *函数名称：OpenWd(strUrl)
// *参数名称：strUrl
// *功能描述：根据strUrl来打开子窗口, bolFull为真，可以满屏打开
// *作者名称：张璟
// *改版履历：2003/06/16 张璟 初版作成
// ************************/
function OpenWd(strUrl,intheight,intwidth)
{
try{
  var winson;
  showx = 0;
  showy = 0; 
  if(event.screenX-parseInt(showy)<300)  showy=event.screenX-300;
  winson=window.open(strUrl,
  "",
  "width="+intheight+",height="+intwidth+",resizable,scrollbars=yes,status:no,left=0,top=0");   
  return winson;
  }catch(error){   
   window.open(strUrl,
  "",
  "width="+intheight+",height="+intwidth+",resizable,scrollbars=yes,status:no,left=0,top=0"); }
}