/*
 * Global Javascript Executed jQuery onReady event
 */	
 
 /* Round Corners */
  		$(document).ready(function() {
   			$('.roundme').corner();
		});

/* Make IE do PNG */
 		$(document).ready(function(){ 
				$(document).pngFix(); 
			}); 
/* for any 'a' element remove dotted line */
		$(document).ready(function(){
			$("a").bind("focus",function(){
				if(this.blur)this.blur();
			});
		});
/* Superfish Menu */
		$(document).ready(function(){
			$("ul.menu_bar").superfish();
		});
		$(document).ready(function(){
			$(".menu_bar")
			.superfish({
				animation : { opacity:"show",height:"show" }
			})
			.find(">li[ul]")
				.mouseover(function(){
					$("ul", this).bgIframe({opacity:false});
				})
				.find("a")
					.focus(function(){
						$("ul", $(".menu_bar>li[ul]")).bgIframe({opacity:false});
					});
		});
/* Current Mernu Indicator */
		$(document).ready(function(){
		  var path = location.pathname.substring(1);
		  if (path == "contact/contact.php") {
			path = "contact.php";
		  }
		  if (path.length == 0) {
			path = "default.php";
		  }

		  $('.menu_bar li a[@href$="' + path + '"]').addClass('active');
  		});

