</script>
<script type="text/javascript">
-window.onload = function() {
+$(function() {
setupDependencies('EditAccount'); //name of form(s). Seperate each with a comma (ie: 'weboptions', 'myotherform' )
- };
+});
</script>
<form method="post" name="EditAccount" action="am.pl">
[% USE HTML %]
<script type="text/javascript">
<!--
-function clockon() {
+$(function() {
var now = new Date();
var h = now.getHours();
var m = now.getMinutes();
document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
var timer=setTimeout("clockon()", 10000);
-}
-window.onload=clockon
+})
//-->
</script>
return false;
}
-function clockon() {
+$(function() {
var now = new Date();
var h = now.getHours();
var m = now.getMinutes();
document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
var timer=setTimeout("clockon()", 10000);
-}
-window.onload=clockon
+});
//-->
</script>
<script type="text/javascript">
<!--
-function clockon() {
+$(function() {
var now = new Date();
var h = now.getHours();
var m = now.getMinutes();
document.getElementById('clock_id').innerHTML = (h<10?'0'+h:h)+":"+(m<10?'0'+m:m);
var timer=setTimeout("clockon()", 10000);
-}
-window.onload=clockon
+});
//-->
</script>