var bm_buttonImageUrl = bm_buttonImageUrl || "http://www.iblogbusiness.com/images/bookmark/bookmark01.gif";
var bm_colorText      = bm_colorText || "#000";
var bm_colorText      = bm_colorText || "#000";
var bm_colorLink      = bm_colorLink || "#000";
var bm_colorBorder    = bm_colorBorder || "Silver";
var bm_colorBgHeader  = bm_colorBgHeader || "#E0E0E0";
var bm_colorBgMenu    = bm_colorBgMenu || "#FFF";
var bm_colorBgMenuH   = bm_colorBgMenuH || "#F7F7F7";
var bm_fontFamily     = bm_fontFamily || "Arial, Helvetica, sans-serif";
var bm_fontSizeNormal = bm_fontSizeNormal || "12";
var bm_fontSizeSmall  = bm_fontSizeSmall || "10";
var bm_bookmarkPub    = bm_bookmarkPub || document.domain || "unknow";
var bm_bookmarkUrl    = "http://www.iblogbusiness.com/bookmark/bookmark.pl";
var bm_bookmarkSite   = bm_bookmarkSite || document.location;
var bm_bookmarkTitle  = bm_bookmarkTitle || document.title;
var bm_imagesUrl      = "http://www.iblogbusiness.com/images/bookmark/menu";

function changeme(id, action) {
  if (bm_imgRightSide == 'yes') {
    document.getElementById(id).style.right = '2px';
  }
  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 = bm_colorBgMenu;
  }
  else if (action == 'yesBg') {
    document.getElementById(id).style.background = (bm_colorBgMenuH) ? bm_colorBgMenuH : bm_colorBgMenu;
  }
  else {
    document.getElementById(id).style.display = (document.getElementById(id).style.display == 'inline') ? 'none' : 'inline';
  }
}

var randomID = Math.floor(Math.random()*9999999999);

document.write('<table border="0" cellspacing="0" cellpadding="0"><tr><td>');
document.write('<img src="'+bm_buttonImageUrl+'" alt="Social Bookmarks" title="Social Bookmarks" border="0" style="cursor: pointer;" onClick="changeme(\'bookmarkBody'+randomID+'\');" onMouseOut="changeme(\'bookmarkBody'+randomID+'\', \'hide\');">');
document.write('</td></tr>');
document.write('<tr><td>');
document.write('<table id="bookmarkBody'+randomID+'" style="position:absolute;display:none;" onMouseOver="changeme(\'bookmarkBody'+randomID+'\', \'show\');" onMouseOut="changeme(\'bookmarkBody'+randomID+'\', \'hide\');" border="0" cellspacing="0" cellpadding="1">');
document.write('<tr>');
document.write('	<td style="background-color: '+bm_colorBorder+';">');
document.write('<table border="0" cellspacing="0" cellpadding="2">');
document.write('<tr>');
document.write('	<td colspan="2" style="background-color: '+bm_colorBgHeader+';">&nbsp;<strong style="color: '+bm_colorText+'; font-size: '+bm_fontSizeNormal+'; font-weight: bold; font-family : '+bm_fontFamily+';">Bookmark to:</strong></td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_1" onMouseOver="changeme(\'idBG_1\', \'yesBg\');" onMouseOut="changeme(\'idBG_1\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:if ((navigator.appName == \'Microsoft Internet Explorer\') && (document.all)) {window.external.AddFavorite(bm_bookmarkSite, bm_bookmarkTitle)} else if (window.sidebar) {window.sidebar.addPanel(bm_bookmarkTitle, bm_bookmarkSite, \'\')} else {alert(\'Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark\')};" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/ie.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">My&nbsp;Browser</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_2" onMouseOver="changeme(\'idBG_2\', \'yesBg\');" onMouseOut="changeme(\'idBG_2\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=furl&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/furl.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Furl</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_3" onMouseOver="changeme(\'idBG_3\', \'yesBg\');" onMouseOut="changeme(\'idBG_3\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=delicious&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/delicious.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Del.icio.us</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_4" onMouseOver="changeme(\'idBG_4\', \'yesBg\');" onMouseOut="changeme(\'idBG_4\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=stumbleupon&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/stumbleupon.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">StumbleUpon</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_5" onMouseOver="changeme(\'idBG_5\', \'yesBg\');" onMouseOut="changeme(\'idBG_5\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=digg&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/digg.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Digg</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_6" onMouseOver="changeme(\'idBG_6\', \'yesBg\');" onMouseOut="changeme(\'idBG_6\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=live&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/live.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Live</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_7" onMouseOver="changeme(\'idBG_7\', \'yesBg\');" onMouseOut="changeme(\'idBG_7\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=technorati&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/technorati.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Technorati</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_8" onMouseOver="changeme(\'idBG_8\', \'yesBg\');" onMouseOut="changeme(\'idBG_8\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=google&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+';" font-family : '+bm_fontFamily+';><img src="'+bm_imagesUrl+'/google.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Google</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_9" onMouseOver="changeme(\'idBG_9\', \'yesBg\');" onMouseOut="changeme(\'idBG_9\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=ask&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/ask.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Ask</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_10" onMouseOver="changeme(\'idBG_10\', \'yesBg\');" onMouseOut="changeme(\'idBG_10\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=myweb&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/yahoo.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Yahoo&nbsp;MyWeb</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('<tr>');
document.write('	<td id="idBG_11" onMouseOver="changeme(\'idBG_11\', \'yesBg\');" onMouseOut="changeme(\'idBG_11\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?b=reddit&p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/reddit.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">Reddit</sup></a>&nbsp;&nbsp;</td>');
document.write('	<td id="idBG_12" onMouseOver="changeme(\'idBG_12\', \'yesBg\');" onMouseOut="changeme(\'idBG_12\', \'noBg\');" style="background-color: '+bm_colorBgMenu+';">&nbsp;<a href="javascript:(function(){var a=window,b=document,c=encodeURIComponent,d=a.open(\''+bm_bookmarkUrl+'?p=\'+c(bm_bookmarkPub)+\'&u=\'+c(bm_bookmarkSite)+\'&t=\'+c(bm_bookmarkTitle),\'bookmark_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)})();" style="text-decoration: none; color: '+bm_colorLink+'; font-size: '+bm_fontSizeNormal+'; font-family : '+bm_fontFamily+';"><img src="'+bm_imagesUrl+'/bookmarkplus.gif" alt="" width="16" height="16" border="0">&nbsp;<sup style="color: '+bm_colorLink+'; font-family : '+bm_fontFamily+';">More...</sup></a>&nbsp;&nbsp;</td>');
document.write('</tr>');
document.write('</table>');
document.write('	</td>');
document.write('</tr>');
document.write('</table>');
document.write('</td></tr></table>');
