
<!-- 
var flag=false; 
function DrawImage1(ImgD){ 
var image=new Image(); 
image.src=ImgD.src; 
if(image.width>350 && image.width/image.height>= 1.05)
{
	ImgD.width=350; 
ImgD.height=(image.height*350)/image.width; 
	}
else if (image.width>350 && 0.95<= image.width/image.height && image.width/image.height<= 1.05)
{
	ImgD.width=350; 
ImgD.height=v; 

	}
else if (image.width>350 && image.width/image.height<0.95)
{
ImgD.height=350; 
ImgD.width=(image.width*350)/image.height; 
	
	}
else {
ImgD.width=image.width; 
ImgD.height=image.height; 	
	}


} 
//--> 