var rssbm_subscribeFeed  = rssbm_subscribeFeed || "";
var rssbm_buttonImageUrl = rssbm_buttonImageUrl || "http://www.ibizradio.com/bookmark-ipod/images/rss_button02.gif";
var rssbm_colorText      = rssbm_colorText || "#000";
var rssbm_colorTextM     = rssbm_colorTextM || "#000";
var rssbm_colorLink      = rssbm_colorLink || "#FFF";
var rssbm_colorBorder    = "#eceef4";//rssbm_colorBorder || "#dde";
var rssbm_colorBgHeader  = "#eceef4";//rssbm_colorBgHeader || "#dde";
var rssbm_colorBgMenu    = rssbm_colorBgMenu || "#FFF";
var rssbm_colorBgMenuH   = rssbm_colorBgMenuH || "#FFF";
var rssbm_fontFamily     = rssbm_fontFamily || "Arial, Helvetica, sans-serif";
var rssbm_openInPopup    = rssbm_openInPopup || "yes";
var rssbm_fontSizeNormal = rssbm_fontSizeNormal || "10";
var rssbm_fontSizeSmall  = rssbm_fontSizeSmall || "10";
var rssbm_imgRightSide   = rssbm_imgRightSide || "no";
var rssbm_bookmarkPub    = rssbm_bookmarkPub || document.domain || "unknow";
var rssbm_bookmarkUrl    = "http://www.ibizradio.com/bookmark-ipod/rss.pl";
var rssbm_imagesUrl      = "http://www.ibizradio.com/bookmark-ipod/images";

var rssbm_itunesFeed     = rssbm_subscribeFeed.replace("http://", "");

function changeme(id, action) {
  if (action == 'hide') {
    document.getElementById(id).style.display = 'none';
  }
  else if (action == 'show') {
    document.getElementById(id).style.display = 'inline';
  }
  else if (action == 'noBg') {
    document.getElementById(id).style.background = rssbm_colorBgMenu;
  }
  else if (action == 'yesBg') {
    document.getElementById(id).style.background = (rssbm_colorBgMenuH) ? rssbm_colorBgMenuH : rssbm_colorBgMenu;
  }
  else {
    document.getElementById(id).style.display = (document.getElementById(id).style.display == 'inline') ? 'none' : 'inline';
  }
}

var randomID = Math.floor(Math.random()*9999999999);

//document.write('<div style="display: inline;">');
document.write('<img src="'+rssbm_buttonImageUrl+'" alt="RSS Feed Readers" title="RSS Feed Readers" border="0" style="cursor: pointer;" onClick="changeme(\'bookmarkRssBody'+randomID+'\');" onMouseOut="changeme(\'bookmarkRssBody'+randomID+'\', \'hide\');">');
document.write('<br>');
document.write('<div id="bookmarkRssBody'+randomID+'" style="display:none;" onMouseOver="changeme(\'bookmarkRssBody'+randomID+'\', \'show\');" onMouseOut="changeme(\'bookmarkRssBody'+randomID+'\', \'hide\');">');
document.write('<table id="rssContent'+randomID+'" style="position:absolute; background: '+rssbm_colorBorder+';" border="0" cellspacing="0" cellpadding="10">');
document.write('<tr>');
document.write('	<td>');
document.write('<table width="500" border="0" cellspacing="0" cellpadding="2" style="background: '+rssbm_colorBgHeader+';">');
document.write('<tr>');
document.write('	<td colspan="3">&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td colspan="3"><strong style="color: '+rssbm_colorText+'; font-size: '+rssbm_fontSizeNormal+'; font-family : '+rssbm_fontFamily+';">Subscribe to this podcast by copying the link below into your favorite podcatcher or click one of the icons:</strong></td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td colspan="3"><input type="text" value="'+rssbm_subscribeFeed+'" size="48" onClick="this.focus(); this.select();"><br></td>');
document.write('</tr>');
if (rssbm_openInPopup == 'yes') {
  document.write('<tr>');
  document.write('	<td rowspan="4" align="center" valign="top" style="background: '+rssbm_colorBgMenu+';">');
  document.write('<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'itpc://'+rssbm_itunesFeed+'\',\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/itunes.gif" alt="" width="80" hspace="80" border="0"></a><br>');
  document.write('<strong style="color: '+rssbm_colorTextM+'; font-size: '+rssbm_fontSizeNormal+'; font-family : '+rssbm_fontFamily+';">+ Add to iTunes</strong><br><br>');
  document.write('<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\'http://juicereceiver.sourceforge.net/\',\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/getjuice.gif" alt="" border="0"></a>');
  document.write('	</td>');
  document.write('	<td id="idBG_1'+randomID+'" onMouseOver="changeme(\'idBG_1'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_1'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=yahoo&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/myyahoo.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_2'+randomID+'" onMouseOver="changeme(\'idBG_2'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_2'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=odeo&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/odeo.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_3'+randomID+'" onMouseOver="changeme(\'idBG_3'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_3'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=google&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/google.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_4'+randomID+'" onMouseOver="changeme(\'idBG_4'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_4'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=podnova&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/podnova.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_5'+randomID+'" onMouseOver="changeme(\'idBG_5'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_5'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=live&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/live.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_6'+randomID+'" onMouseOver="changeme(\'idBG_6'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_6'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=newsgator&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/newsgator.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_7'+randomID+'" onMouseOver="changeme(\'idBG_7'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_7'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=pageflakes&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/pageflakes.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_8'+randomID+'" onMouseOver="changeme(\'idBG_8'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_8'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+rssbm_bookmarkUrl+'?b=bloglines&p=\'+c(rssbm_bookmarkPub)+\'&u=\'+c(rssbm_subscribeFeed),\'rssbookmark_popup\',\'left=\'+((a.screenX||a.screenLeft)+10)+\',top=\'+((a.screenY||a.screenTop)+10)+\',height=480px,width=720px,scrollbars=1,resizable=1,alwaysRaised=1\');a.setTimeout(function(){ d.focus()},300)})();"><img src="'+rssbm_imagesUrl+'/bloglines.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
} else {
  document.write('<tr>');
  document.write('	<td rowspan="4" align="center" valign="top" style="background: '+rssbm_colorBgMenu+';">');
  document.write('<a href="itpc://'+rssbm_itunesFeed+'"><img src="'+rssbm_imagesUrl+'/itunes.gif" alt="" width="80" hspace="80" border="0"></a><br>');
  document.write('<strong style="color: '+rssbm_colorTextM+'; font-size: '+rssbm_fontSizeNormal+'; font-family : '+rssbm_fontFamily+';">+ Add to iTunes</strong><br><br>');
  document.write('<a href="http://juicereceiver.sourceforge.net/"><img src="'+rssbm_imagesUrl+'/getjuice.gif" alt="" border="0"></a>');
  document.write('	</td>');
  document.write('	<td id="idBG_11'+randomID+'" onMouseOver="changeme(\'idBG_11'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_11'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=yahoo&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/myyahoo.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_12'+randomID+'" onMouseOver="changeme(\'idBG_12'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_12'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=odeo&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/odeo.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_13'+randomID+'" onMouseOver="changeme(\'idBG_13'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_13'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=google&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/google.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_14'+randomID+'" onMouseOver="changeme(\'idBG_14'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_14'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=podnova&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/podnova.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_15'+randomID+'" onMouseOver="changeme(\'idBG_15'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_15'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=live&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/live.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_16'+randomID+'" onMouseOver="changeme(\'idBG_16'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_16'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=newsgator&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/newsgator.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
  document.write('	<td id="idBG_17'+randomID+'" onMouseOver="changeme(\'idBG_17'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_17'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=pageflakes&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/pageflakes.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('	<td id="idBG_18'+randomID+'" onMouseOver="changeme(\'idBG_18'+randomID+'\', \'yesBg\');" onMouseOut="changeme(\'idBG_18'+randomID+'\', \'noBg\');" style="background: '+rssbm_colorBgMenu+';">&nbsp;<a href="'+rssbm_bookmarkUrl+'?b=bloglines&p='+encodeURIComponent(rssbm_bookmarkPub)+'&u='+encodeURIComponent(rssbm_subscribeFeed)+'"><img src="'+rssbm_imagesUrl+'/bloglines.gif" alt="" border="0"></a>&nbsp;&nbsp;</td>');
  document.write('</tr>');
}
document.write('<tr>');
document.write('	<td colspan="3" style="background: '+rssbm_colorBorder+';" align="right"><small style="color: '+rssbm_colorText+'; font-size: '+rssbm_fontSizeSmall+'; font-family : '+rssbm_fontFamily+';"><a href="http://www.ibizradio.com/" style="text-decoration: underline; color: '+rssbm_colorText+'; font-size: '+rssbm_fontSizeSmall+'; font-family : '+rssbm_fontFamily+';">iBizRadio</a> 2008 &copy; All Rights Reserved</small></td>');
document.write('</tr>');
document.write('</table>');
document.write('	</td>');
document.write('</tr>');
document.write('</table>');
document.write('</div>');
//document.write('</div>');

if (rssbm_imgRightSide == "yes") {
  var myRssPos = "rssContent" + randomID;
  document.getElementById(myRssPos).style.right = '2px';
}