// <!--
//===================================
// AddThis Boorkmaking Widget  
// This notice MUST stay intact for legal use
// Copyright 2007 - AddThis.com (www.addthis.com)
//===================================
// -->
var bookmark_prevelt;var bookmark_url='';var bookmark_title='';
function bookmark(elt){bookmark_url = location.href;bookmark_title = document.title;var dropdown = document.getElementById('bookmark_dropdown');if (dropdown.style.display=='none' || elt!=bookmark_prevelt){dropdown.style.display='block';var totpos = bookmark_cumulpos(elt);dropdown.style.left = Math.max(6, totpos[0]-60) + 'px';dropdown.style.top  = (totpos[1] + elt.offsetHeight) + 'px';} else {dropdown.style.display='none';}
bookmark_prevelt=elt;return false;}
function bookmark_hidewindow(){var dropdown = document.getElementById('bookmark_dropdown');dropdown.style.display='none';return false;}
function bookmark_favorite(){bookmark_hidewindow();if (document.all)window.external.AddFavorite(bookmark_url, bookmark_title);else window.sidebar.addPanel(bookmark_title, bookmark_url, '');return false;}
function bookmark_to(theservice){bookmark_hidewindow();if (theservice == "delicious"){window.open("https://secure.del.icio.us/login?url="+encodeURIComponent(bookmark_url)+"&title="+encodeURIComponent(bookmark_title), "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}
if (theservice == "google"){window.open("https://www.google.com/accounts/ServiceLogin?hl=en&continue=http://www.google.com/bookmarks/mark%3Fop%3Dadd%26bkmk%3D"+encodeURIComponent(bookmark_url)+"%252F%26title%3D"+encodeURIComponent(bookmark_title)+"&nui=1&service=bookmarks", "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}
if (theservice == "su"){window.open("http://www.stumbleupon.com/submit?url="+encodeURIComponent(bookmark_url)+"&title="+encodeURIComponent(bookmark_title), "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}
if (theservice == "furl"){window.open("http://furl.net/storeIt.jsp?u="+encodeURIComponent(bookmark_url)+"&t="+encodeURIComponent(bookmark_title), "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}
if (theservice == "digg"){window.open("http://digg.com/login", "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}
if (theservice == "technorati"){window.open("http://technorati.com/signup/?f=favorites", "AddToFavorite", "scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no");}	 
return false;}
function bookmark_cumulpos(a){var b=0,c=0;do{ b+=a.offsetTop||0;c+=a.offsetLeft||0;a=a.offsetParent;} 
while(a);return [c,b];}
function bookmark_highlight(elt, hl){if (hl)elt.style.backgroundColor='#FFEA96';else elt.style.backgroundColor='';}
function bookmark_window(){
var body = '<div id="bookmark_dropdown" style="width: 150px;position:absolute;display:none;border:#ccc solid 1px;background:#1C4B7A;padding:1px 1px 0px 1px;overflow: hidden;">';
body+= '<table id="bookmark_header" style="height:15px;padding:3px;background-color:#3D6A95;" width="100%" cellpadding="0">';
body+= '<tr><td style="font-size:14px;font-weight:bold;text-align:center;color:#F6DE7E;">Add this page to:</td></tr>';  
body+= '</table>';  
body+= '<table id="bookmark_services" width="100%" cellpadding="0" class="bookmark">';
body+= '<tr>'; 
if (navigator.appName == "Netscape"){body+= '<td width="50%"><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_favorite()"><img src="http://images.cableorganizer.com/bkmkicon/firefox.gif" style="border:none; vertical-align:middle;" /> &nbsp; My Browser</a></td>';}
else{body+= '<td width="50%"><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_favorite()"><img src="http://images.cableorganizer.com/bkmkicon/ie.gif" style="border:none; vertical-align:middle;" /> &nbsp; My Browser</a></td>';}	 
body+= '</tr><tr>'; 
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'delicious\')"><img src="http://images.cableorganizer.com/bkmkicon/delicious.gif" style="border:none; vertical-align:middle;" /> &nbsp; Del.icio.us</a></td>';
body+= '</tr><tr>';
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'google\')"><img src="http://images.cableorganizer.com/bkmkicon/goog.gif" style="border:none; vertical-align:middle;" /> &nbsp; Google Bookmarks</a></td>';
body+= ' </tr><tr>';    
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'su\');"><img src="http://images.cableorganizer.com/bkmkicon/su.gif" style="border:none; vertical-align:middle;" /> &nbsp; Stumble Upon</a></td>';
body+= '</tr><tr>';
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'furl\');"><img src="http://images.cableorganizer.com/bkmkicon/furl.gif" style="border:none; vertical-align:middle;" /> &nbsp; Furl</a></td>';
body+= '</tr><tr>';  
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'digg\');"><img src="http://images.cableorganizer.com/bkmkicon/digg.gif" style="border:none; vertical-align:middle;" /> &nbsp; Digg</a></td>';
body+= '</tr><tr>';
body+= '<td><a href="/" onmouseover="bookmark_highlight(this, true)" onmouseout="bookmark_highlight(this, false)" onclick="return bookmark_to(\'technorati\')"><img src="http://images.cableorganizer.com/bkmkicon/technorati.gif" style="border:none; vertical-align:middle;" /> &nbsp; Technorati2</a></td>';
body+= '</tr>';body+= '</table>';body+= '</div>';document.write(body);}
bookmark_window();