<!--
function oc(id){
	document.getElementById(id).style.display = (document.getElementById(id).style.display == "none") ? "" : "none";
}
function opf(file){
	document.getElementById('area').innerHTML='';
	document.getElementById('area').style.background="url('images/loading.gif')";
	document.getElementById('area').style.backgroundPosition="center center";
	document.getElementById('area').style.backgroundRepeat="no-repeat";
	document.getElementById('area').innerHTML='<embed height="350" width="575" href="'+file+'" src="'+file+'"></embed>';
}
//-->
<!--
function bell(num){
	var currentTime = new Date();
	var hours = currentTime.getHours();
	var minutes = currentTime.getMinutes();
	var day = currentTime.getDay();
	var current = hours + ((minutes*1.7)/100);
	var clubdays = ["9/16","12/32","0/14"];
	var peprallydays = ["9/19","12/33"];
	var curday = "regular";
	for(i=0;i<clubdays.length;i++){
		if((currentTime.getMonth()+"/"+currentTime.getDate())==clubdays[i]){
			curday = "clubday";
		}
	}
	if(curday != "clubday"){
		for(i=0;i<peprallydays.length;i++){
			if(currentTime.getMonth()+"/"+currentTime.getDate()==peprallydays[i]){
				curday = "peprally";
			}
		}
	}
	var dead = (num==30) ? true : false;
	if(curday == "clubday" && dead){
		if(current<8.4){
			alert("School will begin at 8:00am. Today is club day, so report to your first period and wait to be dismissed to clubs.");
		} else if(current>15.25){
			alert("School ended at 3:15pm!");
		} else if(current<9){
			alert("Students are currently in their clubs for Club Day.");
		} else if(current<10.25){
			alert("First period is currently in session. [Club Day Schedule]");
		} else if(current<11.68){
			alert("Second period is currently in session. [Club Day Schedule]");
		} else if(current<13.78){
			alert("Third period is currently in session. [Club Day Schedule]");
		} else if(current<15.25){
			alert("Fourth period is currently in session. [Club Day Schedule]");
		}
	} else if(curday == "peprally" && dead){
		if(current<8.4){
			alert("School will begin at 8:00am (class starts at 8:05am)! Remember, there is a Pep Rally today!");
		} else if(current>15.25){
			alert("School ended at 3:15pm! Hope you (students) enjoyed the Pep Rally! GO PANTHERS!");
		} else if(current<9.8){
			alert("First period is currently in session. [Pep Rally Schedule]");
		} else if(current<11.35){
			alert("Second period is currently in session. [Pep Rally Schedule]");
		} else if(current<13.4){
			alert("Third period is currently in session. [Pep Rally Schedule]");
		} else if(current<15){
			alert("Fourth period is currently in session. [Pep Rally Schedule]");
		} else if(current<15.25){
			alert("All students are supposed to be in the designated location of the Pep Rally.");
		}
	} else if(dead){
		if(day == 0 || day == 6){
			alert("What are you doing here on the weekend? Go do something fun (and safe) before school starts again on Monday!")
		} else if(current<8.4){
			alert("School will begin at 8:00am (class starts at 8:05am)!");
		} else if(current>15.15){
			alert("School ended at 3:15pm!");
		} else if(current<9.35){
			alert("First period is currently in session.");
		} else if(current<11.10){
			alert("Second period is currently in session.");
		} else if(current<13.15){
			alert("Third period is currently in session.");
		} else if(current<15.15){
			alert("Fourth period is currently in session.");
		}
	}
}
//-->
