<!--
function visa_dolj(namn,varde)
{
if (document.all)
{
	document.all[namn].style.visibility=varde;      //Explorer 4,5 har denna hierarki
}
else if (document.layers)
{
	document.layers[namn].visibility=varde;         //Netscape 4 har denna hierarki
}
else if (document.getElementById)
{
	document.getElementById(namn).style.visibility=varde;    //Netscape 6 har denna hierarki
}
}



function changetext(nummer) {

if (nummer == "1")
{
document.all["text1"].style.fontSize = document.form.selectSize1.value + 'px';
}
if (nummer == "2")
{
document.all["text2"].style.fontSize = document.form.selectSize2.value + 'px';
}
if (nummer == "3")
{
document.all["text3"].style.fontSize = document.form.selectSize3.value + 'px';
}
if (nummer == "4")
{
document.all["text4"].style.fontSize = document.form.selectSize4.value + 'px';
}
if (nummer == "5")
{
document.all["text5"].style.fontSize = document.form.selectSize5.value + 'px';
}
if (nummer == "6")
{
document.all["text6"].style.fontSize = document.form.selectSize6.value + 'px';
}
if (nummer == "7")
{
document.all["text7"].style.fontSize = document.form.selectSize7.value + 'px';
}
}

function update(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=548,height=420,left = 162,top = 34');");
}
function Popup(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=450,height=400,left = 162,top = 34');");
}
function Forum(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=400,left = 162,top = 34');");
}
function rosta()
{
window.open("visa_fraga.asp","rosta","width=400,height=250");
}
function Utvardering()
{
window.open("utvardering.asp","utvardering","width=500,height=600,scrollbars=yes,status=no,toolbar=no,resizable=yes,location=no,menubar=yes,directories=no")
}

function sok() {

// Här kontrolleras fältet namn så att det inte är tomt.

if (document.soka.sokstrang.value == "")
{
alert("Du måste fylla i något i sökrutan!")
return false
}
}


function mer(id1,value1,id2,value2)
{

if (document.all)
{
document.all[id1].style.visibility=value1;
document.all[id2].style.visibility=value2;
}

else if (document.layers)
{
document.layers[id1].visibility=value1;
document.layers[id2].visibility=value2;
}

else if (document.getElementById)
{
document.getElementById(id1).style.visibility=value1;
document.getElementById(id2).style.visibility=value2;
}

}

//-->