var player = '';

//open and start the audio player
//function listenpopUp(url) {
//window.open(url,'','scrollbars,resizable,width=320px,height=120px,left=50px,top=50px,toolbar=no');
//}
function listenpopUp() {
	player=window.open('../listen.php','', 'toolbar=0,scrollbars=0,resizable=1,height=220,width=320'); 
	if (!player.opener) player.opener = self;
	
}

function moreInfoLink(url){
	var opener_url = window.opener.location;
	var re = /grcmc.org\/radio\//i

	if(opener_url){
		//if the user is still in the local resonance structure
		if(re.test(opener_url)){
			//change the opener page location
			//alert('still in lr');
			window.opener.location.replace(url);
		} else {
			//alert('not in lr');
			window.opener.open(url);
		}
		window.opener.focus();
		
	} else {
		alert('out of domain');
	}

}



