// JavaScript Document
(function($){
	$.fn.fakeXFBML = function( fb_tag , params ){
		var container = $(this);
		params = params || {};
		fb_tag = $("<fb:" + fb_tag + "></fb:" + fb_tag + ">");
		$.each(params, function( key , value ) {
			fb_tag.attr( key , value );
		});
		fb_tag.appendTo(container);
	};
})(jQuery);
jQuery(document).ready(function($) {
	$('#banner').delay(3000).animate({
			height: "344px"  
	}, 1000);
	
	$("#banner").click(function(){
		if($(this).height()>50){
			$(this).animate({
				  height: "50px"  
			}, 1000);
		}else{
			$(this).animate({
				  height: "344px"  
			}, 1000);
		}
	});
	 $("#div_component_menu div a").mouseover(function(){
		 $(this).animate({
			  marginTop: "+=42px"  
		}, 1000);
	});
	
	$("#div_component_menu div a").mouseout(function(){
		 $(this).animate({
			  marginTop: "-=42px"       
		}, 1000);
	});
	$("#fb_likebox").append('<iframe src="http://www.facebook.com/plugins/likebox.php?id=106527562763888&amp;width=230px&amp;height=290px&amp;colorscheme=light&amp;show_faces=truestream=false&amp;header=true" scrolling="yes" frameborder="0" style="border:none; overflow:hidden; width:230px; height:290px;" allowTransparency="true">');

});

