document.write('\
<style type="text/css">\
#bookmark{margin-top:6px; font:normal 11px Arial}\
#bookmark a:hover{text-decoration:none}\
#morepopmenu{color:#FF8000}\
#dropmenudiv{margin-top:12px;padding:6px 0px 6px 12px;clear:both;position:absolute;border:1px solid #F5F5F5;font:normal 11px Verdana;line-height:18px;z-index:100}\
#dropmenudiv a{width:100%;display:block;text-indent:3px;border-bottom:1px solid #F8F8F8;padding:1px 0;text-decoration:none;font:normal 11px Arial}\
#dropmenudiv a:hover{background-color:#F0F8FF}\
</style>');

var URLs={
'Google Bookmarks':'http://www.google.com/bookmarks/mark?op=add&bkmk=URL_FIELD&title=TITLE_FIELD&labels=TAG_FIELD&annotation=DESCRIPTION_FIELD&cd=bm&btnA=Add',
'digg.com':'http://digg.com/submit?phase=2&url=URL_FIELD&title=TITLE_FIELD&bodytext=DESCRIPTION_FIELD&topic=TAG_FIELD',
'Technorati.com':'http://technorati.com/faves/?add=URL_FIELD',
'Yahoo':'http://myweb2.search.yahoo.com/myresults/bookmarklet?u=URL_FIELD&t=TITLE_FIELD',
'del.icio.us':'http://del.icio.us/post/?url=URL_FIELD&title=TITLE_FIELD&notes=DESCRIPTION_FIELD&tags=TAG_FIELD',
'Propeller.com':'http://www.propeller.com/submit?storyUrl=URL_FIELD&storyTitle=TITLE_FIELD&storyText=DESCRIPTION_FIELD&storyTags=TAG_FIELD',
'StumbleUpon.com':'http://www.stumbleupon.com/submit?url=URL_FIELD&title=TITLE_FIELD&newcomment=DESCRIPTION_FIELD&tagnames=TAG_FIELD',
'reddit.com':'http://reddit.com/submit?url=URL_FIELD&title=TITLE_FIELD',
'Business Directory':'http://www.bizearch.com/bookmark?url=URL_FIELD&title=TITLE_FIELD&description=DESCRIPTION_FIELD&tags=TAG_FIELD',
'Fark.com':'http://www.fark.com/',
'MyBlogLog.com':'http://www.mybloglog.com/',
'Slashdot.org':'http://www.slashdot.org/',
'kaboodle.com':'http://www.kaboodle.com/',
'Bloglines.com':'http://www.bloglines.com/',
'newsvine.com':'http://www.newsvine.com/_tools/seed&save?u=URL_FIELD&h=TITLE_FIELD&blurb=DESCRIPTION_FIELD&tags={TAGS}',
'blinklist.com':'http://www.blinklist.com/?Action=Blink/addblink.php&Description=DESCRIPTION_FIELD&Url=URL_FIELD&Title=TITLE_FIELD&Tag=TAG_FIELD',
'netvouz.com':'http://www.netvouz.com/action/submitBookmark?url=URL_FIELD&name=TITLE_FIELD&description=DESCRIPTION_FIELD&ta=TAG_FIELD&note=',
'clipmarks.com':'http://www.clipmarks.com/',
'Furl.net':'http://www.furl.net/savedialog.jsp?p=1&t=TITLE_FIELD&u=URL_FIELD&r=&v=1&c=&topics=&description=DESCRIPTION_FIELD&keywords=TAG_FIELD',
'Mister-Wong':'http://www.mister-wong.de/',
'dzone.com':'http://www.dzone.com/',
'ma.gnolia.com':'http://www.ma.gnolia.com/',
'Tailrank.com':'http://www.tailrank.com/',
'ShoutWire.com':'http://www.shoutwire.com/',
'simpy.com':'http://www.simpy.com/simpy/LinkAdd.do?href=URL_FIELD&title=TITLE_FIELD&tags=TAG_FIELD&note=DESCRIPTION_FIELD',
'BlogMarks.net':'http://blogmarks.net/my/marks,new?url=URL_FIELD&title=TITLE_FIELD&content=DESCRIPTION_FIELD&public-tags=TAG_FIELD&private-tags=&via=',
'BlueDot.us':'http://bluedot.us/Authoring.aspx?u=URL_FIELD&t=TITLE_FIELD&noteText=DESCRIPTION_FIELD&tagsText=TAG_FIELD',
'Spurl.net':'http://www.spurl.net/spurl.php?url=URL_FIELD&title=TITLE_FIELD&keywords=TAG_FIELD&description=DESCRIPTION_FIELD',
'Spotplex.com':'http://www.spotplex.com/',
'linkswarm.com':'http://www.linkswarm.com/',
'Spotback.com':'http://www.spotback.com/',
'PlugIm.com':'http://www.plugim.com/submit?url=URL_FIELD&title=TITLE_FIELD',
'MyBookmarks.com':'http://www.mybookmarks.com/',
'HI.WTC':'http://www.hiwtc.com/bookmarks/save?url=URL_FIELD&title=TITLE_FIELD&description=DESCRIPTION_FIELD&tags=TAG_FIELD'};


var menuwidth='165px' //default menu width
var menubgcolor='#FFFFFF'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all;
var ns6=document.getElementById&&!document.all;
var nsie=ie4||ns6;
if (nsie){
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>');
}
function getposOffset(o, offsettype){
		var totaloffset=(offsettype=="left")? o.offsetLeft : o.offsetTop;
		var parentEl=o.offsetParent;
		while (parentEl!=null){
				totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
				parentEl=parentEl.offsetParent;
		}
		return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
		if (nsie)
				dropmenuobj.style.left=dropmenuobj.style.top="-500px";
				if (menuwidth!=""){
						dropmenuobj.widthobj=dropmenuobj.style;
						dropmenuobj.widthobj.width=menuwidth;
				}
				if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
						obj.visibility=visible;
				else if (e.type=="click")
						obj.visibility=hidden;
}

function iecompattest(){
		return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
}

function clearbrowseredge(obj, whichedge){
		var edgeoffset=0;
		if (whichedge=="rightedge"){
				var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15;
				dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;
				if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
						edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth;
		}
		else{
				var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset;
				var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18;
				dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;
						if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
								edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight;
								if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
										edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge;
						}
		}
		return edgeoffset;
}

function populatemenu(what){
		if (nsie)
			dropmenuobj.innerHTML=what.join("");
}


function dropdownmenu(obj, e, menucontents, menuwidth){
		if (window.event)
				event.cancelBubble=true;
		else if (e.stopPropagation)
				e.stopPropagation();
		clearhidemenu();
		dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv;
		populatemenu(menucontents);

		if (nsie){
				showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth);
				dropmenuobj.x=getposOffset(obj, "left");
				dropmenuobj.y=getposOffset(obj, "top");
				dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px";
				dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px";
		}

		return clickreturnvalue();
}

function clickreturnvalue(){
		if (nsie)return false;
		else return true;
}

function contains_ns6(a, b) {
		while (b.parentNode)
				if ((b = b.parentNode) == a)
						return true;
		return false;
}

function dynamichide(e){
		if (ie4&&!dropmenuobj.contains(e.toElement))
				delayhidemenu();
		else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
				delayhidemenu();
}

function hidemenu(e){
		if (typeof dropmenuobj!="undefined"){
				if (nsie)
					dropmenuobj.style.visibility="hidden";
		}
}

function delayhidemenu(){
		if (nsie)
				delayhide=setTimeout("hidemenu()",disappeardelay);
}

function clearhidemenu(){
		if (typeof delayhide!="undefined")
				clearTimeout(delayhide);
}

if (hidemenu_onclick=="yes")
		document.onclick=hidemenu;
		
function _rpl(s){for(var j in x_arr){s=s.replace(x_arr[j],function(str,p1){if(p1!='')return encodeURIComponent(afs[j]);})}return s;}
var skipNum=4;
var tagName="meta";
var strURL=document.location.href;
var strTITLE=document.title;
var strDESCRIPTION="";
var strTAG="";
if(window.document.getElementsByTagName && window.document.getElementsByTagName(tagName)){
				var a = window.document.getElementsByTagName(tagName);
				for(var i=0; i<a.length; i++){
						if(a[i].getAttribute("name")){
								if(a[i].getAttribute("name").toLowerCase() == "description")
										strDESCRIPTION=a[i].getAttribute("content")?a[i].getAttribute("content"):"";
								else if(a[i].getAttribute("name").toLowerCase() == "keywords")
										strTAG=a[i].getAttribute("content")?a[i].getAttribute("content"):"";
						}
						else if(a[i].getAttribute("httpEquiv")){
								if(a[i].getAttribute("httpEquiv").toLowerCase() == "description")
										strDESCRIPTION=a[i].getAttribute("content")?a[i].getAttribute("content"):"";
								else if(a[i].getAttribute("httpEquiv").toLowerCase() == "keywords")
										strTAG=a[i].getAttribute("content")?a[i].getAttribute("content"):"";
						}
				}
		}
		else {
				if(window.document.getElementsByName && window.document.getElementsByName("description") && window.document.getElementsByName("description")[0]){
						strDESCRIPTION=window.document.getElementsByName("description")[0].getAttribute("content");
				}
				if(window.document.getElementsByName && window.document.getElementsByName("keywords") && window.document.getElementsByName("keywords")[0]){
						strTAG=window.document.getElementsByName("keywords")[0].getAttribute("content");
				}
		}
var x_arr=new Array(/(URL_FIELD)/, /(TITLE_FIELD)/, /(DESCRIPTION_FIELD)/,/(TAG_FIELD)/);
var afs=new Array(strURL, strTITLE, strDESCRIPTION, strTAG);
var popItems = new Array();
var cnt=0;
document.write('<div id="bookmark">');
for(var i in URLs){
		var s=_rpl(URLs[i]);
		if(++cnt<skipNum){
				document.write('<a href="'+s+'" target="_blank">'+i+'</a>&nbsp;&nbsp;');
		}
		else if(cnt == skipNum){
				document.write('&nbsp;&nbsp;<a href="javascript:;" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, popItems, \'150px\')" onMouseout="delayhidemenu()" id="morepopmenu">More &gt;&gt;</a>');
				popItems[popItems.length]='<a href="'+s+'" target="_blank">'+i+'</a>';
		}
		else{
				popItems[popItems.length]='<a href="'+s+'" target="_blank">'+i+'</a>';
		}
}
popItems[popItems.length]='<a href="http://www.hiwtc.com/download/top35-largest-social-bookmarking-site.zip" target="_blank" title="download this menu, promoting & socializing your website!!">Download Menu</a>';
document.write('</div>');