function whatHost() {
var p=document.location.protocol.toString();
var h=document.location.hostname.toString();
return p + "//" + h;
}

function whatName() {
var p=document.location.toString();
p=((p.indexOf("tetrix")>=0)||(p.indexOf("baza")>=0))?"tech":"support";
return "/"+p;
}


var theHost=whatHost()+whatName();

        oM=new makeCM("oM");
        oM.root='';
        oM.resizeCheck=0;
        oM.rows=1;
        oM.menuPlacement="left";
        oM.onlineRoot="";
        oM.pxBetween=0;
        oM.fillImg="https://genesyslab.com/images/filldot.gif";
        oM.fromTop=41;
        oM.fromLeft=-1;
        oM.wait=300;
        oM.zIndex=5;
        oM.useBar=0;
        oM.level[0]=new cm_makeLevel(108,30,"clT","clT",0,1,"clB",0,"bottom",0,0,0,0,0);
        oM.level[1]=new cm_makeLevel(165,30,"clS","clSover",0,0,"clB",0,"right",0,0);
        
        oM.makeMenu('m1','','Home',theHost+'/home','','','',theHost+'/images/support_home'+((navSection=='home')?'-sel':'')+'.gif',theHost+'/images/support_home-over.gif');
        oM.makeMenu('m2','','Knowledge Base',theHost+'/dl','','','',theHost+'/images/knowledgebase'+((navSection=='dl')?'-sel':'')+'.gif',theHost+'/images/knowledgebase-over.gif');
        oM.makeMenu('m3','','My Service Requests',theHost+'/mysupport','','','',theHost+'/images/my_requests'+((navSection=='tickets')?'-sel':'')+'.gif',theHost+'/images/my_requests-over.gif');
        oM.makeMenu('m4','','Tech Tutorials',theHost+'/tutorials','','','',theHost+'/images/tech_tutorials'+((navSection=='tutorials')?'-sel':'')+'.gif',theHost+'/images/tech_tutorials-over.gif');
        oM.makeMenu('m5','','Genesys Developer','http://www.genesyslab.com/about/partners/interworks_app.asp','','','',theHost+'/images/developer'+((navSection=='developer')?'-sel':'')+'.gif',theHost+'/images/developer-over.gif');
        oM.makeMenu('m6','','Contact Us',theHost+'/contact','','','',theHost+'/images/contact_us'+((navSection=='contact')?'-sel':'')+'.gif',theHost+'/images/contact_us-over.gif');
        oM.makeMenu('m7','','','','','','',theHost+'/images/menublank.gif','');
        
        
        //Home menu items
        oM.makeMenu('m1_1','m1','Index',theHost+'/');
        oM.makeMenu('m1_2','m1','Web Site Benefits',theHost+'/home/benefits');
        oM.makeMenu('m1_3','m1','Browser Requirements',theHost+'/home/software');
        
        
        //Knowledge Base menu items
        oM.makeMenu('m2_1','m2','Browse Documents',theHost+'/dl/browse');
        oM.makeMenu('m2_2','m2','Search Documents',theHost+'/dl/search');
        oM.makeMenu('m2_3','m2','Solution Search','http://solutionsearch.genesyslab.com');
        oM.makeMenu('m2_4','m2','Help',theHost+'/dl/help');
        
        
        //My Service Requests menu items
        oM.makeMenu('m3_1','m3','Technical Support Guide',theHost+'/tickets/guide');
        oM.makeMenu('m3_2','m3','Help',theHost+'/tickets/help');
        
        
        //Tech Tutorials menu items
        //oM.makeMenu('m4_1','m4','Tech Tutorials',theHost+'/tutorials');
        
        
        //Developer menu items
        //oM.makeMenu('m5_1','m5','Genesys Developer','http://www.genesyslab.com/about/partners/interworks_app.asp');
        
        
        //Contact Us menu items
        oM.makeMenu('m6_1','m6','Contact Information',theHost+'/contact');
        oM.makeMenu('m6_2','m6','Feedback',theHost+'/contact/feedback.asp?ptype=Suggestion');
        
        
        
        oM.construct();
