/****************************************************************************************
*                        Copyright (c)June 1, 2000 Daniel J. Meyer                      *
*                                                                                       *
*                                 All Rights Reserved                                   *
*                                                                                       *
*				    www.Revele.com                                      *
*                                                                                       * 
*                                                                                       *
*****************************************************************************************/

// Declaration section


var BExplorer=false;
var BNetscape=false;
var Playerdir = "http://www.revele.com/etravelplan_player/pda_transfer.htm";

var BMac=false;
var smallFont=1;
var medFont=smallFont+1;
var xcheck=8;    // Used for error trapping in rollovers

// Global Check for browser being used

if (document.all) {BExplorer=true} else if (document.layers) {BNetscape=true}

xplatform=navigator.platform

if (xplatform.indexOf("Mac") != -1) {BMac=true}

if (BMac==true) {smallFont=2}

xbrowser=navigator.appName;
xplatform=navigator.platform;
xversion=parseInt(navigator.appVersion);

//-------------SCREEN SIZE--------------
if (BExplorer) {
  var wxMax=screen.width;
  var wyMax=screen.height;
  var xDepth=screen.colorDepth;
}
else if (BNetscape) {
  var wxMax=window.screen.width;
  var wyMax=window.screen.height;
  var xDepth=window.screen.pixelDepth;
}
//---------------------------------------
	

wx=200;  // Dimensions of PDA window
wy=460;
wxMax=800;
wyMax=600;
xDepth=16;


function PopupWindow(mnuLoc) {

      
  if ((wxMax < wx) || (wyMax < wy)) {
    wxMax=wx;
    wyMax=wy;
  }
  var wxOffset=(wxMax - wx)/2;
  var wyOffset=(wyMax - wy)/2;
  
  wxOffset=400
  wyOffset-=20

  var win_options='"'+
  'toolbar=no'+
  ',scrollbars=no'+
  ',width='+wx+
  ',height='+wy+
  ',screenX='+wxOffset+
  ',screenY='+wyOffset+
  ',top='+wyOffset+
  ',left='+wxOffset+
  ',resizable=0'+'"'

  
  
  winPDA=window.open(Playerdir,mnuLoc,win_options);
  if (winPDA.opener == null) {winPDA.opener=self}

 
}




