$(function () {
	$('a').live('click', function (e) {
		var lnk = $(this).attr('href');
		
		if (/^http/i.test(lnk) 
			&& !/^http:\/\/orchestremetropolitain\.com/i.test(lnk)) {
			e.preventDefault();
			window.open(lnk);
		}
	});
	
	/* Font replace for specials glyphs */
	if($.browser.msie)
	{
		$('*').switchDashFont();
	}
});

/* Plugin Switch font */
(function($){
	$.fn.switchDashFont = function(){
		return this.each(function(){
			var t = $(this);
			var font = t.css('fontFamily');
			var regExp = /^Franklin(.*)/g;
			if(regExp.exec(font))
			{
				var txt = t.text();
				if(txt.length)
				{
					var preRegExp = /-/g;
					txt = txt.replace(preRegExp, '–');
					t.text(txt);
				}
			}
		});	
	};
})(jQuery);



