// JavaScript Document
<!--

function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
function press() {
var name = "guy noel b. ganados!";
alert("PERMISSION! Authorized by " + name + " Contact me at guy_noelg@lycos.com. Thank you very much.");
}

function MM_openBrWindow(theURL,winName,mywidth,myheight) 
{ //v2.3
  myleft = ((screen.width / 2) - (mywidth / 2)) - 14;
  mytop = (screen.height / 2) - (myheight / 2);
  //open the window
  window.open(theURL, winName,'status=no, scrollbars=yes, top='+mytop+', left='+myleft+', width='+mywidth+', height='+myheight);  

}

function launchFull(url, name) {
  window.open(url, name, str);
}
var str = "left=0,screenX=0,top=0,screenY=0,fullscreen";

if (window.screen) {
  var ah = screen.availHeight - 30;
  var aw = screen.availWidth - 10;
  str += ",height=" + ah;
  str += ",innerHeight=" + ah;
  str += ",width=" + aw;
  str += ",innerWidth=" + aw;
} else {
  str += ",resizable"; // so the user can resize the window manually
}

var message="Welcome to 3DigitalTech!";
function click(e)
{
if (document.all)
{
if (event.button == 2)
{
alert(message);
return false;
}
}
if (document.layers)
{
if (e.which == 3)
{
alert(message);
return false;
}
}
}
if (document.layers)
{
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
