I have a function that I wish to use to resize images:
http://jsfiddle.net/eUurB/
When I run it on document.ready, it has no effect; the image size returned
Images are not loaded at document.ready time. Instead use the .load() method of jQuery.
$('#logo').load( function() { resizeImgByArea('logo', 500); });