fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=250          // The time delay for menus to remain visible on mouse out
_menuOpenDelay=100           // The time delay before menus open on mouse over
_subOffsetTop=7              // Sub menu top offset
_subOffsetLeft=-5            // Sub menu left offset


with(RTTS_STYLE=new mm_style()){
onbgcolor="#0000CC";
oncolor="#FFFFFF";
offbgcolor="#003366";
offcolor="#FFFFFF";
bordercolor="#ffffff";
borderstyle="solid";
borderwidth=1;
separatorcolor="#ffffff";
separatorsize=1;
separatorpadding=0;
padding=2;
//onborder="1px solid #000000";
fontsize=11;
fontstyle="normal";
fontfamily="Arial,Lucida Grande, Lucida Sans, Verdana";
subimage="/menuArrowOn.gif";
onsubimage="/menuArrowOn.gif";
subimagepadding="2";
align="left";
overfilter="GradientWipe(WipeStyle=1, size=1.00, motion='Forward', duration=0.2)";
outfilter="GradientWipe(WipeStyle=1, size=1.00, motion='Reverse', duration=0.2)";
}


with(milonic=new menuname("menuHome")){
style=RTTS_STYLE;
top="offset=4";
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Services;url=/services/;");
aI("text=Training;url=/training/;");
aI("text=Alliances;url=/alliances/;");
aI("text=Outsourcing;url=/outsourcing/;");
aI("text=About RTTS;url=/about/;");
aI("text=Clients;url=/clients/;");
aI("text=Careers;url=/careers/;");
aI("text=Industries;url=/industries/;");
aI("text=Platforms;url=/platforms/;");
aI("text=News;url=/news/;");
aI("text=Events;url=/events/;");
aI("text=Research;url=/research/;");
}

with(milonic=new menuname("menuServices")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Services Home;url=/services/;");
aI("text=FREE Service: Project Sizing;url=/services/project/;");
aI("text=In the Cloud;showmenu=subMenu_cloud;url=/services/cloud/;");
aI("text=Strategic Planning;showmenu=subMenu_StrategicPlanning;url=/services/planning/;");
aI("text=Tactical Implementation;showmenu=subMenu_TacticalImplementation;url=/services/implementation/;");
aI("text=Diagnosing/Monitoring/Tuning;showmenu=subMenu_Diagnosing;url=/services/monitoring/;");
aI("text=Tools Supported;showmenu=subMenu_ToolsSupported;url=/services/tools/;");
aI("text=Outsourced Testing Services;showmenu=subMenu_Outsourcing;url=/services/outsourcing/;");
aI("text=Consulting;url=/services/consulting/;");
}

with(milonic=new menuname("subMenu_cloud")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Performance Testing;url=/services/implementation/performance/packages/;");
aI("text=Functional Testing;url=/services/implementation/testlab/;");
aI("text=Application Security Testing;url=/services/implementation/security/;");
aI("text=O3 - Onshore Outsourced Testing;url=/services/outsourcing/onshore/;");
aI("text=Training;url=/training/distanceLearning/;");

}

with(milonic=new menuname("subMenu_StrategicPlanning")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Project Sizing & Cost Estimation;url=/services/project/;");
aI("text=Software Process Evaluation;url=/services/planning/evaluate/;");
aI("text=Test Planning Service;url=/services/planning/plan/;");
aI("text=Selecting Automation Tools;url=/services/planning/select/;");
aI("text=Managing Your Project;url=/services/planning/manage/;");
aI("text=Best Practices;url=/services/planning/best_practices/;");
aI("text=Training Courses;url=/training/;");

}

with(milonic=new menuname("subMenu_TacticalImplementation")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Performance Testing;url=/services/implementation/performance/;");
aI("text=Functional Testing;url=/services/implementation/functional/;");
aI("text=Data Warehouse Testing;url=/platforms/datawarehouse/;");
aI("text=Application Security Testing;url=/services/implementation/security/;");
aI("text=Network Testing;url=/services/implementation/network/;");
aI("text=RTTS' Jumpstart Program;url=/services/implementation/jumpstart/;");
aI("text=Automated Test Script Maintenance;url=/services/implementation/maintenance/;");

aI("text=Functional Test Lab;url=/services/implementation/testlab/;");
}

with(milonic=new menuname("subMenu_Diagnosing")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=App Performance Monitoring;url=/services/monitoring/monitoring/;");
aI("text=Diagnosing;showmenu=subMenu_DiagnosingAppD;url=/services/monitoring/diagnosing/;");
aI("text=Tuning;showmenu=subMenu_Tuning;url=/services/monitoring/tuning/;"); 
}


with(milonic=new menuname("subMenu_DiagnosingAppD")){
style=RTTS_STYLE;
top="offset=4";
itemwidth="150";
margin=2;
overflow="scroll";
aI("text=AppDetect;url=/services/monitoring/diagnosing/appDetect/;");

}

with(milonic=new menuname("subMenu_ToolsSupported")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=IBM Rational;url=/services/tools/ibm/;");
aI("text=HP;url=/services/tools/mercury/;");
aI("text=Microsoft;url=/services/tools/microsoft/;"); 
aI("text=Compuware;url=/services/tools/compuware/;"); 
aI("text=Citrix;url=/services/tools/citrix/;"); 
}

with(milonic=new menuname("subMenu_Outsourcing")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=TestPack - Bankable Hours;url=/services/outsourcing/onsite/;");
aI("text=O3 - Onshore Outsourced Testing;url=/services/outsourcing/onshore/;");
}

with(milonic=new menuname("subMenu_PerformanceTesting")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Fixed-Price Performance Packages;url=/services/implementation/performance/packages/;");

aI("text=Performance Test Bureau;url=/services/implementation/performance/bureau/;");
}

with(milonic=new menuname("subMenu_FunctionalTesting")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Fixed-Price Functional Program;url=/services/implementation/functional/packages/;");
 }


with(milonic=new menuname("subMenu_Tuning")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Database Tuning;url=/services/monitoring/tuning/database/;");
aI("text=Application Server Tuning;url=/services/monitoring/tuning/application/;");
}

with(milonic=new menuname("menuTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Training Home;url=/training/;");
aI("text=IBM Rational Training Courses;showmenu=subMenu_IBMTraining;url=/training/rational/;");
aI("text=Microsoft Training Courses;showmenu=subMenu_MicrosoftTraining;url=/training/microsoft/;");
aI("text=HP Training Courses;showmenu=subMenu_MercuryTraining;url=/training/mercury/;");
aI("text=Compuware Training Courses;showmenu=subMenu_CompuwareTraining;url=/training/compuware/;");
aI("text=Open Source Training Courses;showmenu=subMenu_OpenSourceTraining;url=/training/opensource/;");
aI("text=RTTS Training Courses;showmenu=subMenu_RTTSTraining;url=/training/rtts/;");
aI("text=Public Training Course Search;url=/training/search.jsp;");
aI("text=Training in the Cloud;url=/training/distanceLearning/;");
aI("text=On-Site Mentoring;url=/training/mentoring/;");
aI("text=Training Space Rental;url=/training/trainingspace/;");
}

with(milonic=new menuname("subMenu_IBMTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=IBM Rational Course Index;url=/training/rational/;");
aI("text=IBM Rational New York Course Schedule;url=/training/calendar.jsp?cv=IBM%20Rational&ci=New%20York&st=NY;");
aI("text=IBM Rational In The Cloud Course Schedule;url=/training/calendar.jsp?cv=IBM%20Rational&ci=In%20the%20Cloud&st=WEB;");
}

with(milonic=new menuname("subMenu_MicrosoftTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Microsoft Course Index;url=/training/microsoft/;");
aI("text=Microsoft New York Course Schedule;url=/training/calendar.jsp?cv=Microsoft&ci=New%20York&st=NY;");
aI("text=Microsoft In The Cloud Course Schedule;url=/training/calendar.jsp?cv=Microsoft&ci=In%20the%20Cloud&st=WEB;");
}

with(milonic=new menuname("subMenu_MercuryTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=HP Course Index;url=/training/mercury/;");
aI("text=HP New York Course Schedule;url=/training/calendar.jsp?cv=Mercury&ci=New%20York&st=NY;");
}


with(milonic=new menuname("subMenu_CompuwareTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Compuware Course Index;url=/training/compuware/;");
aI("text=Compuware New York Course Schedule;url=/training/calendar.jsp?cv=Compuware&ci=New%20York&st=NY;");
aI("text=Compuware In The Cloud Course Schedule;url=/training/calendar.jsp?cv=Compuware&ci=In%20the%20Cloud&st=WEB;");
}

with(milonic=new menuname("subMenu_OpenSourceTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Open Source Course Index;url=/training/opensource/;");
aI("text=Open Source New York Course Schedule;url=/training/calendar.jsp?cv=Open%20Source&ci=New%20York&st=NY;");
aI("text=Open Source In The Cloud Course Schedule;url=/training/calendar.jsp?cv=Open%20Source&ci=In%20the%20Cloud&st=WEB;");

}


with(milonic=new menuname("subMenu_RTTSTraining")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=RTTS Course Index;url=/training/rtts/;");
aI("text=RTTS New York Course Schedule;url=/training/calendar.jsp?cv=RTTS&ci=New%20York&st=NY;");
aI("text=RTTS In The Cloud Course Schedule;url=/training/calendar.jsp?cv=RTTS&ci=In the Cloud&st=WEB;");
}

with(milonic=new menuname("menuAlliances")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Alliances Home;url=/alliances/;"); 
aI("text=IBM Rational;url=/services/tools/ibm/;");
aI("text=HP;url=/services/tools/mercury/;");
aI("text=Microsoft;url=/services/tools/microsoft/;"); 
aI("text=Compuware;url=/services/tools/compuware/;"); 
aI("text=Citrix;url=/services/tools/citrix/;"); 

} 

with(milonic=new menuname("menuOutsourcing")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Outsourcing Home;url=/outsourcing/;"); 
aI("text=RTTS Outsourced Testing Services;showmenu=subMenu_Outsourcing;url=/services/outsourcing/;");
aI("text=Research Articles;url=/outsourcing/articles/;");
aI("text=Outsourcing Statistics;url=/outsourcing/statistics/;"); 
aI("text=Issues With Offshore Outsourcing;url=/outsourcing/issues/;"); 
} 

with(milonic=new menuname("menuAbout")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=About RTTS Home;url=/about/;");
aI("text=Key Players;url=/about/players/;");
aI("text=Company History;url=/about/history/;");
aI("text=Why Choose RTTS?;url=/about/choosing/;"); 
aI("text=Contact RTTS;url=/contactUs/;"); 
aI("text=RTTS Blogs;url=/interactive/blogs/;"); 
} 

with(milonic=new menuname("menuClients")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Clients Home;url=/clients/;");
}
 
with(milonic=new menuname("menuIndustries")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Industries Home;url=/industries/;");
 
}
 
with(milonic=new menuname("menuNews")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=News Home;url=/news/;");
aI("text=Press Releases;url=/news/releases/;");
aI("text=Published Articles;url=/news/articles/;");
aI("text=Newsletters;url=/news/newsletters/;");
}
 
with(milonic=new menuname("menuEvents")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Events Home;url=/events/;");
}
 


with(milonic=new menuname("menuCareers")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Careers Home;url=/careers/;");
aI("text=Positions at RTTS;url=/careers/positions/;");
aI("text=Training & Education;url=/careers/training/;");
aI("text=Professional Growth;url=/careers/growth/;"); 
aI("text=Company Benefits;url=/careers/benefits/;");
aI("text=Our Culture;url=/careers/culture/;");
aI("text=A Week in the Life...;url=/careers/life/;"); 
aI("text=Recruiting Events;url=/careers/events/;");
aI("text=Application Process & Interviewing;url=/careers/interviewing/;");
aI("text=Frequently Asked Questions;url=/careers/questions/;"); 

} 

with(milonic=new menuname("menuPlatforms")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
itemwidth="200";
overflow="scroll";
aI("text=Platforms Home;url=/platforms/;");
 
} 

with(milonic=new menuname("menuResearch")){
style=RTTS_STYLE;
top="offset=4"
margin=2;
overflow="scroll";
aI("text=Research Home;url=/research/;");
aI("text=Case Studies;url=/research/studies/;");
aI("text=Published Articles;url=/research/articles/;");
aI("text=Free Whitepapers;url=/research/whitepapers/;"); 
} 


drawMenus();

function openwindow(url,w,h)
{
window.open(url,"my_new_window","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, width="+w+", height="+h);
}

function openwindow2(url,w,h)
{
window.open(url,"my_new_window","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width="+w+", height="+h);
}

function openwindow3(url,w,h)
{
window.open(url,"my_new_window","toolbar=yes, location=yes, directories=no, status=yes, menubar=yes, scrollbars=yes, resizable=yes, width="+w+", height="+h);
}

function openWhitepaperForm(url)
{
JavaScript:window.open(url, 'whitepaper', 'status=yes,location=no,toolbar=no,menubar=no,resizable=yes,scrollbars=yes,width=550,height=450');
}

function opacity(id, opacStart, opacEnd, millisec) { 
    //speed for each frame 
    var speed = Math.round(millisec / 100); 
    var timer = 0; 

    //determine the direction for the blending, if start and end are the same nothing happens 
    if(opacStart > opacEnd) { 
        for(i = opacStart; i >= opacEnd; i--) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } else if(opacStart < opacEnd) { 
        for(i = opacStart; i <= opacEnd; i++) 
            { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } 
    
 setTimeout("hideBlock('" + id + "')",500);
     
} 

function opacityOpen(id, opacStart, opacEnd, millisec) { 
    //speed for each frame 
    var speed = Math.round(millisec / 100); 
    var timer = 0; 
    
    setTimeout("showBlock('" + id + "')",25);

    //determine the direction for the blending, if start and end are the same nothing happens 
    if(opacStart > opacEnd) { 
        for(i = opacStart; i >= opacEnd; i--) { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } else if(opacStart < opacEnd) { 
        for(i = opacStart; i <= opacEnd; i++) 
            { 
            setTimeout("changeOpac(" + i + ",'" + id + "')",(timer * speed)); 
            timer++; 
        } 
    } 
    
 
     
} 

function changeOpac(opacity, id) { 
	
    var object = document.getElementById(id).style; 
    object.opacity = (opacity / 100); 
    object.MozOpacity = (opacity / 100); 
    object.KhtmlOpacity = (opacity / 100); 
    object.filter = "alpha(opacity=" + opacity + ")"; 
    
} 

function toggleMe(a){
var e=document.getElementById(a);
if(!e)return true;
if(e.style.display=="none"){
e.style.display="block"
} else {
e.style.display="none"
}
return true;
} 

function hideBlock(a){
var e=document.getElementById(a);
if(!e)return true;
e.style.display="none"
return true;
} 

function showBlock(a){

var e=document.getElementById(a);
 
if(!e)return true;
e.style.display="block"
return true;
} 
