rem: window.location = "index.php?project=Insight&date="+dateStr.substr(6,4)+dateStr.substr(0,2)+dateStr.substr(3,2); 
add: var project = document.getElementById("projectname"); window.location = "index.php?project="+project.value+"&date="+dateStr.substr(6,4)+dateStr.substr(0,2)+dateStr.substr(3,2); 
context: $(document).ready(function() {     $('#calendar').datepicker({onSelect: calendarSelected});        // Display the date range from a multi-month inline date picker   function calendarSelected(dateStr) {    window.location = "index.php?project=Insight&date="+dateStr.substr(6,4)+dateStr.substr(0,2)+dateStr.substr(3,2);   }     $('#calendar').hide();       });   
meta: 1146	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1146/44124bfaa646b6533dbfa01b09cd612d6e6e2e4d/cdashmenu.js/clean/javascript/cdashmenu.js