	function goOn(){
      document.optionsForm.submit();
    }
	function goOn1(){
      document.optionsForm1.submit();
    }
	function goOn2(){
      document.optionsForm2.submit();
    }
    function checkTO(sRef){
        chTo = document.optionsForm.to.checked;
        if(chTo) to=1;
        else to=0;
        sRef +="&to="+to;
        window.location = sRef;
    }
    function sendMessage(sRef){
	  window.location = sRef;
	}
    function updateClimbDate() {
    var date = document.newClimbFrm.dateCalendar.value;
    var year = date.substring(0,4);
    var month = date.substring(5,7);
    var day = date.substring(8,10);
    var iMonth = 0;
    var iDay = 0;
    
    if(month.charAt(0)==0){
        iMonth = month.charAt(1);
    }else{
        iMonth = month;
    }
    if(day.charAt(0)==0){
        iDay = day.charAt(1);
    }else{
        iDay = day;
    }
    document.newClimbFrm.year.value = year;
    document.newClimbFrm.month.options.selectedIndex = iMonth;
    document.newClimbFrm.day.options.selectedIndex = iDay;
    }    

