		
		//Ëõ·ÅÍ¼Æ¬
		function ImageDraw(img,iwidth,iheight)
		{
			var image = new Image();
			var imgTmp = new Image();
			imgTmp.src = img.src;
			image.src = img.src;
			img.width = image.width;
			img.height = image.height;
			if(image.width>image.height>0)
			{
				if(image.width/image.height >= image.height/image.width)
				{
					if(image.width>iwidth)
					{
						img.width = iwidth;
						img.height = image.height * iwidth / image.width; 
					}
					else
					{
						img.width = image.width;
						img.height = image.height; 
					}
					img.alt = image.width +"X"+image.height;
				}
				else
				{
					if(image.height > iheight)
					{
						img.height = iheight;
						img.width = image.width * iheight / image.height;
					}
					else
					{
						img.height = image.height ;
						img.width = image.width;
					}
					img.alt = image.width +"X"+image.height;
				}
			}
			img.style.cursor = "pointer";
			img.onclick = function()
			{
				//var imgTmp = new Image();
				//imgTmp.src = this.src;
				//this.src.width = imgTmp.src.width * 2;
				//this.src.heigth = imgTmp.src.heigth * 2;
				window.open(imgTmp.src);
			}
		}
		
		
