

$(document).ready(function() {

						   

$('a:not([href^="http://frijsfo.com"]):not([href^="http://www.frijsfo.com"]):not([href^="#"]):not([href^="/"])').attr('target','_blank');

//					$("a[href^='http']").attr('target','_blank');	   


	
	// get ridder text in box if it says search, show button
	$('input#s').bind('focus', function() {
		$('input#s').addClass('s-active');	
		if ($('input#s').val() == 'Search')
		{
			$('input#s').val('');
		}
	});
	
	$('input#s').bind('focusout', function() {
		
		if ($('input#s').val() == '')
		{
			$('input#s').removeClass('s-active');
		}
	});
	
	$('.jp-single-player').hide();
// jQuery player

	
	// $(function() { // executed when $(document).ready()
	  // $("#jpId").jPlayer( {
		// ready: function () {
		  // this.element.jPlayer("setMedia", {
			// mp3: "http://frijsfo.com/wordpress/wp-content/files_flutter/1273415549_13_2_1_5_Preview.mp3"
		  // }); 
		// },
		// swfPath: "http://frijsfo.com/wordpress/wp-content/themes/frijsfo/script/jplayer",
		// customCssIds: false,
		// errorAlerts: true,
		// supplied: "mp3",
		// solution: "html, flash"
	  // });
	// });
	

	// $('.tracklist a[href$=mp3]').each(function(index) {
	    // $(this).attr('rel', $(this).attr('href'));
		// $(this).attr('href', '#').bind('click', function() {
			// var mp3url = $(this).attr('rel');
			// alert(mp3url);
			// $("#jpId").jPlayer( {
			  // ready: function() {
				// $(this).jPlayer( "setMedia", {
				  // mp3: mp3url;
				// }).jPlayer("play");
			  // },
			  // supplied: "mp3"
			// });
			
		// })
  	// });
	

	
	 
	//$('.entry-content a, #primary a').wrap('<span class="a-underline" />');



	







  });

