<!--
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>= 250/301){
if(image.width>250){ 
ImgD.width=250;
ImgD.height=(image.height*250)/image.width;
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
else{
if(image.height>301){ 
ImgD.height=301;
ImgD.width=(image.width*301)/image.height; 
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
}
} 
//-->
<!--
var flag=false;
function DrawImage1(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 223/162){
if(image.width>223){ 
ImgD.width=223;
ImgD.height=(image.height*223)/image.width;
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
else{
if(image.height>162){ 
ImgD.height=162;
ImgD.width=(image.width*162)/image.height; 
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
}
} 
//-->
<!--
var flag=false;
function DrawImage2(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 138/108){
if(image.width>138){ 
ImgD.width=138;
ImgD.height=(image.height*138)/image.width;
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
else{
if(image.height>108){ 
ImgD.height=108;
ImgD.width=(image.width*108)/image.height; 
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
}
} 
//-->
<!--
var flag=false;
function DrawImage3(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 125/125){
if(image.width>125){ 
ImgD.width=125;
ImgD.height=(image.height*125)/image.width;
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
else{
if(image.height>125){ 
ImgD.height=125;
ImgD.width=(image.width*125)/image.height; 
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
}
} 
//-->
<!--
var flag=false;
function DrawImage4(ImgD){
var image=new Image();
image.src=ImgD.src;
if(image.width>0 && image.height>0){
flag=true;
if(image.width/image.height>= 145/125){
if(image.width>145){ 
ImgD.width=145;
ImgD.height=(image.height*145)/image.width;
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
else{
if(image.height>125){ 
ImgD.height=125;
ImgD.width=(image.width*125)/image.height; 
}else{
ImgD.width=image.width; 
ImgD.height=image.height;
}
}
}
} 
//-->