// DROP DOWN MENU

<!-- hide

function jumpto(x){

if (document.form1.jumpmenu1.value != "null") {
	document.location.href = x
	}
}

function jumpto(x){

if (document.form2.jumpmenu2.value != "null") {
	document.location.href = x
	}
}

// BETYG MOUSE OVER

betyg_tom=new Image(59,47)
betyg_tom.src="/bilder/knappar/stjarna-tom.gif"
betyg_over=new Image(59,47)
betyg_over.src="/bilder/knappar/stjarna-over.gif"
betyg_hel=new Image(59,47)
betyg_hel.src="/bilder/knappar/stjarna-hel.gif"
betyg_halv=new Image(59,47)
betyg_halv.src="/bilder/knappar/stjarna-halv.gif"

function betygmouseover(imagename,objectsrc){
if (document.images)
document.images[imagename].src=eval(objectsrc+".src")
}

// BOKMÄRKNING

function bookmark(title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(location.href,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,location.href,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}



// VALIDATE FORMS

function checkrequired(which) {
var pass=true;
if (document.images) {
for (i=0;i<which.length;i++) {
var tempobj=which.elements[i];
if (tempobj.name.substring(0,4)=="req_") {
if (((tempobj.type=="text"||tempobj.type=="textarea")&&
tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&
tempobj.selectedIndex==0)) {
pass=false;
break;
         }
      }
   }
}
if (!pass) {
shortFieldName=tempobj.name.substring(4,30).toUpperCase();
alert("Du har inte angivit "+shortFieldName+" än...");
return false;
}
else
return true;
}
