// JavaScript Document
    $(document).ready(function(){

	//var h1 = $(".img_in2 img").width();
	var h1 = 100;
	var h2 = $("#slide").width();

	function makeLargeC(selector) {
        $(selector+" .cell_left").animate( { width:"155px", height:"65px", fontSize:"12px" }, { queue:false, duration:200 } )
        $(selector+" .cell_left img").animate( { width:"155px", height:"65px" }, { queue:false, duration:200 } )
        $(selector+" .cell_right").animate( { width:"125px", height:"65px", left:"155px", fontSize:"12px" }, { queue:false, duration:200 } )
        $(selector+" .cell_right img").animate( { width:"125px", height:"65px" }, { queue:false, duration:200 } )
    }

    function makeSmallC(selector) {
        $(selector+" .cell_left").animate( { width:"145px", height:"60px", fontSize:"11px" }, { queue:false, duration:200 } )
        $(selector+" .cell_left img").animate( { width:"145px", height:"60px" }, { queue:false, duration:200 } )
        $(selector+" .cell_right").animate( { width:"120px", height:"60px", left:"145px", fontSize:"11px" }, { queue:false, duration:200 } )
        $(selector+" .cell_right img").animate( { width:"120px", height:"60px" }, { queue:false, duration:200 } )
     }

   
    $(".img_in2").mouseover(function(){
									 $("img",this).animate( { width: h1+30},  { queue:false, duration:200 } ) 
									 $("#slide").animate( { width: h2+15},  { queue:false, duration:200 } ) 
									 });
	
    $(".img_in2").mouseout(function(){
									$("img",this).animate( { width: h1},  { queue:false, duration:200 } ) 
									$("#slide").animate( { width: h2},  { queue:false, duration:200 } ) 
									});
/* */  
   
    $("#cells1").mouseover(function(){ makeLargeC("#cells1"); });
    $("#cells1").mouseout(function(){ makeSmallC("#cells1"); });	

    $("#cells2").mouseover(function(){ makeLargeC("#cells2"); });
    $("#cells2").mouseout(function(){ makeSmallC("#cells2"); });

    $("#cells3").mouseover(function(){ makeLargeC("#cells3"); });
    $("#cells3").mouseout(function(){ makeSmallC("#cells3"); });

    $("#cells4").mouseover(function(){ makeLargeC("#cells4"); });
    $("#cells4").mouseout(function(){ makeSmallC("#cells4"); });

    $("#cells5").mouseover(function(){ makeLargeC("#cells5"); });
    $("#cells5").mouseout(function(){ makeSmallC("#cells5"); });

    $("#cells6").mouseover(function(){ makeLargeC("#cells6"); });
    $("#cells6").mouseout(function(){ makeSmallC("#cells6"); });

    $("#cells7").mouseover(function(){ makeLargeC("#cells7"); });
    $("#cells7").mouseout(function(){ makeSmallC("#cells7"); });
	
    
});
/* 	var h1 = $(".left_boxes1").height();
 	var h2 = $(".left_boxes2").height();
 	
    function makeLarge(selector, imgWidth, img_inWidth,w,h) {
		$(selector).animate( { width:w, height:h, fontSize:"13px" }, { queue:false, duration:300 } )
        $(selector+" .text_in").animate( { lineHeight:"140%"  }, { queue:false, duration:300 } )
        $(selector+" .text_in .header").animate( { fontSize:"17px" },  { queue:false, duration:300 } )
        $(selector+" .img_in").animate( { width: img_inWidth},  { queue:false, duration:300 } )
        $(selector+" img").animate( { width: imgWidth},  { queue:false, duration:300 } )
    }

    function makeSmall(selector, imgWidth, img_inWidth,w,h) {
        $(selector).animate( { width:w, height:h, fontSize:"12px"  }, { queue:false, duration:300 } )
        $(selector+" .text_in").animate( { lineHeight:"130%"  }, { queue:false, duration:300 } )
        $(selector+" .text_in .header").animate( { fontSize:"14px" }, { queue:false, duration:300 } )
        $(selector+" .img_in").animate( { width:img_inWidth },  { queue:false, duration:300 } )
        $(selector+" img").animate( { width:imgWidth },  { queue:false, duration:300 } )
    }
	
    $(".left_boxes1").mouseover(function(){ makeLarge(".left_boxes1","110px", "100px","400px",h1+30); });
    $(".left_boxes1").mouseout(function(){ makeSmall(".left_boxes1","100px", "90px","380px",h1); });

 
   */
