<!-- begin hiding from non-Javascript enabled browsers

// ------------------------------------------------------------------------------
// Array to hold date values
function isnArray() {
	argnr=isnArray.arguments.length
	for (var i=0;i<argnr;i++) {
		this[i+1] = isnArray.arguments[i];
	}
}

// ------------------------------------------------------------------------------
// Y2K compliant year
function getFullYear(d) {
    var y = d.getYear();
    if (y < 1000) {y += 1900};
    return y;
}

// ------------------------------------------------------------------------------
// Function to display time
function nowStr() {
   var now=new Date()
   year = now.getYear();
   if (year < 2000) year = 1900 + year;
   var hours=now.getHours()
   var minutes=now.getMinutes()
   timeStr=""+((hours > 12) ? hours - 12 : hours)
   timeStr+=((minutes < 10) ? ":0" : ":") + minutes
   timeStr+=(hours >= 12) ? " PM" : " AM"
   return timeStr
}

function nowSpanishStr() {
   var now=new Date()
   year = now.getYear();
   if (year < 2000) year = 1900 + year;
   var hours=now.getHours()
   var minutes=now.getMinutes()
   timeSPStr=""+((hours > 12) ? hours - 12 : hours)
   timeSPStr+=((minutes < 10) ? ":0" : ":") + minutes
   timeSPStr+=(hours >= 12) ? " pm" : " am"
   return timeSPStr
}

// ------------------------------------------------------------------------------
// Function to display date
function todayStr() {
	var isnMonths = new isnArray("January","February","March","April","May","June","July","August","September","October","November","December");
	var isnDays = new isnArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");
	var currenttime=nowStr();
	today = new Date();
	document.write (isnDays[today.getDay()+1]+", "+isnMonths[today.getMonth()+1]+" "+today.getDate()+", "+getFullYear(today)+" - "+currenttime)
}

// ------------------------------------------------------------------------------
// Function to display French date
function todayFrenchStr() {
	var isnMonths = new isnArray("janvier","f&eacute;vrier","mars","avril","mai","juin","juillet","ao&ucirc;t","septembre","octobre","novembre","d&eacute;cembre");
	var isnDays = new isnArray("dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi");
	var currenttime=nowStr();
	today = new Date();
	if (today.getDate() == 1) {
		document.write ("Le "+isnDays[today.getDay()+1]+" "+today.getDate()+"<sup>er</sup> "+isnMonths[today.getMonth()+1]+" "+getFullYear(today)+" - "+today.getHours()+" h "+today.getMinutes())	
	} else {
		document.write ("Le "+isnDays[today.getDay()+1]+" "+today.getDate()+" "+isnMonths[today.getMonth()+1]+" "+getFullYear(today)+" - "+today.getHours()+" h "+today.getMinutes())
	}
}
// ------------------------------------------------------------------------------
// Function to display Spanish date
function todaySpanishStr() {
	var isnMonths = new isnArray("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre");
	var isnDays = new isnArray("Domingo","Lunes","Martes","Mi&eacute;rcoles","Jueves","Viernes","S&aacute;bado");
	var currenttime=nowSpanishStr();
	today = new Date();
	document.write (isnDays[today.getDay()+1]+", "+today.getDate()+" de "+isnMonths[today.getMonth()+1]+" del "+getFullYear(today)+" - "+currenttime)
}
// ------------------------------------------------------------------------------
// When external links or tools traversed, they are displayed in a popup window. There are 2 types of windows, one for tools and one for external sites.
function popupPage(page,windowstyle) {
	if (windowstyle == 0) {
		windowprops = "height=300,width=600,toolbar=1,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,left=0,top=0";
	} else {
		windowprops = "height=400,width=760,toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,left=0,top=0";
	}
	window.open(page, "Popup", windowprops);
}

// STOP HIDING FROM OTHER BROWSERS -->