function doClock() {
    // By Paul Davis - www.kaosweaver.com;
    var t = new Date(), a = doClock.arguments, str = "", i, a1, lang = "1";
    var month = new Array('January','Jan', 'February','Feb', 'March','Mar', 'April','Apr', 'May','May', 'June','Jun', 'July','Jul', 'August','Aug', 'September','Sep', 'October','Oct', 'November','Nov', 'December','Dec');
    var tday = new Array('Sun','Sun','Mon','Mon', 'Tues','Tue', 'Wed','Wed','Thur','Thr','Fri','Fri','Sat','Sat');
    for (i = 0; i < a.length; i++) {
        a1 = a[i].charAt(1);
        switch (a[i].charAt(0)) {
          case "M":
            if ((Number(a1) == 3) && ((t.getMonth() + 1) < 10)) {
                str += "0";
            }
            str += (a1 == "2") ? t.getMonth() + 1 : month[t.getMonth() * 2 + Number(a1)];
            break;
          case "D":
            if ((Number(a1) == 1) && (t.getDate() < 10)) {
                str += "0";
            }
            str += t.getDate();
            break;
          case "Y":
            str += (a1 == "0") ? t.getFullYear() : t.getFullYear().toString().substring(2);
            break;
          case "W":
            str += tday[t.getDay() * 2 + Number(a1)];
            break;
          default:
            str += unescape(a[i]);
        }
    }
    return str;
}


function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function flvS1(v1){//v1.0
var v2=v1.indexOf("?"),v3=(v2>-1)?v1.substring(v2+1):"";var v4=(v3!="")?v1.substring(0,v2):v1;var v5=(v3!="")?parent.frames[v3].document:document;var v6=0,v7=0,v8;if (v5.layers){var v9=false,v6=v7=0;v8=v5.anchors[v4];if (v8){v9=true;}else {if (v5.layers.length>0){for (j=0;j<v5.layers.length;j++){v8=v5.layers[j].document.anchors[v4];if (v8){v9=true;v6=v5.layers[j].left;v7=v5.layers[j].top;break}}}}this.x=v6+v8.x;this.y=v7+v8.y;return;}if (v5.all){v8=v5.all[v4];}else if (v5.getElementById){v8=v5.getElementById(v4);if (!v8){var v10=v5.getElementsByName(v4);v8=v10[0];}}else {this.x=0;this.y=0;return;}if (v8){v6+=v8.offsetLeft;v7+=v8.offsetTop;while (v8.offsetParent){v8=v8.offsetParent;v6+=v8.offsetLeft;v7+=v8.offsetTop;}}this.x=v6;this.y=v7;}

function flvS3(v1){//v1.0
var v2=MM_findObj(v1),v3=0,v4=0,v5=0,v6=0;if (!v2){this.x=this.y=this.h=this.w=0;return;}var v7=(document.layers)?v2:v2.style;v3=v7.left;v4=v7.top;if ((v3==""||v4=="")&&document.all&&!window.opera){if (v3==""){v3=v2.offsetLeft;}if (v4==""){v4=v2.offsetTop;}}if (v2.offsetHeight){v5=v2.offsetHeight;v6=v2.offsetWidth;}else if (document.layers){v5=v7.clip.height;v6=v7.clip.width;}this.x=parseInt(v3);this.y=parseInt(v4);this.h=parseInt(v5);this.w=parseInt(v6);}

function flvS4(){//v1.0
var v1=arguments,v2=v1[0],v3=v1[1],v4=MM_findObj(v2),v5=v6=0;if (!v4&&document.all){v4=document.all[v2];}if (!v4){this.x=0;this.y=0;return;}var v7=(document.getElementById||document.all),v8=document.layers,v9=v2.indexOf("?");if (v9>-1){v2=v2.substring(0,v9);}if (v8){for (var v10=0;v10<v8.length;v10++){var v11="document."+v8[v10].id;if (eval(v11+".document."+v2)){v5=eval(v11+".left");v6=eval(v11+".top");break;}}}if (v7){v5+=v4.offsetLeft;v6+=v4.offsetTop;while (v4.offsetParent){v4=v4.offsetParent;v5+=v4.offsetLeft;v6+=v4.offsetTop;}}else if (v8){v5+=v4.x;v6+=v4.y;}this.x=v5;this.y=v6;}

function flvS8(v1,v2,v3){//v1.0
var v4=(document.layers)?v1:v1.style;var v5=flvS5();eval("v4.left='"+v2+v5+"'");eval("v4.top='"+v3+v5+"'");}

function flvS5(){//v1.0
var v1=((parseInt(navigator.appVersion)>4||navigator.userAgent.indexOf("MSIE")>-1)&&(!window.opera))?"px":"";return v1;}

function flvS6(){//v1.0
var v1=(arguments.length>0)?arguments[0]:window;if (v1.innerWidth){this.x=v1.pageXOffset;this.y=v1.pageYOffset;}else {v1=v1.document;if (v1.documentElement&&v1.documentElement.clientWidth){this.x=v1.documentElement.scrollLeft;this.y=v1.documentElement.scrollTop;}else if (v1.body){this.x=v1.body.scrollLeft;this.y=v1.body.scrollTop;}else {this.x=0;this.y=0;}}}


function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}