<!--
// bryt ut av rammer //
//
if (top.location!=self.location)
{top.location=self.location;}
//
// drag js //
//
var dragapproved=false;
var z,x,y;
function move()
{
if (event.button==1&&dragapproved)
{
z.style.pixelLeft=temp1+event.clientX-x;
z.style.pixelTop=temp2+event.clientY-y;
return false;
}
}
function drags()
{
if (!document.all)
return
if (event.srcElement.className=="drag")
{
dragapproved=true;
z=event.srcElement;
temp1=z.style.pixelLeft;
temp2=z.style.pixelTop;
x=event.clientX;
y=event.clientY;
document.onmousemove=move;
}
}
document.onmousedown=drags;
document.onmouseup=new Function("dragapproved=false");
//
//
var melding="SmølaWeb - http://www.gjestekro.no/smolaweb - We build your WebSite";
window.defaultStatus=melding;
//
// meny (ala jump)
//
function land(ref,target)
{lowtarget=target.toLowerCase();
if (lowtarget=="_self")
{window.location=loc;}
else
{if (lowtarget=="_top")
{top.location=loc;}
else
{if (lowtarget=="_blank")
{window.open(loc);}
else
{if (lowtarget=="_parent")
{parent.location=loc;}
else
{parent.frames[target].location=loc;};}}}}
function jump(menu)
{ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else
{loc=ref;
target="_self";};
if (ref!="")
{land(loc,target);}}
//
-->