var bn=navigator.platform
var ie=navigator.appName
var leftmargin=0
if(ie.indexOf("Microsoft Internet Explorer")!=-1)
leftmargin=-3;

_menuCloseDelay=100           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150          // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=5              // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x


with(menuStyle=new mm_style()){
onbgcolor="#666666";
oncolor="#ffffff";
offbgcolor="#000000";
offcolor="#ffffff";
bordercolor="#296488";
borderstyle="solid";
borderwidth=0;
separatorcolor="#2D729D";
separatorsize="1";
padding=2;
fontsize="10px";
fontstyle="bold";
fontfamily="verdana,san-serif,Arial,Helvetica";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
//subimage="images/arrow.gif";
subimagepadding="5";
}

with(submenuStyle=new mm_style()){
separatorsize="0";
padding=0;
fontsize="10px";
fontweight="bold"
fontstyle="bold";
fontfamily="verdana,Arial,Helvetica,san-serif";
pagecolor="white";
pagebgcolor="#000000";
headercolor="#ffffff";
headerbgcolor="#ffffff";
//subimage="images/arrow.gif";
subimagepadding="5";
}
//aboutus
with(milonic=new menuname("abo")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/overview_bt_off.gif' alt='Overview' name='myimage24' id='myimage24' onmouseover='menu_highlight(\"myimage24\",\"overview_bt_on.gif\")' onmouseout='menu_drop(\"myimage24\",\"overview_bt_off.gif\")'>;url=aboutus.html;");
aI("text=<img src='images/people_bt_off.gif' alt='People' name='myimage0' id='myimage0' onmouseover='menu_highlight(\"myimage0\",\"people_bt_on.gif\")' onmouseout='menu_drop(\"myimage0\",\"people_bt_off.gif\")'>;url=people.html;");
//aI("text=<img src='images/reference_bt_off.gif' alt='Refrences' name='myimage1' id='myimage1' onmouseover='menu_highlight(\"myimage1\",\"reference_bt_on.gif\")' onmouseout='menu_drop(\"myimage1\",\"reference_bt_off.gif\")'>;url=reference.html;");
}

//expert
with(milonic=new menuname("rat")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
left=-59;
//aI("text=<img src='images/overview_bt_off.gif' alt='People' name='myimage25' id='myimage25' onmouseover='menu_highlight(\"myimage25\",\"overview_bt_on.gif\")' onmouseout='menu_drop(\"myimage25\",\"overview_bt_off.gif\")'>;url=experties.html;");
aI("text=<img src='images/consulting_bt_off.gif' alt='Consulting' name='myimage29' id='myimage29' onmouseover='menu_highlight(\"myimage29\",\"consulting_bt_on.gif\")' onmouseout='menu_drop(\"myimage29\",\"consulting_bt_off.gif\")'>;url=b_consulting.html;");
aI("text=<img src='images/product_bt_off.gif' alt='Product Development' name='myimage10' id='myimage10' onmouseover='menu_highlight(\"myimage10\",\"product_bt_on.gif\")' onmouseout='menu_drop(\"myimage10\",\"product_bt_off.gif\")'>;url=exp_prodev.html;");
aI("text=<img src='images/odc_bt_off.gif' alt='ODC' name='myimage11' id='myimage11' onmouseover='menu_highlight(\"myimage11\",\"odc_bt_on.gif\")' onmouseout='menu_drop(\"myimage11\",\"odc_bt_off.gif\")'>;url=exp_odc1.html;");
aI("text=<img src='images/mnt_bt_off.gif' alt='Maintenance' name='myimage12' id='myimage12' onmouseover='menu_highlight(\"myimage12\",\"mnt_bt_on.gif\")' onmouseout='menu_drop(\"myimage12\",\"mnt_bt_off.gif\")'>;url=exp_maintenance.html;");
aI("text=<img src='images/support_bt_off.gif' alt='Support' name='myimage13' id='myimage13' onmouseover='menu_highlight(\"myimage13\",\"support_bt_on.gif\")' onmouseout='menu_drop(\"myimage13\",\"support_bt_off.gif\")'>;url=exp_support.html;");
aI("text=<img src='images/testing_bt_off.gif' alt='Testing' name='myimage14' id='myimage14' onmouseover='menu_highlight(\"myimage14\",\"testing_bt_on.gif\")' onmouseout='menu_drop(\"myimage14\",\"testing_bt_off.gif\")'>;url=exp_test.html;");
}

//verticals
with(milonic=new menuname("sto")){
orientation="horizontal";
style=submenuStyle;
left=-170;
overflow="scroll";
//left=-31;
//aI("text=<img src='images/overview_bt_off.gif' alt='People' name='myimage26' id='myimage26' onmouseover='menu_highlight(\"myimage26\",\"overview_bt_on.gif\")' onmouseout='menu_drop(\"myimage26\",\"overview_bt_off.gif\")'>;url=verticals.html;");
aI("text=<img src='images/onlinebanking_bt_off.gif' alt='Online Banking' name='myimage15' id='myimage15' onmouseover='menu_highlight(\"myimage16\",\"onlinemedai_bt_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"onlinebanking_bt_off.gif\")'>;url=online_banking.html;");
aI("text=<img src='images/onlinemedai_bt_off.gif' alt='Online Media' name='myimage16' id='myimage16' onmouseover='menu_highlight(\"myimage16\",\"onlinemedai_bt_on.gif\")' onmouseout='menu_drop(\"myimage16\",\"onlinemedai_bt_off.gif\")'>;url=online_media.html;");
aI("text=<img src='images/onlineretail_off.gif' alt='Online Retail' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"onlineretail_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"onlineretail_off.gif\")'>;url=online_retails.html;");
aI("text=<img src='images/onlinetravel_off.gif' alt='Online Travel' name='myimage19' id='myimage19' onmouseover='menu_highlight(\"myimage19\",\"onlinetravel_on.gif\")' onmouseout='menu_drop(\"myimage19\",\"onlinetravel_off.gif\")'>;url=online_travel.html;");
aI("text=<img src='images/socialmedia_bt_off.gif' alt='Social Media' name='myimage17' id='myimage17' onmouseover='menu_highlight(\"myimage17\",\"socialmedia_bt_on.gif\")' onmouseout='menu_drop(\"myimage17\",\"socialmedia_bt_off.gif\")'>;url=custom_applicaton.html;");
}

//clients
with(milonic=new menuname("clt")){
orientation="horizontal";
style=submenuStyle;
overflow="scroll";
aI("text=<img src='images/overview_bt_off.gif' alt='Overview' name='myimage27' id='myimage27' onmouseover='menu_highlight(\"myimage27\",\"overview_bt_on.gif\")' onmouseout='menu_drop(\"myimage27\",\"overview_bt_off.gif\")'>;url=client.html;");
aI("text=<img src='images/casestudy_bt_off.gif' alt='Casestudies' name='myimage23' id='myimage23' onmouseover='menu_highlight(\"myimage23\",\"casestudy_bt_on.gif\")' onmouseout='menu_drop(\"myimage23\",\"casestudy_bt_off.gif\")'>;url=client_casestudy.html;");
}

//Carrer
with(milonic=new menuname("cer")){
orientation="horizontal";
style=submenuStyle;
left=-297;
overflow="scroll";
aI("text=<img src='images/subresum_bt_off.gif' alt='Submit Resume' name='myimage21' id='myimage21' onmouseover='menu_highlight(\"myimage21\",\"subresum_bt_on.gif\")' onmouseout='menu_drop(\"myimage21\",\"subresum_bt_off.gif\")'>;url=career_fresh.html;");
aI("text=<img src='images/joinmast_bt_off.gif' alt='Why Join Mastiff' name='myimage22' id='myimage22' onmouseover='menu_highlight(\"myimage22\",\"joinmast_bt_on.gif\")' onmouseout='menu_drop(\"myimage22\",\"joinmast_bt_off.gif\")'>;url=career_joinmast.html;");
aI("text=<img src='images/daymastiff_bt_off.gif' alt='Day at Mastiff' name='myimage18' id='myimage18' onmouseover='menu_highlight(\"myimage18\",\"daymastiff_bt_on.gif\")' onmouseout='menu_drop(\"myimage18\",\"daymastiff_bt_off.gif\")'>;url=career_dayatmastiff.html;");
aI("text=<img src='images/overview_bt_off.gif' alt='Overview' name='myimage28' id='myimage28' onmouseover='menu_highlight(\"myimage28\",\"overview_bt_on.gif\")' onmouseout='menu_drop(\"myimage28\",\"overview_bt_off.gif\")'>;url=career.html;");
}



function menu_highlight(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

function menu_drop(imgname,imgsrc)
{
	document.images[imgname].src='images/'+imgsrc;
}

drawMenus();

