function det_time()
{
   var d = new Date();
   var c_hour = d.getHours();
   var c_min = d.getMinutes();
   var c_sec = d.getSeconds();
   var t = c_hour + ":" + c_min + ":" + c_sec;
   document.clockForm.timeShower.value = t;
}

function collapse(obj){
	/*ALLR if (document.all) {
		thisItem = eval("document.all." + obj + ".style")
		if (thisItem.display == "block") {
		thisItem.display = "none"
		}
		else {
		thisItem.display = "block"
		}
	}*/
    //ALLR-->
    var c = document.getElementById(obj);
    if (c!=null && c.style){
        var s = c.style;
        if (s!=null){
            if (s.display == "block") {
                s.display = "none"
            }
            else {
                s.display = "block"
            }
        }
    }
    //<--ALLR

	return false;
}

/*
Block multiple form submission script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact for use

<form>
....
<input type="submit" value="Submit" onClick="return checksubmit(this)">
</form>
*/

//Enter error message to display if submit button has been pressed multiple times below.
//Delete below line if you don't want a message displayed:

var formerrormsg="You\'ve attempted to submit the form multiple times.\n Please reload page if you need to resubmit form."

function checksubmit(submitbtn){
submitbtn.form.submit()
checksubmit=blocksubmit
return false
}

function blocksubmit(){
if (typeof formerrormsg!="undefined")
alert(formerrormsg)
return false
}
