$(document).ready( function() {

	// Flash
	$(".flash").each( function() {
	
		// Parts
		var parts = $(this).attr( "rel" ).split( "||" );
		
		$(this).html("");
		$(this).flash({
			src: "swf/"+ parts[0] +".swf",
			width: parts[1],
			height: parts[2],
			wmode: "transparent"
		});
	
	});
	
	// Over
	$(".over").hover(
		function() { $(this).attr( "src", $(this).attr( "src" ).replace( ".", "_over." ) ); },
		function() { $(this).attr( "src", $(this).attr( "src" ).replace( "_over.", "." ) ); }
	);

});
