function refreshCam(){
rfsh = new Date() ; rfsh = "?"+rfsh.getTime()
document.images["webcam"].src = "http://stipey.myftp.org:8050"+rfsh
setTimeout("refreshCam()", 4000)
}


function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.5
else if (which2.filters)
which2.filters.alpha.opacity=50
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

var linktext=new Array()
linktext[0]="<b>Om meg</b>"
linktext[1]="<b>Blog</b>"
linktext[2]="<b>Webcam</b>"
linktext[3]="<b>Venner</b>"
linktext[4]="<b>Musikk</b>"
linktext[5]="<b>Dikt</b>"
linktext[6]="<b>Tegninger</b>"
linktext[7]="<b>Gjestebok</b>"
linktext[8]="<b>Om siden</b>"
linktext[9]="<b>Index</b>"
linktext[10]="<b>Redd</b>"
linktext[11]="<b>Bena rundt<br> nakken</b>"
linktext[12]="<b>Du og jeg</b>"
linktext[13]="<b>Pointy<br> suggestions</b>"

var ns6=document.getElementById&&!document.all
var ie=document.all

function show_text(thetext, whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML=linktext[thetext]
else if (ns6) document.getElementById(whichdiv).innerHTML=linktext[thetext]
}

function reset(whichdiv){
if (ie) eval("document.all."+whichdiv).innerHTML='&nbsp;'
else if (ns6) document.getElementById(whichdiv).innerHTML='&nbsp;'
}

function pop_vindu(url) {
  var popit = window.open(url,'_new','toolbar=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,width=360,height=530');
}

