$(document).ready(function(){

        //Page Flip on hover

	        $("#hist").hover(function() {
		        $("#histcurl img , .msg_block").stop()
			        .animate({
				        width: '124px', 
				        height: '113px'
			        }, 500); 
		        } , function() {
		        $("#histcurl img").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 220);
		        $(".msg_block").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 200);
	        });
	        
	        $("#hist").hover(function() {
		        $("#histcurlacc img , .msg_block").stop()
			        .animate({
				        width: '124px', 
				        height: '113px'
			        }, 500); 
		        } , function() {
		        $("#histcurlacc img").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 220);
		        $(".msg_block").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 200);
	        });
	        
	       $("#hist").hover(function() {
		        $("#histcurlkg img , .msg_block").stop()
			        .animate({
				        width: '124px', 
				        height: '113px'
			        }, 500); 
		        } , function() {
		        $("#histcurlkg img").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 220);
		        $(".msg_block").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 200);
	        });
	        
	        $("#hist").hover(function() {
		        $("#histcurlbht img , .msg_block").stop()
			        .animate({
				        width: '124px', 
				        height: '113px'
			        }, 500); 
		        } , function() {
		        $("#histcurlbht img").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 220);
		        $(".msg_block").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 200);
	        });
			
			$("#hist").hover(function() {
		        $("#histcurlbw img , .msg_block").stop()
			        .animate({
				        width: '124px', 
				        height: '113px'
			        }, 500); 
		        } , function() {
		        $("#histcurlbw img").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 220);
		        $(".msg_block").stop() 
			        .animate({
				        width: '0px', 
				        height: '0px'
			        }, 200);
	        });
			
        });
        function autohover(elId) {
            var evt;
            var el = document.getElementById('hist');
            if ( document.createEvent ){
            evt = document.createEvent("MouseEvents");
            evt.initMouseEvent("mouseover", true, true, window,
            0, 0, 0, 0, 0, false, false, false, false, 0, null);
            }
            else if (document.createEventObject) {        
            var evt = document.createEventObject();     
            el.fireEvent('onmouseover', evt); 
            }
            (evt)? el.dispatchEvent(evt):(el.mouseover && el.mouseover());
            }
