<!-- //Hide
function CreateWindow(Text) {

	My = window.open("", "Text", "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width=402, height=600");

	My.document.write('<html><head><title>Biblioteket på Parkskolan</title></head><body style="margin: 0px;">');

	My.document.write(Text);

	My.document.write('<br><br><div align=center><a href="javascript:window.close();">Stäng</a></div></body></html>');

}

//Denna script fil finns på alla sidor
function info(txt){
   	window.status = txt;
}

function rensa(){
	window.status = "";
}

window.defaultStatus = "Välkommen till Parkskolans bibliotek";

// Sätter focus till första rutan på sidan
function SetFocus() {
		// Går igenom alla element på första formen
	var Done = 0;
	for(var i = 0; !Done && i < document.forms.length; i++) {
		for(var j = 0; !Done && j < document.forms[i].length; j++) {
			if (document.forms[i].elements[j].type != "hidden" &&
				document.forms[i].elements[j].type != "select-one" &&
				document.forms[i].elements[j].type != "checkbox") { // Är den inte hidden så sätt focus dit
				document.forms[i].elements[j].focus();
//				alert('Har valt: ' + document.forms[i].elements[j].type);
				Done = 1;
			} // If
		} // For
	} // For 
} // SetFocus()




function over(objekt)
{
	document.getElementById(objekt).style.backgroundColor = '#BCC5CC';
}

function out(objekt)
{
	document.getElementById(objekt).style.backgroundColor = '';
}

//Stop Hiding Contents 
-->

