// JavaScript Document

function detection(){
     launch('brmb');
}

function openpopupaudio(stheaudiourl) {
	//window.open('http://rope.icgo.fimc.net/staticweb/avplayers/vanilla/cap_audio.html?&stream='+ stheaudiourl + '&end','cap_audio','height=188, width=468, scrollbars=no');
	window.open('http://rope.icgo.fimc.net/staticweb/onair_players/one_network/listenagain.asp?station=brmb&stream='+ stheaudiourl + '&end','cap_audio','height=449, width=646, scrollbars=no');
}

// Sends the correct URL to the client
function funSendToFriendArticle() {
	var sReferrer = "http://" + document.location.hostname + "/article.asp?id=";
	if (encodeURI) sReferrer = encodeURI(sReferrer);
	else if (escape) sReferrer = escape(sReferrer);
	sReferrer = sReferrer.replace(/&/g,"%26");
	document.location.href = "/tellafriend.asp?t=the%20Article&r=" + sReferrer;
}

// New player code, 7/18/07 djb, per wo#54219
function openPlayer(station,episode) {

	if (episode == null && station != null) {
		episode = station;
	}
	playerWin = window.open('http://mediaweb.musicradio.com/player/default.asp?s=14&e='+episode,'playerWin','width=607,height=558,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0');
}