
$(function(){
change(".boxt1",".c53","w141 c53 mgl8 lkf","w139 c54 mgl6 lk2",".box1");
change(".boxt2",".c59","w67 h41 c59 lkf","w69 h36 c60 lk2",".box2");
change(".boxt3",".c35","w81 h50 c35 cnc lkf tc mgr","w77",".box3");


$(".pagediv>li").hover(
function (){
$(this).addClass("c77 lk6 fw");
},
function () {
$(this).removeClass("c77 lk6 fw");
});

         
});

function change(boxt,boxy,ty1,ty2,box2)
{
	$(boxt).eq(0).removeClass(ty2);
	$(boxt).eq(0).addClass(ty1);
	$(boxt).each(function(i){
	$(this).mouseover(function(){

	$(boxt+boxy).addClass(ty2);
	$(boxt+boxy).removeClass(ty1);

	$(this).removeClass(ty2);
	$(this).addClass(ty1);
	$(box2+":visible").hide();
	$(box2).eq(i).show();

});
});

}
