
function trains(id,text){document.all[id].innerHTML=' '+text}
function trainpic(id,text){document.all[id].innerHTML='<img src="'+text+'.gif">'}
function high(which2){
theobject=which2;theobject.filters.alpha.opacity=0
highlighting=setInterval("highlightit(theobject)",100)} // 速度
function low(which2){
clearInterval(highlighting)
which2.filters.alpha.opacity=100}
function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=15
else if(window.highting)
clearInterval(highlighting)}
<!--   
function search_Validate(theForm)       
{   
  if (theForm.keyword.value == "")       
  {       
    alert("Please Enter Keyword!");       
    theForm.keyword.focus();       
    return (false);       
  }       	
  return (true);       
}       
//-->
<!--
function runChgbgColor(TabID){
var obj=null;
function ChgbgColor(TabID){
var oRows=document.all(TabID).all.tags("TR");
for(var i=0;i<oRows.length;i++)
{
oRows[i].onmouseover=function(){
this.bgColor="#C4F7E9";}
oRows[i].onmouseout=function(){
this.bgColor="#FFFFFF";}
}
}
ChgbgColor(TabID);
}
//-->
<!--
function ShowDiv(thisDiv,thisHeight,thiswidth,thisMouse) 
{
	thisDiv.style.visibility="visible";
	//args=ShowDiv.arguments;
	//alert(args.length)
	if (thisMouse=="OnClick")
	{
		obj=window.event.srcElement;
		objLeft   = obj.offsetLeft;
		objTop    = obj.offsetTop;
		objParent = obj.offsetParent;
		while (objParent.tagName.toUpperCase() != "BODY")
		{
			objLeft  += objParent.offsetLeft;
			objTop   += objParent.offsetTop;
			objParent = objParent.offsetParent;
		}
		thisDiv.style.left=objLeft+thiswidth;
		thisDiv.style.top=objTop+thisHeight;
	}

}

function HiddenDiv(thisDiv)
{
    thisDiv.style.visibility="hidden";
}

function showHeight()
{
obj=window.event.srcElement;
//alert(obj.height)

}
//-->

<!--  
var flag=false;
function DrawImage(ImgD,ImgW,ImgH){
   var image=new Image();
   var ImgW=ImgW;
   var ImgH=ImgH;
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= ImgW/ImgH){
     if(image.width>ImgW){ 
     ImgD.height=(image.height*ImgW)/image.width;   
                                                
     ImgD.width=ImgW;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     ImgD.alt="Photo:"+image.width+"×"+image.height;
     }
    else{
     if(image.height>ImgH){ 
     ImgD.width=(image.width*ImgH)/image.height; 
     ImgD.height=ImgH;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     ImgD.alt=""+image.width+"×"+image.height;
     }
    }
} 
//-->
