/*<![CDATA[*/
		   
//======= Window on load ==========//

$(window).load(function () {

	// --> init Logo Animation
	//$("h2#logo").fadeIn(3500); 


	// --> init Top menu Animation
	$('#menu span.nav a.l1:not(.selected)')
	.css( {backgroundPosition: " 0px 0px"} )
	.mouseover(function(){
		$(this).stop().animate(
			{backgroundPosition:"(0px -16px)"}, 
			{duration:170})
	})
	.mouseout(function(){
		$(this).stop().animate(
			{backgroundPosition:"(0px 0px)"}, 
			{duration:170})
	})

	$('#menu span.nav a.l2:not(.selected)')
	.css( {backgroundPosition: " -96px 0px"} )
	.mouseover(function(){
		$(this).stop().animate(
			{backgroundPosition:"(-96px -16px)"}, 
			{duration:170})
	})
	.mouseout(function(){
		$(this).stop().animate(
			{backgroundPosition:"(-96px 0px)"}, 
			{duration:170})
	})

	$('#menu span.nav a.l3:not(.selected)')
	.css( {backgroundPosition: " -251px 0px"} )
	.mouseover(function(){
		$(this).stop().animate(
			{backgroundPosition:"(-251px -16px)"}, 
			{duration:170})
	})
	.mouseout(function(){
		$(this).stop().animate(
			{backgroundPosition:"(-251px 0px)"}, 
			{duration:170})
	})
	// --> END Top menu Animation

});
//=======END Window on load ==========//

//=======Init Jquery (on page load) ==========//

$(function () {
			
// Init Links with _blank target
function externalLinks() {
	if (!document.getElementsByTagName) return;
		var anchors = document.getElementsByTagName("a");
	for (var i=0; i<anchors.length; i++) {
		var anchor = anchors[i];
	if (anchor.getAttribute("href") &&
		anchor.getAttribute("rel") == "external")
		anchor.target = "_blank";
	}
}

externalLinks(); 
// END Links with _blank target

});

//=======END Init Jquery (on page load) ==========//

/*]]>*/
