<script language="javascript" src="cengine.js"></script>
<script language="javascript" src="other_scripts.js"></script>
<script language="javascript">
calendar += "
";
calendar += "";
calendar += "";
calendar += "
";
calendar += "";
calendar += "";
calendar += "";
for(i = 0; i < 7; i++) {
calendar += "";
calendar += days[i];
calendar += " | ";
}
calendar += " ";
calendar += " ";
calendar += " | ";
calendar += "
";
calendar += "
";
calendar += "";
calendar += "";
calendar += "";
if(startday > 0) {
for(empty = 0; empty < startday; empty++) {
calendar += " | ";
}
}
for(i = startday; i <= endday;i++) {
if( (i % 7) == 0) {
calendar += " ";
}
//keep highlight info on the current month and day
if( (i - (startday - 1)) == dt && currentmonth == mo && currentyear == year) {
calendar += "";
calendar += "" + count + "";
if(currentmonth == mo && currentyear == year && document.cookie) {
var isremind = getCookie(months[mo] + count);
if(isremind) { //if a reminder exists for this day
isremind = isremind.split("|");
calendar += "";
}
}
calendar += " | ";
} else {
calendar += "";
calendar += "" + count + "";
if(document.cookie) { //allows reminders to be displayed on other months
var isremind = getCookie(months[mo] + count);
if(isremind) { //if a reminder exists for this day
isremind = isremind.split("|");
calendar += "";
}
}
calendar += " | ";
}
count++;
}
calendar += " ";
calendar += " ";
calendar += " | ";
calendar += "
";
calendar += "";
function open_all(url) {
child = window.open(url,"allreminders", "width=430,height=400,resizable=0,scrollbars=1");
}
function alertReminders() {
var alertit = getCookie(months[today.getMonth()] + dt);
if(alertit != null) {
alertit = alertit.split("|");
//write out reminders into a string for display
textit = " 1. " + alertit[0];
for(var i = 1; i < alertit.length; i++) {
textit += "\n " + (i + 1) + ". " + alertit[i];
}
//alert user of number of reminders for which day and display those reminders
alert("You have " + alertit.length + " reminder(s) for " + months[today.getMonth()] + " " + dt + ".\n\n" + textit);
}
}
//-->
</script>
Typhoon Start JavaScript Fairyland
<script language="javascript">
</script>