//NUA = navigator.userAgent;
//by SB
// Browser detection
//
NUA = navigator.userAgent;
bFIREFOX = (NUA.indexOf("Firefox") != -1);
bOPERA = (NUA.indexOf('Opera') != -1);
bSAFARI = (NUA.indexOf('Safari') != -1);
bKONQUEROR = (!bSAFARI && (NUA.indexOf('Konqueror') != -1) ) ? true : false;
bMOZILLA= ((!bSAFARI && !bKONQUEROR ) && ( NUA.indexOf('Gecko') != -1 ) ) ? true : false;
bIE = ((NUA.indexOf('MSIE') != -1) && !bOPERA);
bWEB = true;  //used everywhere
if(window.location.toString().substring(0,4) == "file") {
    bWEB = false;  
    URLPATH = '';
}
//oLOCAL = window.location; // do we use it?

// should be set to 0 when pushing.
iDEBUG = 0; //  0 for production, changes servletpath below and in bottom.js hard links videoTour and forum.
//iDEBUG = 10; //  10 for development, 0 for production, used in Forum
SERVLETPATH = 'http://thermo.sdsu.edu/servlet';
FORUMLINK = 'blog/MyBlog.html';
VIDEOLINK = 'visualtour/index.html';
if(iDEBUG == 0){
    SERVLETPATH = 'http://test.sdsu.edu/servlet';
    FORUMLINK = 'http://test.sdsu.edu/testhome/blog/MyBlog.html';
    if(!bWEB) {
        VIDEOLINK = 'http://test.sdsu.edu/testhome/visualtour/index.html';
    }
}

