Trouble combining two javascripts

the following page

www.
phi
lipdu
sel.com/work.html

has two java scripts i set up(pasted) to get it so that i can rotate the main image by clicking sevearl options

i just couldnt do it with the two javascripts as one…it seems like a lot of unecessary script to just add an already existing function to another element

thanks
:smiley: i hope this is clear enough

I only see one script (below), and it 's not for rotating images, but for resizing?
And the resize function would give it another .gif src ?

	$(document).ready(function() {
	
		function imageresize() {
			var contentwidth = $('#content').width();
			if ((contentwidth) < '700'){
			    $('.fluidimage').attr('src','mymy1.gif');
			} else {
			    $('.fluidimage').attr('src','biggy.gif');
			}
		}
	
		imageresize();	
	
		$(window).bind("resize", function(){
			imageresize();
		});
		
	});