var OldData;
var Artist='';
var Title='';


if(bstrType=='data')
   {
   var Data = bstrParam.split('&');
   if(Data != OldData)
      {
      OldData=Data;
      var ArtistData=Data[0].split('=');
      if(ArtistData[0]=='artist')
	 {
	 var Artist = ArtistData[1];
	 Artist=unescape(Artist);
         var TitleData=Data[1].split('=');
	 if(TitleData[0]=='title')
	    {
	    var Title=TitleData[1];
	    Title= unescape(Title);
	    }

	if(Artist=='*** GEICO ***')
	   {
	   document.frames['300x250'].location.href = 'http://181.fm/geico/geico_block.html';
	   }
	if(Artist=='A&E GSST')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/A&E/familyjewels.html';
	   }
	if(Artist=='Budget')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/Budget/budget.html';
	   }
	if(Artist=='Esurance')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/Esurance/esurance.html';
	   }
	if(Artist=='Travelocity')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/travelocity2007/travelocity.html';
	   }
	if(Artist=='Match')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/matchcom2007/matchcom.html';
	   }
	if(Artist=='Lendingtree')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/lendingtree2007/lendingtree.html';
	   }
	if(Artist=='Pajamagram')
	   {
	   document.frames['300x250'].location.href = 'http://go.181.fm/pajamagram2007/pajamagram.html';
	   }

//////////////////////////////////////////////////////////////////////////////
//	To get Artist/Title
//	if (typeof(Artist) != "undefined")	 
//	    {
//	    document.getElementById("artist").innerHTML = '&nbsp;' + Artist;
//	    }
//	if (typeof(Title) != "undefined")
//	    document.getElementById("title").innerHTML = '&nbsp;' + Title;
//////////////////////////////////////////////////////////////////////////////

	 }
      }
   }
