<html>
<head>
	<title>Tooltips, Popups, Javascript, Dhtml - BoxOver</title>
	<?
	if(eregi('localhost',$_SERVER['HTTP_HOST'])){?>
		<script> var baseURL = 'http://localhost/westdesign/'</script>
	<?}else if(eregi('122.160.96.94:5050',$_SERVER['HTTP_HOST'])){?>
	"<script> var baseURL = 'http://122.160.96.94:5050/westdesign/'</script>
	<?}?>
	<script src="calendar.js"></script>
	<style>
	input {border:1px solid #ABABAB}
	</style>
<Script>
	var deleteHoliday = true;
</Script>
<Script>

//var holidaysformonth = Array("3","23","27");
/*
function handleHolidays(){
//	alert(holidaysformonth.length);
	for(i=0;i<holidaysformonth.length;i++){
//		alert(document.getElementById('v'+holidaysformonth[i]).onclick);
		document.getElementById('v'+holidaysformonth[i]).onclick = '';
		document.getElementById('v'+holidaysformonth[i]).style.cursor='default';
//		document.getElementById('v'+holidaysformonth[i]).style = '';
//		alert(document.getElementById('v'+holidaysformonth[i]).onclick);
		document.getElementById('v'+holidaysformonth[i]).style.color = "#f00";
	}
}
*/
</Script>
</head>
<body style="font:14px/20px Verdana" onLoad="javascript: handleHolidays();">

<DIV style="BORDER: #558844 1px solid;WIDTH:300px;padding:20px; color:#ABABAB">
<p>The form below displays the list of holidays in red. Holidays can be added from <a href="./add_holiday.php">Add Holiday</a>
Holidays can be deleted from <a href="./delete_holiday.php">Delete Holiday</a>
</p>

<p>Click on the "Date of birth" text field to see the calendar in action.</p>
</DIV>

<form action="" >
<table style="font:bold 14px/20px Verdana" cellpadding="5px">
<tr>
<td>
Name
</td>
<td>
<input type="text">
</td>
</tr>
<tr>
<td>
Date of birth
</td>
<td>
   <input type="text" value="dd/mm/yy" onfocus="this.select();lcs(this)" onclick="event.cancelBubble=true;this.select();lcs(this)">
   </td>
  </tr>
</table>
<input type="submit" value="A test submit button">
</form>

<a href="http://calendar.swazz.org">Swazz javascript calendar home</a>
</body>
</html>