var changeTag = true;

function wellcom()
{
    if(changeTag)
    {
        document.getElementById("Wellcom").style.display = "block";
        document.getElementById("Default").style.display = "none";
        changeTag = false;
        window.setTimeout("wellcom()",60000);
    }
    else
    {
        document.getElementById("Wellcom").style.display = "none";
        document.getElementById("Default").style.display = "block";
        changeTag = true;
        window.setTimeout("wellcom()",60000);
    }
}

function openAppWin(workfile, windowid, lockwindow)
{
    if(lockwindow)
    {
        var AppWin = window.open(workfile,windowid,"toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,status=no,resizable=no");
        AppWin.moveTo(0,0);
        AppWin.resizeTo(screen.availWidth, screen.availHeight);
        AppWin.outerWidth = screen.availWidth;   
        AppWin.outerHeight = screen.availHeight;
        AppWin.focus();
    }
    else
    {
        window.open(workfile,windowid,"top=0,left=0,width=1013,height=700,toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,status=no,resizable=yes")
    }
}
