// JavaScript Document

<!--

function getObj(name)
  { 
    if (document.getElementById)
        {
          return document.getElementById(name);

        }
    else if (document.all)
        {                        
         return document.all[name];
        }
    else if (document.layers)
        {
         return document.layers[name];
        }
   }

function pop_vr() {
	var iMyWidth;
	var iMyHeight;
	//gets top and left positions based on user's resolution so hint window is centered.
	iMyWidth = (window.screen.width/2) - (350 + 10); //half the screen width minus half the new window width (plus 5 pixel borders).
	iMyHeight = (window.screen.height/2) - (233 + 50); //half the screen height minus half the new window height (plus title and status bars).
	var win = window.open("../staticcontent/3dseatviewer/popup_splash.html","vr","status,height=466,width=700,resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=no");
	win.focus();
}

function show(object) 
	{
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='visible';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'visible';
    else if (document.all)
        document.all[object].style.visibility = 'visible';
	}

function hide(object) 
{
    if (document.getElementById && document.getElementById(object) != null)
         node = document.getElementById(object).style.visibility='hidden';
    else if (document.layers && document.layers[object] != null)
        document.layers[object].visibility = 'hidden';
    else if (document.all)
         document.all[object].style.visibility = 'hidden';
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//-->
