


function imgshrink() {
	jQuery("#rs_news").find("img").each(function(i){
	});
	setTimeout("shrinkallimgs()", 3000);
}



function shrinkallimgs() {
	jQuery("#rs_news").find("img").each(function(i){
		if (jQuery(this).css("width").replace(/px/, "") > 300) {
		            newWidth = jQuery(this).css("width").replace(/px/, "")/2 + "px";
		            jQuery(this).css("width", newWidth);
         }
        if (jQuery(this).css("opacity") == 0) {
			jQuery('.newimg').removeClass('newimg').addClass('loadedimg');
			jQuery(this).animate({
				opacity: 100
			});
		}
	 });
}


