All pastes #479387 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-05-09 18:33 UTC
rendered paste body
function check_img_size(img)
{
//alert("IW: "+img.width);
if (img.width>=600)
	{
	img.width=600;
	}
if (img.height>=400)
	{
	img.height=400;
	}
}