

/*  START TOOL TIPS CODE  */
function simple_tooltip(target_items, name){
 $(target_items).each(function(i){
		$("body").append("<div class='"+name+"' id='"+name+i+"'><p>"+$(this).attr('title')+"</p></div>");
		var my_tooltip = $("#"+name+i);
		
		$(this).removeAttr("title").mouseover(function(){
				my_tooltip.css({opacity:1, display:"none"}).fadeIn(400);
		}).mousemove(function(kmouse){
				my_tooltip.css({left:kmouse.pageX+45, top:kmouse.pageY-75});
		}).mouseout(function(){
				my_tooltip.fadeOut(400);				  
		});
	});
}

	
$(document).ready(function(){
	 simple_tooltip(".sidebar-boxes a","tooltip");
});


/* END TOOL TIPS CODE

START PAGE PEEL CODE */

$(document).ready(function(){

//Page Flip on hover

	$("#banner-corner").hover(function() {
		$("#banner-corner img").stop()
			.animate({
				width: '230px', 
				height: '223px'
			}, 500); 
			
			$(".msg_block").stop()
			.animate({
				width: '203px', 
				height: '195px'
			}, 500); 
			
			
			
		} , function() {
		$("#banner-corner img").stop() 
			.animate({
				width: '109px', 
				height: '108px'
			}, 220);
		$(".msg_block").stop() 
			.animate({
				width: '96px', 
				height: '94px'
			}, 200);
	});
});

/* END PAGE PEEL CODE */

