
if (RELATIVITY == null || RELATIVITY == "")
{
	var RELATIVITY = "./";
}


 // begin browser test variables
agt = navigator.userAgent.toLowerCase();

is_major = parseInt(navigator.appVersion);
  is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1));
is_webtv = (agt.indexOf("webtv") != -1);

     NS5 = (is_nav && (is_major >= 5));
     NS4 = (document.layers && !is_webtv);
     IE4 = (document.all && !is_webtv);
    ver4 = (NS4 || IE4);
     IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
   isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));

function popUp(){return};
function popDown(){return};
function hideMenu(){return};

if (!ver4) event = null;

//begin defining parameters

if (isMenu) {
    menuVersion = 3;

    menuWidth = 125;
    childOverlap = 20;
    childOffset = 40;
    perCentOver = null;
    secondsVisible = .1;


 fntCol = "#ffffff"; overFnt = "#ffffff"; 
    fntSiz = "8";
    fntBold = false;
    fntItal = false;
    fntFam = "verdana";
 backCol = "#333333"; overCol = "#666666"; 

    borWid = 1;
    borCol = "#e2e2e2";
    borSty = "plain";
    itemPad = 2;

    imgSrc = "../javascript/tri.gif";
    imgSiz = 10;

    separator = 1;
    separatorCol = "#e2e2e2";

    isFrames = false;      // <-- IMPORTANT for full window
    navFrLoc = "left";     // <-- display. see below

    keepHilite = true;
    clickStart = false;    //when clickstart is false, it uses mouseOver as the event
    clickKill = false;	   //same idea here as the click start
}


function no_op(){return;}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


arMenu1 = new Array ( "", "", "", "", "", "", "", "", ""   ," Overview", RELATIVITY+"about.php",0 
  ," The Dittberner Difference", RELATIVITY+"companyprofile.php",0 
  ," Board of Directors", RELATIVITY+"bod.php",0
  ," Management Bios", RELATIVITY+"managementbios.php",0
  ," Clients", RELATIVITY+"ourclients.php",0 
    ,"Career Opportunites", "http://www.dittberner.com/careeropportunities.php",0 
 ); arMenu2 = new Array ( "", "", "", "", "", "", "", "", ""   ," Overview", RELATIVITY+"services.php",0 
   ," Proprietary Studies", RELATIVITY+"customstudies.php",0 
  ," Multi-client Proprietary Studies", RELATIVITY+"multiclientproprietarystudies.php",0 
   ," Seminar Workshops", RELATIVITY+"seminarworkshops.php",0 
  ," Research Programs", RELATIVITY+"researchprograms.php",0 
  ); arMenu3 = new Array ( "", "", "", "", "", "", "", "", ""  ," Overview", RELATIVITY+"reports.php",0
         ," Benefits", RELATIVITY+"reportsbenefits.php",0 
       ," Reports Catalog", RELATIVITY+"reportsmenu.php",0 
     ," Pricing & Order Info", RELATIVITY+"howtoorder.php",0 
 ," Subscription Program", RELATIVITY+"subscriptionprogram.php",0 
   ," Free Trial", RELATIVITY+"freetrialregistration.php",0 
      ," Buy Online", RELATIVITY+"shoppingcart/buyonline.php",0 
     ); arMenu4 = new Array ( "", "", "", "", "", "", "", "", ""  ," Registration Form", RELATIVITY+"registerform.php",0
 ); arMenu5 = new Array ( "", "", "", "", "", "", "", "", ""  ," Press Releases", RELATIVITY+"news.php",0 
   ," Archives", RELATIVITY+"news/archives.php",0 
  ," Industry Quotations", RELATIVITY+"industryquotations.php",0 
	  ," White Papers", RELATIVITY+"whitepapers.php",0 
	    ," Events", RELATIVITY+"conferences.php",0 
 ); arMenu6 = new Array ( "", "", "", "", "", "", "", "", ""  ," Pricing & Order Info", RELATIVITY+"howtoorder.php",0 
 ," Buy On-line", RELATIVITY+"shoppingcart/buyonline.php",0 

   ); arMenu7 = new Array ( "", "", "", "", "", "", "", "", ""  ," Corporate Headquarters", RELATIVITY+"corporateheadquarters.php",0 
     ," Contact Form", RELATIVITY+"contactform.php",0 ,"<strong>FEEDBACK<srong>", RELATIVITY+"feedback.php",0 

  );

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

