fin meny script

<script language="JavaScript1.2">

/***********************************************
* Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
***********************************************/
var slidemenu_width='197px' //specify width of menu (in pixels)
var slidemenu_height='509px'
var slidemenu_reveal='45px' //specify amount that menu should protrude initially
var slidemenu_top='170px' //specify vertical offset of menu on page

var ns4=document.layers?1:0
var ie4=document.all
var ns6=document.getElementById&&!document.all?1:0

if (ie4||ns6)
document.write('<div id="slidemenubar2" style="left:'+((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)+'px; top:'+slidemenu_top+'; width:'+slidemenu_width+'" onMouseover="pull()" onMouseout="draw()">')
else if (ns4){
document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';}\n<\/style>\n')
document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' onMouseover="pull()" onMouseout="draw()" visibility=hide>')
}

var sitems=new Array()

///////////Edit below/////////////////////////////////

//siteitems[x]=["Item Text", "Optional URL associated with text"]

sitems[0]=["<h3>Kategorier</h3>", ""]
sitems[1]=["• Bilder på mig", "http://hannalovisasol.se/category/bilder-pa-mig.html"]
sitems[2]=["• Design", "http://hannalovisasol.se/category/design.html"]
sitems[3]=["• Film&TV", "http://hannalovisasol.se/category/film.html"]
sitems[4]=["• Foto", "http://hannalovisasol.se/category/foto.html"]
sitems[5]=["• Frukost&Mellanmål", "http://hannalovisasol.se/category/frukostmellanmal.html"]
sitems[6]=["• Balsammetoden", "http://hannalovisasol.se/category/balsammetoden.html"]
sitems[7]=["• Frågor&Svar", "http://hannalovisasol.se/category/fragor-svar.html"]
sitems[8]=["• Hästar&Ridning", "http://hannalovisasol.se/category/hastar-ridning.html"]
sitems[9]=["• Idolbilder", "http://hannalovisasol.se/category/idolbilder.html"]
sitems[10]=["• Julkalendrar", "http://hannalovisasol.se/category/julkalendrar.html"]
sitems[11]=["• Mat", "http://hannalovisasol.se/category/mat.html"]
sitems[12]=["• Naglar", "http://hannalovisasol.se/category/naglar.html"]
sitems[13]=["• Outfits", "http://hannalovisasol.se/category/outfits.html"]
sitems[14]=["• Photoshop", "http://hannalovisasol.se/category/photoshop.html"]
sitems[15]=["• Citat", "http://hannalovisasol.se/category/quotes.html"]
sitems[16]=["• Recept", "http://hannalovisasol.se/category/recept.html"]
sitems[17]=["• Ritat", "http://hannalovisasol.se/category/ritat.html"]
sitems[18]=["• Shopping", "http://hannalovisasol.se/category/shopping-klader.html"]
sitems[19]=["• Tips&Tricks", "http://hannalovisasol.se/category/tips-tricks.html"]
sitems[20]=["• Träning&Hälsa", "http://hannalovisasol.se/category/traning-halsa.html"]
sitems[21]=["• Tävlingar", "http://hannalovisasol.se/category/tavlingar.html"]
sitems[22]=["• Utmaningar", "http://hannalovisasol.se/category/utmaningar.html"]
sitems[23]=["• Vardagligheter", "http://hannalovisasol.se/category/vardagligheter.html"]
sitems[24]=["• Veckans/dagensblogg", "http://hannalovisasol.se/category/veckansdagens-blogg.html"]
sitems[25]=["• Videoinlägg", "http://hannalovisasol.se/category/videoinlagg.html"]

//If you want the links to load in another frame/window, specify name of target (ie: target="_new")
var target=""

/////////////////////////////////////////////////////////

if (ie4||ns4||ns6){
for (i=0;i<sitems.length;i++){
if (sitems[i][1])
document.write('<a href="'+sitems[i][1]+'" target="'+target+'">')
document.write(sitems[i][0])
if (sitems[i][1])
document.write('</a>')
document.write('<br>\n')
}
}

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (ns4){
document.slidemenubar.left=((parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1)
document.slidemenubar.visibility="show"
setTimeout("window.onresize=regenerate",400)
}
}
window.onload=regenerate2

rightboundary=0
leftboundary=(parseInt(slidemenu_width)-parseInt(slidemenu_reveal))*-1

if (ie4||ns6){
document.write('</div>')
themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style
}
else if (ns4){
document.write('</layer>')
themenu=document.layers.slidemenubar
}

function pull(){
if (window.drawit)
clearInterval(drawit)
pullit=setInterval("pullengine()",10)
}
function draw(){
clearInterval(pullit)
drawit=setInterval("drawengine()",10)
}
function pullengine(){
if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary)
themenu.left=parseInt(themenu.left)+10+"px"
else if(ns4&&themenu.left<rightboundary)
themenu.left+=10
else if (window.pullit){
themenu.left=0
clearInterval(pullit)
}
}

function drawengine(){
if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary)
themenu.left=parseInt(themenu.left)-10+"px"
else if(ns4&&themenu.left>leftboundary)
themenu.left-=10
else if (window.drawit){
themenu.left=leftboundary
clearInterval(drawit)
}
}
</script>