//Contents for menu 2, and so on
		
var menu2=new Array()
		menu2[0] = "";
		menu2[1] = "";
		menu2[2] = "";
		menu2[3] = "";
		menu2[4] = "";
		menu2[5] = "";
		menu2[6] = "";
		menu2[7] = "";
		menu2[8] = "";
		menu2[9] = "";
menu2[0]="<a class='black11b' target='_blank' href='http://del.icio.us/post?url="+window.location.href+"' title='Add this to Delicious' alt='Add this to Delicious'><img src='images/bookmarks/delicious.png' border='0'  >&nbsp;&nbsp;&nbsp;Del.icio.us</a>"

menu2[1]="<a class='black11b' target='_blank' href='http://reddit.com/submit?url="+window.location.href+"' title='Add this to Reddit' alt='Add this to Reddit' ><img src='images/bookmarks/reddit.png' border='0'  >&nbsp;&nbsp;&nbsp;Reddit</a>"

menu2[2]="<a class='black11b' target='_blank' href='http://myweb2.search.yahoo.com/myresults/bookmarklet?url="+window.location.href+"' title='Add this to Yahoo' alt='Add this to Yahoo' ><img src='images/bookmarks/yahoomyweb.png' border='0'  >&nbsp;&nbsp;&nbsp;Yahoo</a>"

menu2[3]="<a class='black11b' target='_blank'  href='http://digg.com/submit?url="+window.location.href+"' title='Add this to Digg' alt='Add this to Digg' ><img src='images/bookmarks/diggman.png' border='0'  >&nbsp;&nbsp;&nbsp;Digg</a>"
menu2[4]="<a class='black11b' target='_blank' href='http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Description=&amp;Url="+window.location.href+"' title='Add this to Blinklist' alt='Add this to Blinklist' ><img src='images/bookmarks/blinklist.png' border='0'  >&nbsp;&nbsp;&nbsp;Blinklist</a>"
menu2[5]="<a class='black11b' target='_blank' href='http://blogmarks.net/my/new.php?mini=1&simple=1&url="+window.location.href+"' title='Add this to Blogmarks' alt='Add this to Blogmarks' ><img src='images/bookmarks/blogmarks.png' border='0'  >&nbsp;&nbsp;&nbsp;Blogmarks</a>"
menu2[6]="<a class='black11b' target='_blank' href='http://cgi.fark.com/cgi/fark/edit.pl?new_url="+window.location.href+"' title='Add this to Fark' alt='Add this to Fark' ><img src='images/bookmarks/fark.png' border='0'  >&nbsp;&nbsp;&nbsp;Fark</a>"
menu2[7]="<a class='black11b' target='_blank' href='http://www.furl.net/storeIt.jsp?t=Troubleshooting+tip+%238+-+Look+for+memory+leaks&amp;u="+window.location.href+"' title='Add this to Furl' alt='Add this to Furl' ><img src='images/bookmarks/furl.png' border='0'  >&nbsp;&nbsp;&nbsp;Furl</a>"
menu2[8]="<a class='black11b' target='_blank' href='http://www.newsvine.com/_tools/seed&save?u="+window.location.href+"' title='Add this to Newsvine' alt='Add this to Newsvine' ><img src='images/bookmarks/newsvine.png' border='0'  >&nbsp;&nbsp;&nbsp;Newsvine</a>"
menu2[9]="<a class='black11b' target='_blank' href='http://bluedot.us/Authoring.aspx' title='Add this to Dots' alt='Add this to Dots'><img src='images/bookmarks/dot_this.gif' border='0'  />&nbsp;&nbsp;&nbsp;Dot This</a>"


var menuwidth='300px' //default menu width
var menubgcolor='#FDE1B9'  //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

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu1()" onMouseout="dynamichide1(event)"></div>')

function getposOffset1(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide1(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
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 iecompattest1(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge1(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest1().scrollLeft+iecompattest1().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? iecompattest1().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest1().scrollTop+iecompattest1().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 populatemenu1(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}



function menudropdown(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu1()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu1(menucontents)

if (ie4||ns6){
showhide1(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset1(obj, "left")
dropmenuobj.y=getposOffset1(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-20-clearbrowseredge1(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y+3-clearbrowseredge1(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue1()
}

function clickreturnvalue1(){
if (ie4||ns6) return false
else return true
}

function contains_ns61(a, b) {
if(b){
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
}	
return false;
}

function dynamichide1(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu1()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns61(e.currentTarget, e.relatedTarget))
delayhidemenu1()
}

function hidemenu1(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu1(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu1()",disappeardelay)
}

function clearhidemenu1(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

