

function popUp(URL) {

videopage = window.open(URL,'videopage','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=310');

}



function popUp2(URL) {

videopage = window.open(URL,'videopage','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=290,height=380');

}





var DOM = (document.getElementById) ? true : false;

var NS4 = (document.layers) ? true : false;

var BrowserString = NS4 ? "NS4" : DOM ? "DOM" : "DOM";



var homex=0;

var homey=0;

var servicex=0;

var servicey=0;

var ccx=0;

var ccy=0;

var careerx=0;

var careery=0;



function getImgWidth(imgID) {

	return eval(imgID).width;

    }



function getImgHeight(imgID) {

	return eval(imgID).height;

    }

	

function getImgXfromLeft(imgID) {

    if (BrowserString == "NS4") return eval(imgID).x

    else return getRealLeft(imgID);

    }



function getImgYfromTop(imgID) {

	if (BrowserString == "NS4") return eval(imgID).y

    else return getRealTop(imgID);

    }	

	

function getRealLeft(imgElem) {

	xPos = eval(imgElem).offsetLeft;

    tempEl = eval(imgElem).offsetParent;

    while (tempEl != null) {

    	xPos += tempEl.offsetLeft;

        tempEl = tempEl.offsetParent;

        }

    return xPos;

    }



function getRealTop(imgElem) {

	yPos = eval(imgElem).offsetTop;

	tempEl = eval(imgElem).offsetParent;

    while (tempEl != null) {

    	yPos += tempEl.offsetTop;

        tempEl = tempEl.offsetParent;

        }

	return yPos;

    }



function fwLoadMenus() {

  if (window.fw_menu_0) return;



  window.fw_menu_0 =  new Menu("root",200,19,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#04047D","#0F6CC9");

  fw_menu_0.addMenuItem("Company Overview","location='about.html'");

  fw_menu_0.addMenuItem("Mission","location='mission.html'");

  fw_menu_0.addMenuItem("Corporate Governance","location='corporate.html'");
  
  fw_menu_0.addMenuItem("Scientific Advisory Board","location='advisory_board.html'");

  fw_menu_0.hideOnMouseOut=true;

  

   window.fw_menu_1 = new Menu("root",200,19,"Arial, Helvetica, sans-serif",12,"#ffffff","#ffffff","#04047D","#0F6CC9");

   fw_menu_1.addMenuItem("Oxygen Ion Transport Membranes","location='oxygen_ion_transport_membranes.html'");  
  
  
   fw_menu_1.addMenuItem("Solid Oxide Fuel Cells","location='solid_oxide_fuel_cells.html'");

   
   fw_menu_1.hideOnMouseOut=true;  





 fw_menu_1.writeMenus();

} 



var testnum = 13;  

  