<!--
function vis(Image,imgWidth,imgHeight) {
    var border = 0;
    var img = Image;
    var features;
    var w;
    var h;
    winWidth = (imgWidth<100) ? 100 : imgWidth+border;
    winHeight = (imgHeight<100) ? 100 : imgHeight+border;
    if (imgWidth+border > screen.width) {
        winWidth = screen.width-40;
        w = (screen.width - winWidth)/2;
        features = "scrollbars=yes";      
    } else {
        w = (screen.width - (imgWidth+border))/2;
    }
    if (imgHeight+border > screen.height) {
        winHeight = screen.height-90;
        h = 0;
        features = "scrollbars=yes";      
    } else {
        h = (screen.height - (imgHeight+border))/2 - 20;
    }
    theURL = 'undersider/bilde.php?url='+Image;
    winName = (img.indexOf("t_") == -1) ? img.substr(14,(img.length-18)) : img.substr(16,(img.length-20));
    features = features+',toolbar=no,width='+winWidth+',height='+winHeight+',top='+h+',left='+w;
    popup = window.open(theURL,winName,features);
    popup.focus(); }
	
nav = navigator.appName.substring(0,3);
ver = navigator.appVersion.substring(0,1)

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers)
setTimeout("window.onresize=regenerate",450)
}
function changetext(whichcontent){
if (document.all)
descriptions.innerHTML='<font face="Verdana" size=1>'+whichcontent+'<font>'
else if (document.layers){
document.d1.document.d2.document.write('<font face="Verdana" size=1>'+whichcontent+'</font>')
document.d1.document.d2.document.close()
}}
//-->

