//=============================================
// Copyright 2007 AddThis.com
// This code can only be used if kept unchanged
// This notice must stay for legal use
//=============================================
var addthis_prevelt;
var addthis_url='';
var addthis_title='';
function addthis_bookmark(elt){
addthis_url = location.href;
addthis_title = document.title;
var dropdown = document.getElementById('addthis_dropdown');
if (dropdown.style.display=='none' || elt!=addthis_prevelt){
dropdown.style.display='block';
var totpos = addthis_cumulpos(elt);
dropdown.style.left = totpos[0] + 'px';
dropdown.style.top = (totpos[1] + elt.offsetHeight) + 'px';
} else {
dropdown.style.display='none';
}
addthis_prevelt=elt;
return false;
}
function addthis_hidewin(){
var dropdown = document.getElementById('addthis_dropdown');
dropdown.style.display='none';
return false;
}
function addthis_fav(){
addthis_hidewin();
if (document.all)
window.external.AddFavorite(addthis_url, addthis_title);
else
window.sidebar.addPanel(addthis_title, addthis_url, '');
return false;
}
function addthis_to(theservice){
addthis_hidewin();
window.open('http://www.addthis.com/bookmark.php?pub=ientry&s='+theservice+'&url='+encodeURIComponent(addthis_url)+'&title='+encodeURIComponent(addthis_title), 'addthis', 'scrollbars=yes,menubar=no,width=600,height=400,resizable=yes,toolbar=no,location=no,status=no');
return false;
}
function addthis_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 addthis_stylesheet() {
sheet = document.createElement("link");
sheet.rel = "stylesheet";
sheet.type = "text/css";
sheet.href = "http://s3.addthis.com/css/dropdown2.css";
sheet.media = "all";
document.lastChild.firstChild.appendChild(sheet);
}
function addthis_genwin(){
addthis_stylesheet();
var body = '
';
body+= '
';
body+= ' Bookmark using:  | [Close] |
';
body+= '
';
body+= '
';
body+= '
';
body+= '
';
document.write(body);
}
addthis_genwin();