<!-- 
function chiudi(){
window.location="close.php"
}
//-->
<!-- 
function riparti(){
window.location="index.php"
}
//-->
<!-- 
function via(){
window.opener = top;
window.close();
}
//-->
	
<!-- 
function help(){
window.location="LEGGIMI.html"
}
function helpeng(){
window.location="README.html"
}

function leapto(form) 
   {
   var myindex=form.dest.selectedIndex;
   if (myindex >=1)
      {window.location=form.dest.options[myindex].value;}
       }


// Bottom slide tooltip- by Ron Grafe (mailto:grafer@REMOVETHIScolumbus.rr.com)
// Website URL: http://www.gdevresources.com
// Featured on Dynamic Drive -http://www.dynamicdrive.com

//SET TOOLTIP DESCRIPTIONS BELOW
//Extend or contract array as needed
var description=new Array()
description[0]="opzioni amministrative.<br> - con <font color=\'red\'><strong> AMMINISTRA IL DATABASE</strong></font>andate alla pagina dove potete creare nuovi database, aggiungere classi, modificarle ecc.<br> -con <font color=\'red\'><strong> scegli  classi/ professori arbitrariamente</strong></font>accedete a un form dove potete scegliere l\'orario delle classi e-o deiprofessori che volete vedere nella stessa pagina, utile per eliminare i buchi<br> - Il resto si spiega da sè"
description[1]="<font color='red'><strong>Consultate </strong></font> l'orario <font color='red'><strong> dell'intero istituto </strong></font>(classi, insegnanti, aule speciali) in formato tabella"
description[2]='<font color=\'red\'><strong>Consultate </strong></font> l\'orario <font color=\'red\'><strong> dell\'intero istituto </strong></font>(classi, insegnanti, aule speciali) in formato simile a un foglio di calcolo<br>è il formato normalmente usato nelle segreterie, utile per sostituzioni ecc.'
description[3]='<font color=\'red\'><strong> scegliete la classe su cui lavorare per ASSEGNARE le ore agli insegnanti</strong></font>'
description[4]='<font color=\'red\'><strong> scegliete il professore su cui lavorare per ASSEGNARE le ore nelle classi</strong></font>'
//
description[5]="administrative options.<br> - <font color=\'red\'><strong> MANAGE DATABASE</strong></font> opens a page where you can create new databases, add classes, modify them and so on.<br>- <font color=\'red\'><strong>arbitrarily choose classes/teachers</strong></font> lets you choose teachers and/ or classes whose timetable you wish to see in one page in order to give the finishing touch to timetable<br>- Other options are self explanatory"
description[6]="<font color='red'><strong>View </strong></font> the timetable <font color='red'><strong>of the whole school </strong></font>(classes, teachers, special rooms) in table format"
description[7]='<font color=\'red\'><strong>View </strong></font> the timetable <font color=\'red\'><strong> of the whole school </strong></font>(classes, teachers, special rooms) in spreadsheet format.'
description[8]='<font color=\'red\'><strong> select the class you want to work on in order to ASSIGN lessons to teachers</strong></font>'
description[9]='<font color=\'red\'><strong> select the teacher you want to work on in order to ASSIGN him lessons in the classes he belongs to</strong></font>'
//Do not edit below here

iens6=document.all||document.getElementById
ns4=document.layers

<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer
<!--END GLOBAL VARIABLES-->

<!--GLOBAL FUNCTIONS-->
function setObj(text,theswitch,inwidth,inheight) {
	thetext=text
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=100
			if(iens6&&document.all) {
				winPositionFromTop=document.body.clientHeight
				winWidth=(document.body.clientWidth-document.body.leftMargin)
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(document.body.offsetLeft+30))
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.style.width=winWidth
		theobj.style.height=startH
			if(iens6&&document.all) {
				theobj.style.top=document.body.scrollTop+winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top class='pop'>"+thetext+"</td></tr></table>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top  class='pop'>"+thetext+"</td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
			}
		theobj.moveTo(0,eval(window.pageYOffset+winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top class='pop'>"+thetext+"</td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
				}
				if(iens6&&!document.all) {
					theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
				}
			theobj.style.height=startH
			startH+=50
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(0,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
	}
}

function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=2
	}
	if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		theobj.width=0
		theobj.height=0
		theobj.clip.width=0
		theobj.clip.height=0
		startH=2
	}
}
<!--END GLOBAL FUNCTIONS-->
