<!--

// last_update: 05-13-03 (rent)


// BROWSER CHECKPOINT

var agentl=navigator.userAgent.toLowerCase();

var isDOM = (document.getElementById)?true:false;
var isNS4 = (document.layers)?true:false;
var isIE = (document.all)?true:false;
var isOpera = (navigator.userAgent.substr(navigator.userAgent.indexOf("Opera")+6,1)<=6)?true:false;
var isSafari = ((agentl.indexOf('safari')!=-1)&&(agentl.indexOf('mac')!=-1))?true:false;  // no object detection at this time

// SAFARI REDIRECT

//if (isSafari) {
//     window.location.href = "/orgs/montaigne/i2.shtml"
//}


//var sbin = "/orgs/montaigne/inc/globals/css/";  // CSS bin   
//var jbin = "/orgs/montaigne/inc/globals/js/";   // JS bin

// NS4 problematic - feed it custom CSS

if (isNS4) {

     document.write('<link rel="stylesheet" href="/orgs/montaigne/inc/globals/css/NS4.css" type="text/css">');
}

else {
     document.write('<link rel="styleSheet" href="/orgs/montaigne/inc/globals/css/tier1.css" type="text/css">');
}

// POPUP

       function viewDoc(document) {
        
        cLeft=(screen.width)?(screen.width-455)/2:100;
        cTop=(screen.height)?(screen.height-265)/2:100;

window.open('/orgs/montaigne/h/popup/'+document+'.html','_blank','scrollbars=no,resizable=no,menubar=no,height=265,width=455,innerheight=265,innerwidth=455,top='+cTop+',left='+cLeft+'');
        }

// IMAGE CACHE/SWAP
/******************************************************
*	function cache(imgStr,SRC) {
*        	if (document.images) {
*                	eval(imgStr+' = new Image()');
*                	eval(imgStr+'.src = "'+SRC+'"');
*        	}
*	}
*
*	function swap(imgName,imgObj,layer) {
*        	if (document.images) {
*                	
*                        	document.images[imgName].src = eval(imgObj+".src");
*                	}
*        	}
*	
*
*DIR="i/globals/nav/";	// ref curr image dirs		
*
*		cache("tnav1", DIR +"tab_order.gif")                   // nav tab swaps
*		cache("tnav1_on", DIR + "tab_order_on.gif")
*		cache("tnav2", DIR +"tab_commande.gif")
*		cache("tnav2_on", DIR + "tab_commande_on.gif")
* 
***************************************************************/        
//-->