function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  //if (restore) selObj.selectedIndex=0;
}

var flag=false;
function DrawImage(ImgD){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= 700/525){
     if(image.width>700){  
     ImgD.width=700;
     ImgD.height=(image.height*700)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     }
    else{
     if(image.height>525){  
     ImgD.height=525;
     ImgD.width=(image.width*525)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     }
    }
} 

var flag=false;
function DrawImageA(ImgD){
   var image=new Image();
   image.src=ImgD.src;
   if(image.width>0 && image.height>0){
    flag=true;
    if(image.width/image.height>= 150/150){
     if(image.width>150){  
     ImgD.width=150;
     ImgD.height=(image.height*150)/image.width;
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     }
    else{
     if(image.height>150){  
     ImgD.height=150;
     ImgD.width=(image.width*150)/image.height;     
     }else{
     ImgD.width=image.width;  
     ImgD.height=image.height;
     }
     }
    }
} 
function checkform()
{
if (document.form1.text.value==""){
  alert("Input the keyword please");
  document.form1.text.focus();
  return false;
}
  }

