// handelsbetingelser
function hb(mylink, windowname, refocus)
{var mywin, href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
mywin = window.open('bestil.htm#hb','bestil','width=440,height=560,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');

// if we just opened the window
if (mywin.closed || 
   (! mywin.document.URL) || 
   (mywin.document.URL.indexOf("about") == 0))
   mywin.location=href;
else if (refocus) mywin.focus(); return false;}

//........//

function pop(mylink, windowname, refocus)
{var mywin, href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
mywin = window.open('bestil.htm#','bestil','width=440,height=560,top=11,left=2,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');

// if we just opened the window
if (mywin.closed || 
   (! mywin.document.URL) || 
   (mywin.document.URL.indexOf("about") == 0))
   mywin.location=href;
else if (refocus) mywin.focus(); return false;
}
//........//
function butik() {window.open('butik.htm#','butik','width=750,height=550,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=yes,scrollbars=yes,resizable=yes');}
//........//
function aabn() {window.open('butik.htm#aabning','aabn','width=690,height=200,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');}
//........//
function stifinder() {window.open('butik.htm#adresse','stifinder','width=750,height=450,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');} 
//........//
function browser() {window.open('browser.htm#','browser','width=550,height=580,top=11,left=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes');} 


//...Static combo box.....//
<!--
//enter "" for current window, "_new" for new window", or "framename" for name of frame
var linktarget="" 
function gone(){if (linktarget=="")
location=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
else if (linktarget=="_new")
window.open(document.jumpy.example.options[document.jumpy.example.selectedIndex].value)
else{targetobj=eval("window.parent."+linktarget)
targetobj.location=document.jumpy.example.options[document.jumpy.example.selectedIndex].value}}//-->


function initialize(){
comboobj=document.all? document.all.staticcombo : document.getElementById? document.getElementById("staticcombo") : document.layers? document.staticcombo : 0
windowwidth=window.innerWidth? window.innerWidth : document.body.clientWidth
windowheight=window.innerHeight? window.innerHeight : document.body.clientHeight 
if (!comboobj) return

if (document.all || document.getElementById){
combowidth=comboobj.offsetWidth
comboheight=comboobj.offsetHeight
setInterval("staticit_dom()",10)
comboobj.style.visibility="visible"}
else if (document.layers){
combowidth=comboobj.document.width
comboheight=comboobj.document.height
setInterval("staticit_ns()",10)
comboobj.visibility="show"}}

function staticit_dom(){
var pageoffsetx=document.all? document.body.scrollLeft : window.pageXOffset-19
var pageoffsety=document.all? document.body.scrollTop : window.pageYOffset-20

comboobj.style.left=pageoffsetx+windowwidth-combowidth
comboobj.style.top=pageoffsety+windowheight-20}
function staticit_ns(){
comboobj.left=pageXOffset+windowwidth-combowidth
comboobj.top=pageYOffset+windowheight-20}
window.onload=initialize
