/* enthio - version 1.0 - july 26, 2007 */

// 
// var myriadlight = { src: '/fonts/myriadpro-light.swf' };
// var myriadmed = { src: '/fonts/myriadpro-med.swf' };
// 
// sIFR.activate(myriadlight, myriadmed);
// 
// sIFR.replace(myriadlight, { 
// 	wmode: 'transparent', 
// 	selector: '#home h2',
// 	css: [ 
// 		'.sIFR-root { color: #ffffff; letter-spacing: -1; }'
// 		]
// });
// 
// 
// sIFR.replace(myriadlight, { 
// 	wmode: 'transparent', 
// 	selector: '#content #main h2',
// 	css: [ 
// 		'.sIFR-root { color: #0099cc; letter-spacing: -1; }', 
// 		'a { color: #0099cc; text-decoration: none; }', 
// 		'a:hover { color: #007399; }'
// 		]
// });
// 
// sIFR.replace(myriadmed, { 
// 	wmode: 'transparent', 
// 	selector: '#content h3',
// 	css: [ 
// 		'.sIFR-root { color: #18191a; letter-spacing: -1;  }', 
// 		'a { color: #18191a; text-decoration: none; }', 
// 		'a:hover { color: #414445; }' 
// 		]
// });


		
		
		

$(document).ready(function() {

	$("#nav li").hover(function(){ $(this).addClass("over"); },function(){ $(this).removeClass("over"); });	
	
	$("ul.dropdown").hover(function(){ $(this).parent().find("a").addClass("over"); },function(){ $(this).parent().find("a").removeClass("over"); });		

	if (jQuery.browser.safari) { 	
			//$("#nav li a").mouseout(function(){ $(this).removeClass("over"); });	
			$("ul.dropdown").mouseout(function(){ $(this).parent().find("a").removeClass("over"); });
		}
	
	$(function() {
	  $('a[@href^=http]').not('[@href*=http://www.enthiosys.com/]').addClass('external-link').click(function() {
	      window.open(this.href, '_blank');
	      return false;
	    	});
		});
	
	}); //ready
