1 <script type="text/javascript">
3 function selectDate ( day, month, year, current, evt ) {
4 // get currently selected month/year
5 monthobj = eval ( 'document.exportform.' + month );
6 curmonth = monthobj.options[monthobj.selectedIndex].value;
7 yearobj = eval ( 'document.exportform.' + year );
8 curyear = yearobj.options[yearobj.selectedIndex].value;
10 if (document.getElementById) {
11 mX = evt.clientX + 40;
12 mY = evt.clientY + 120;
18 var MyPosition = 'scrollbars=no,toolbar=no,left=' + mX + ',top=' + mY + ',screenx=' + mX + ',screeny=' + mY ;
23 url = "datesel.php?form=exportform&fday=" + day +
24 "&fmonth=" + month + "&fyear=" + year + "&date=" + date;
25 var colorWindow = window.open(url,"DateSelection","width=300,height=200," + MyPosition);
28 <?php //see the showTab function in includes/js/visible.php for common code shared by all pages
29 //using the tabbed GUI.
30 ?>var tabs = new Array();