$(document).ready(function()
{
	/* Top Menu Effect*/
	var bodyClass = jQuery('body')[0].className;
		$("li .normal").hover(function(){
		 //hiding selected/current page image 
		  $("#"+bodyClass).children("img").hide();
		  //adding the class to the hovered list
	 	 $(this).children("img").show();
	},function(){ 
	    //removing the class 
		$(this).children("img").hide();
		 //showing selected/current page image 
		$("#"+bodyClass).children("img").show();
		//alert("dd"+$("#"+bodyClass).children("a").id);
		$("#"+bodyClass).children("a").children("span").css("color","#000");
	});
	/* End of Top Menu Effect*/

});


/*this is for video file js*/
var browserName=navigator.appName; 

function show_overlay(id)
	{
	var totalHeight = document.documentElement.scrollHeight;
	document.getElementById("overlay_bg").style.height=totalHeight+"px";
	if (browserName=="Microsoft Internet Explorer")
	 {
	document.getElementById("video_overlay").style.display="block";
	 }
	 jQuery("#video_overlay").fadeIn("slow");
	document.getElementById("outer").style.position="relative";
	document.getElementById("outer").style.zIndex="-2";
	}
	
function close_overlay(id)
	{
	if (browserName=="Microsoft Internet Explorer")
	 {
	document.getElementById("video_overlay").style.display="none";
	 }
	jQuery("#video_overlay").fadeOut("slow");
	document.getElementById("outer").style.zIndex="0";
	}



