

var WindowRef = null; 

function winFelix(theURL,wid,hgt) {
  if (wid == "" || wid < 300) wid = 500;
  if (hgt == "" || hgt < 300) hgt = 500;
  var winoptions = 'width=' + wid + ',height=' + hgt + ',resizable=yes,scrollbars=yes';
  if(WindowRef == null || WindowRef.closed){
	    WindowRef = window.open(theURL,'felixwin',winoptions);
  }
		else{
			  WindowRef.focus();
	    WindowRef = window.open(theURL,'felixwin',winoptions);
		}
}

function selectTopic(obj){
   var dude = document.getElementById('selector');
   dude.style.display = "inline";
   var pressobj = document.getElementById('press');
   var videoobj = document.getElementById('video');
   var photosobj = document.getElementById('photos');
   videoobj.style.display = 'none';
   photosobj.style.display = 'none';
   pressobj.style.display = 'block';
   if (obj == 'press'){
      dude.style.top = "45px";
      videoobj.style.display = 'none';
      photosobj.style.display = 'none';
      pressobj.style.display = 'block';
   }
   if (obj == 'video'){
      dude.style.top = "92px";
      photosobj.style.display = 'none';
      pressobj.style.display = 'none';
      videoobj.style.display = 'block';
   }
   if (obj == 'photos'){
      dude.style.top = "140px";
      pressobj.style.display = 'none';
      videoobj.style.display = 'none';
      photosobj.style.display = 'block';
   }
}

var bname = navigator.appName;
var bver = navigator.appVersion;
var bVerSub = bver.substring(22,25);	
if (bname == 'Microsoft Internet Explorer'){
   if(bVerSub < 7.0){
      document.write('<link href="/styles/felixie.css" rel="stylesheet" type="text/css" />');
   }
   else{
      document.write("<link href='/styles/felix.css' rel='stylesheet' type='text/css' />");
   }
}
else{
   document.write("<link href='/styles/felix.css' rel='stylesheet' type='text/css' />");
   }

