
<script language='Javascript' type='text/javascript'>
	<!--
	function PopUp(url, name, width,height,center,resize,scroll,posleft,postop) {
		if (posleft != 0) { x = posleft }
		if (postop  != 0) { y = postop  }
	
		if (!scroll) { scroll = 1 }
		if (!resize) { resize = 1 }
	
		if ((parseInt (navigator.appVersion) >= 4 ) && (center)) {
		  X = (screen.width  - width ) / 2;
		  Y = (screen.height - height) / 2;
		}
		if (scroll != 0) { scroll = 1 }
	
		var Win = window.open( url, name, 'width='+width+',height='+height+',top='+Y+',left='+X+',resizable='+resize+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no');
	 }
	function changeDiv(id, method)
	{
		var itm = null;
		if (document.getElementById) {
			itm = document.getElementById(id);
		} else if (document.all)     {
			itm = document.all[id];
		} else if (document.layers)   {
			itm = document.layers[id];
		}
		
		if (itm.style)
		{
			if ( method == 'show' )
			{
				itm.style.display = "";
			}
			else
			{
				itm.style.display = "none";
			}
		}
		else
		{
			itm.visibility = "show";
		}
	}
	
	function selecttype()
	{
		
		if ( document.REPLIER.eventtype[1].checked == true )
		{
			// Ranged date...
			
			changeDiv( 'rangeshow', 'show' );
			changeDiv( 'rangehide', 'none' );
			changeDiv( 'recurshow', 'none' );
			changeDiv( 'recurhide', 'show' );
		}
		else if ( document.REPLIER.eventtype[2].checked == true )
		{
			// Repeating event
			
			changeDiv( 'rangeshow', 'none' );
			changeDiv( 'rangehide', 'show' );
			changeDiv( 'recurshow', 'show' );
			changeDiv( 'recurhide', 'none' );
		}
		else
		{
			changeDiv( 'rangeshow', 'none' );
			changeDiv( 'rangehide', 'show' );
			changeDiv( 'recurshow', 'none' );
			changeDiv( 'recurhide', 'show' );
		}
	}
	
	function changeColour(BOXid, val)
	{
		document.all.BOXid.style.backgroundColor = val;
	}
	//-->
</script>
<!-- Borderline skin by InvisionSkins.com - copyright 2003 Goof Muilwijk [Roadkill71] -->
<br />
<div class='border'>
<div class='tableborder'>
<div style='float: right;padding:3px;'><{CAT_IMG}></div>
<div class='maintitle' align='left'><{CAT_IMG}>&nbsp;$data</div>
<{SPACER}>
<table cellpadding='3' cellspacing='0' border='0' width='100%' class='content'>
