function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


function SymError()
{
  return true;
}
window.onerror = SymError;

var timerID = null;
var timerRunning = false;

function stopclock (){
        if(timerRunning)
                clearTimeout(timerID);
        timerRunning = false;
}

function startclock () {
        // Make sure the clock is stopped
        stopclock();
        showtime();
}

function showtime () {
        var now = new Date();
        var hours = now.getHours();
        var minutes = now.getMinutes();
        var seconds = now.getSeconds()
        var timeValue = ((hours < 10) ? "0" : "") + hours
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        document.clock2.face.value = timeValue



        var hours = now.getHours() - 2;
        var hours = ((hours >= 24)  ? hours - 24 : hours);
        var hours = ((hours < 0)  ? 24 + hours : hours);
        var timeValue = ((hours < 10) ? "0" : "") + hours
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        document.novayork.face.value = timeValue;


        var hours = now.getHours() + 3;
        var hours = ((hours >= 24)  ? hours - 24 : hours);
        var timeValue = ((hours < 10) ? "0" : "") + hours
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        document.reinounido.face.value = timeValue;

        var hours = now.getHours() + 12;
        var hours = ((hours >= 24)  ? hours - 24 : hours);
        var timeValue = ((hours < 10) ? "0" : "") + hours
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        document.japao.face.value = timeValue;

        var hours = now.getHours() + 13;
        var hours = ((hours >= 24)  ? hours - 24 : hours);
        var timeValue = ((hours < 10) ? "0" : "") + hours
        timeValue += ((minutes < 10) ? ":0" : ":") + minutes
        timeValue += ((seconds < 10) ? ":0" : ":") + seconds
        document.australia.face.value = timeValue;



        // you could replace the above with this
        // and have a clock on the status bar:
        // window.status = timeValue;

        timerID = setTimeout("showtime()",1000);
        timerRunning = true;
}

function Abrejanela(Opcao) {
     Versao = navigator.appVersion
     Versao = Versao.substring(0, 1)
     Local = ""

     if  (Versao < 3)  {
         Local = document.location
         UltLoc = Local.lastIndexOf("/")
         Local = Local.substring(0, UltLoc + 1)
     }
}

