		var caldef1 = {
			firstday:0,     // First day of the week: 0 means Sunday, 1 means Monday, etc.
			dtype:'dd/MM/yyyy', // Output date format MM-month, dd-date, yyyy-year, HH-hours, mm-minutes, ss-seconds
			width:250,       // Width of the calendar table
			windoww:270,     // Width of the calendar window
			windowh:170,     // Height of the calendar window
			border_width:0,      // Border of the table
			border_color:'#0000d3',  // Color of the border
			dn_css:'clsDayName',     // CSS for week day names
			cd_css:'clsCurrentDay',     // CSS for current day
			tw_css:'clsCurrentWeek',  //  CSS for current week
			wd_css:'clsWorkDay',     // CSS for work days (this month)
			we_css:'clsWeekEnd',     // CSS for weekend days (this month)
			wdom_css:'clsWorkDayOtherMonth', // CSS for work days (other month)
			weom_css:'clsWeekEndOtherMonth', // CSS for weekend days (other month)
			headerstyle: {
				type:"comboboxes",
				css:'clsWorkDayOtherMonth',
				yearrange:[1970,2010]
			},
			// Array with month names
			monthnames :["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
			// Array with week day names
			daynames : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]

			
		};

			document.onclick=GetCalendarPos;
function GetCalendarPos(e)
{	
	try
	{	if (window.XMLHttpRequest)
		{	
			var p=e.target;
			if (p.attributes['id'])
			{  if (p.attributes['id'].value=="imgViewCalendare" || p.attributes['id'].value=="CalStartExprienceDate"  || p.attributes['id'].value=="CalEndExprienceDate") 
				{
				document.getElementById('calendar_div').style.display='';
				
				document.getElementById('calendar_frame').style.position="absolute";
				document.getElementById('calendar_frame').style.left = e.clientX+document.body.scrollLeft+'px'; 
				document.getElementById('calendar_frame').style.top =e.clientY+document.body.scrollTop+'px';
				}
			}	
		}
	}
	catch(err)
	{
		
	}
}
