<!-- 
	//-- Copyright 2002 Tassadar Software				--
	//-- This code is free to use as you want, but you MUST leave 	--
	//-- these lines intact if yu want to use the code.		--
	//--								--
	//-- www.gladh.nu/tassadar					--

	//-- declare variables	------------------------------------------
	var isIE4 = false;
	var isNN4 = false;	
	var isW3C = false;
	var isDYN = false;

	var sRef = '';
	var sStyleRef = '';

	//-- try to find what browser is used	--------------------------
	isIE4 = document.all;
	if(!isIE4){
		isNN4 = document.layers;
		isW3C = document.getElementsByTagName;
	}
	isDYN= (isIE4 || isNN4 || isW3C);

	//-- init the sRef and sStyleRef	--------------------------
	if(isIE4){
		sRef = 'document.all';
		sStyleRef = '.style';
	}
	if(isNN4){
		sRef = 'document.layer';
		sStyleRef = '';
	}
	if(isW3C){
		sRef = 'document.getElementsByTagName("*")';
		sStyleRef = '.style';
	}

	
	//-- FUNCTIONS	--------------------------------------------------

	//----------------------------------------------------------------
	//-- activeDay()						--
	//----------------------------------------------------------------
	function activeDay(iMonth, iDay){
		oID = "_"+iMonth +"_"+iDay;
		eval(sRef + "['"+ oID +"']" + sStyleRef +".border='1px solid #000000'");
	}
	//----------------------------------------------------------------

	//----------------------------------------------------------------
	//-- notActiveDay()						--
	//----------------------------------------------------------------
	function notActiveDay(iMonth, iDay){
		oID = "_"+iMonth +"_"+iDay;
		eval(sRef + "['"+ oID +"']" + sStyleRef +".border='1px solid #EEEEEE'");
	}
	//----------------------------------------------------------------

	//----------------------------------------------------------------
	//-- notActiveDay()						--
	//----------------------------------------------------------------
	function goDay(date_){
		alert(date_);
	}
	//----------------------------------------------------------------
			
-->