document.writeln("<script language=\"JavaScript\"> ");
document.writeln("<!-- ");
document.writeln("var flag=false; ");
document.writeln("function DrawImageHot(ImgD){ ");
document.writeln(" var image=new Image(); ");
document.writeln(" image.src=ImgD.src; ");
document.writeln(" if(image.width>0 && image.height>0){ ");
document.writeln("  flag=true; ");
document.writeln("  if(image.width\/image.height>= 51\/77){ ");
document.writeln("   if(image.width>51){");
document.writeln("    ImgD.width=51; ");
document.writeln("    ImgD.height=(image.height*51)\/image.width; ");
document.writeln("   }else{ ");
document.writeln("    ImgD.width=image.width;");
document.writeln("    ImgD.height=image.height; ");
document.writeln("   } ");
document.writeln("");
document.writeln("  } ");
document.writeln("  else{ ");
document.writeln("   if(image.height>77){");
document.writeln("    ImgD.height=77; ");
document.writeln("    ImgD.width=(image.width*77)\/image.height; ");
document.writeln("   }else{ ");
document.writeln("    ImgD.width=image.width;");
document.writeln("    ImgD.height=image.height; ");
document.writeln("   } ");
document.writeln("");
document.writeln("  } ");
document.writeln(" }");
document.writeln("}");
document.writeln("\/\/--> ");
document.writeln("");
document.writeln("function DrawImage(ImgD){ ");
document.writeln(" var image=new Image(); ");
document.writeln(" image.src=ImgD.src; ");
document.writeln(" if(image.width>0 && image.height>0){ ");
document.writeln("  flag=true; ");
document.writeln("  if(image.width\/image.height>= 104\/137){ ");
document.writeln("   if(image.width>104){");
document.writeln("    ImgD.width=104; ");
document.writeln("    ImgD.height=(image.height*104)\/image.width; ");
document.writeln("   }else{ ");
document.writeln("    ImgD.width=image.width;");
document.writeln("    ImgD.height=image.height; ");
document.writeln("   } ");
document.writeln("");
document.writeln("  } ");
document.writeln("  else{ ");
document.writeln("   if(image.height>137){");
document.writeln("    ImgD.height=137; ");
document.writeln("    ImgD.width=(image.width*137)\/image.height; ");
document.writeln("   }else{ ");
document.writeln("    ImgD.width=image.width;");
document.writeln("    ImgD.height=image.height; ");
document.writeln("   } ");
document.writeln("");
document.writeln("  } ");
document.writeln(" }");
document.writeln("}");
document.writeln("");
document.writeln("<\/script>")