jQuery(document).ready(function(){



	$("#navbar-firm li").hoverIntent(

		function(){

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "20"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find("span").animate({opacity: 0, top: "20"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#navbar-lawyers li").hoverIntent(

		function(){

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "20"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find("span").animate({opacity: 0, top: "20"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							} 

						}

			);

 		});

 	$("#lawyer-links li").hoverIntent(

		function(){

			$(this).find(".pop").attr({

				"style": 'display:inline'

			});

			$(this).find(".pop").animate({opacity: 1, top: "-125"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".pop").animate({opacity: 0, top: "-125"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							

							}

						}

			);

		});

	$("#navbar-area li").hoverIntent(

		function(){

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "20"}, {queue:false, duration:250});

		}, 

		function(){

			$(this).find("span").animate({opacity: 0, top: "20"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#area-links li").hoverIntent(

		function(){

			$(this).find(".pop").attr({

				"style": 'display:inline'

			});

			$(this).find(".pop").animate({opacity: 1, top: "-90"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".pop").animate({opacity: 0, top: "-90"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#navbar-contact li").hoverIntent(

		function(){

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "20"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find("span").animate({opacity: 0, top: "20"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});		

	$("#firm-bottom li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".firmbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "-210"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".firmbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, top: "-210"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#firm-lawyers li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".firmslawyersbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "-325"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".firmslawyersbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, top: "-325"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#realestate li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".realestatebutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".realestatebutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#plists li").hoverIntent(

		function(){

			$(this).find(".list-pop").attr({

				"style": 'display:inline'

			});

			$(this).find(".list-pop").animate({opacity: 1, left: "-250"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".list-pop").animate({opacity: 0, left: "-180"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#lawyer-links-bottom li").hoverIntent(

		function(){

			$(this).find(".pop").attr({

				"style": 'display:inline'

			});

			$(this).find(".pop").animate({opacity: 1, top: "-100"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".pop").animate({opacity: 0, top: "-100"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							

							}

						}

			);

		});

	$("#family-law li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".familylawbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".familylawbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#international li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".internationalbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".internationalbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#appeals li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".appealsbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".appealsbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#contact li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".contactbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".contactbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});	

	$("#business-transactions li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".businessbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".businessbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#commercial-litigation li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".commercialbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".commercialbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#construction-litigation li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".constructionbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".constructionbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#child-support li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".childsupportbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "-120"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".childsupportbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, top: "-120"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#banking-litigation li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".bankingbutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".bankingbutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#title-insurance li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".insurancebutton").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, bottom: "10"}, {queue:false, duration:100});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".insurancebutton").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, bottom: "10"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#sidebar-lawyers li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".arrow").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "-10"}, {queue:false, duration:250});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".arrow").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, top: "-30"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#sidebar-areas li").hoverIntent(

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("x.")[0];

			$(this).find(".arrow").attr({src: "" + origen + "o.png"});

			$(this).find("span").attr({

				"style": 'display:inline'

			});

			$(this).find("span").animate({opacity: 1, top: "-10"}, {queue:false, duration:250});

		}, 

		function(){

			var iconName = $(this).find("img").attr("src");

			var origen = iconName.split("o.")[0];

			$(this).find(".arrow").attr({src: "" + origen + "x.png"});

			$(this).find("span").animate({opacity: 0, top: "-30"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#plists2 li").hoverIntent(

		function(){

			$(this).find(".list-pop2").attr({

				"style": 'display:inline'

			});

			$(this).find(".list-pop2").animate({opacity: 1, left: "-250"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".list-pop2").animate({opacity: 0, left: "-180"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

	$("#plists3 li").hoverIntent(

		function(){

			$(this).find(".list-pop3").attr({

				"style": 'display:inline'

			});

			$(this).find(".list-pop3").animate({opacity: 1, left: "-250"}, {queue:false, duration:100});

		}, 

		function(){

			$(this).find(".list-pop3").animate({opacity: 0, left: "-180"}, {queue:false, duration:250, complete: function(){

								$(this).attr({"style": 'display:none'});

							}

						}

			);

		});

		

});






