

var currentURL = window.location.href;
$(document).ready(function () {
	$(document).pngFix(); 
	$("#play2").hide();
	$("#play3").hide();
	$("#play4").hide();
	$("#play5").hide();
	$("#play6").hide();
 });
 $(function() {
 	$("#nav ul li:first").hover(
 	function() {
 	$(".support ul").fadeIn(400);
 	},
 	function() {
 	$(".support ul").fadeOut(400);
	});
 });
  $(function() {
 	$("#nav ul li:eq(4)").hover(
 	function() {
 	$(".thirddrop ul").fadeIn(400);
 	},
 	function() {
 	$(".thirddrop ul").fadeOut(400);
	});
 });
   $(function() {
 	$("#nav ul li:eq(12)").hover(
 	function() {
 	$(".aboutdrop ul").fadeIn(400);
 	},
 	function() {
 	$(".aboutdrop ul").fadeOut(400);
	});
 });
   $(function() {
 	$("#nav ul li:eq(17)").hover(
 	function() {
 	$(".rentals ul").fadeIn(400);
 	$(".rentals2 ul").fadeIn(400);
 	},
 	function() {
 	$(".rentals ul").fadeOut(400);
 	$(".rentals2 ul").fadeOut(400);
	});
 });
 /*
$(function() {
 	$("#homebutton").hover(
 	function() {
 	$("#homebutton ul li img").replaceWith('<img src="http://www.phtheatre.org/thirdstreet/images/house_icon2.png" alt="HOME" width="32" height="32">');
 	},
 	function() {
	$("#homebutton ul li img").replaceWith('<img src="http://www.phtheatre.org/thirdstreet/images/house_icon.png" alt="HOME" width="32" height="32">');
	});
 }); */
 $(function() {
 	$("#menu1").hover(
 	function() {
 	$("#menu1 dt").css("color", "#b90000");
 	 $("#menu1 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu1 dd").css("color", "#161617");
 	 $("#menu1 dt").css("padding-left", "25px");


 	},
 	function() {
 	$("#menu1 dt").css("color", "#161617");
 	$("#menu1 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu1 dd").css("color", "#b90000");
 	$("#menu1 dt").css("padding-left", "20px");


 	});
 });
 
 $(function() {
 	$("#menu2").hover(
 	function() {
 	$("#menu2 dt").css("color", "#b90000");
 	 $("#menu2 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu1 dd").css("color", "#161617"); 
 	 $("#menu2 dt").css("padding-left", "25px");
 	},
 	function() {
 	$("#menu2 dt").css("color", "#161617");
 	$("#menu2 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu2 dd").css("color", "#b90000");
 	$("#menu2 dt").css("padding-left", "20px");

 	});
 }); 
$(function() {
 	$("#menu3").hover(
 	function() {
 	$("#menu3 dt").css("color", "#b90000");
 	 $("#menu3 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu3 dd").css("color", "#161617");
 	 $("#menu3 dt").css("padding-left", "25px");
 	},
 	function() {
 	$("#menu3 dt").css("color", "#161617");
 	$("#menu3 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu3 dd").css("color", "#b90000");
 	$("#menu3 dt").css("padding-left", "20px");

 	});
 }); 
$(function() {
 	$("#menu4").hover(
 	function() {
 	$("#menu4 dt").css("color", "#b90000");
 	 $("#menu4 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu4 dd").css("color", "#161617");
 	 $("#menu4 dt").css("padding-left", "25px");
 	},
 	function() {
 	$("#menu4 dt").css("color", "#161617");
 	$("#menu4 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu4 dd").css("color", "#b90000");
 	$("#menu4 dt").css("padding-left", "20px");

 	});
 });
$(function() {
 	$("#menu5").hover(
 	function() {
 	$("#menu5 dt").css("color", "#b90000");
 	 $("#menu5 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu5 dd").css("color", "#161617");	
 	 $("#menu5 dt").css("padding-left", "25px");
 	},
 	function() {
 	$("#menu5 dt").css("color", "#161617");
 	$("#menu5 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu5 dd").css("color", "#b90000");
 	$("#menu5 dt").css("padding-left", "20px");

 	});
 }); 
$(function() {
 	$("#menu6").hover(
 	function() {
 	$("#menu6 dt").css("color", "#b90000");
 	 $("#menu6 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay2.gif)");
 	 $("#menu6 dd").css("color", "#161617");
	 $("#menu6 dt").css("padding-left", "25px");
 	},
 	function() {
 	$("#menu6 dt").css("color", "#161617");
 	$("#menu6 dd").css("background", "url(http://www.phtheatre.org/thirdstreet/wp-content/themes/PresentationHouse/images/liPlay.gif)");
 	$("#menu6 dd").css("color", "#b90000");
 	$("#menu6 dt").css("padding-left", "20px");

 	});
 });

 $(function() {
 	$("#menu1").click(function() {
 	$("#play2").hide();
 	$("#play2").hide();
	$("#play3").hide();
	$("#play4").hide();
	$("#play5").hide();
	$("#play6").hide();
 	$("#play1").show();
 	});
 });
 $(function() {
 	$("#menu2").click(function() {
 	$("#play1").hide();
	$("#play3").hide();
	$("#play4").hide();
	$("#play5").hide();
	$("#play6").hide();
 	$("#play2").show();
 	});
 });
  $(function() {
 	$("#menu3").click(function() {
 	$("#play1").hide();
 	$("#play2").hide();
	$("#play4").hide();
	$("#play5").hide();
	$("#play6").hide();
 	$("#play3").show();
 	});
 });
  $(function() {
 	$("#menu4").click(function() {
 	$("#play1").hide();
 	$("#play2").hide();
	$("#play3").hide();
	$("#play5").hide();
	$("#play6").hide();
 	$("#play4").show();
 	});
 });
  $(function() {
 	$("#menu5").click(function() {
 	$("#play1").hide();
 	$("#play2").hide();
	$("#play3").hide();
	$("#play4").hide();
	$("#play6").hide();
 	$("#play5").show();
 	});
 });
  $(function() {
 	$("#menu6").click(function() {
 	$("#play1").hide();
 	$("#play2").hide();
	$("#play3").hide();
	$("#play4").hide();
	$("#play5").hide();
 	$("#play6").show();
 	});
 });
 	 
