<!-- Confirmation code -->
function confirmation()
{
var answer=confirm("Are you sure?");
if (answer==false)
{ return false;}
else return true;
}
<!-- Pop-up window -->
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
<!--
function toggle(theDiv) {
    var elem = document.getElementById(theDiv);
    elem.style.display = (elem.style.display == "none")?"":"none";
}
//-->
<!--
//create array for photos
var photoArray=new Array()
photoArray[0]=new Image()
photoArray[1]=new Image()
// populate array with photos
photoArray[0].src="/layout/icons/ipartner-soek2.gif"
photoArray[0].alt="i-Partner internettkatalog"
photoArray[1].src="/layout/icons/google.gif"
photoArray[1].alt="Google søk"

// swap photo function
function photoSwap(i)
	{
	document.searchLogo.src=photoArray[i].src
	document.searchLogo.alt=photoArray[i].alt
	}
//-->
function findLinkByHref(href) {
  for (var i=0; i<document.links.length; i++) {
    if (document.links[i].href == href) return i;
  }
  return -1;
}

function changeLinkHref(id,newHref,oldHref) {
  if (document.links.length > 0) {
    if (document.getElementById) {
      document.getElementById(id).href = newHref;
    }
    else if (document.all) {
      document.all[id].href = newHref;
    }
    else {
      var index = findLinkByHref(oldHref);
      if (index > -1)
        document.links[index].href = newHref;
    }
  }
}
//-->
function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}