/***********************************************************************************
*	(c) Ger Versluis 2000 version 5.411 24 December 2001 (updated Jan 31st, 2003 by Dynamic Drive for Opera7)
*	For info write to menus@burmees.nl		          *
*	You may remove all comments for faster loading	          *		
***********************************************************************************/

	var NoOffFirstLineMenus=13;			// Number of first level items
	var LowBgColor='transparent';			// Background color when mouse is not over
	var LowSubBgColor='#f1f5fc';			// Background color when mouse is not over on subs
	var HighBgColor='transparent';			// Background color when mouse is over
	var HighSubBgColor='#FFFFFF';			// Background color when mouse is over on subs
	var FontLowColor='#999999';			// Font color when mouse is not over
	var FontSubLowColor='#80848b';			// Font color subs when mouse is not over
	var FontHighColor='#3878db';			// Font color when mouse is over
	var FontSubHighColor='#3878db';			// Font color subs when mouse is over
	var BorderColor='';					// Border color
	var BorderSubColor='#a1bfee';			// Border color for subs
	var BorderWidth=1;				// Border width
	var BorderBtwnElmnts=0;			// Border between elements 1 or 0
	var FontFamily="Verdana,arial,comic sans ms,technical"	// Font family menu items
	var FontSize=10;				// Font size menu items
	var FontBold=0;				// Bold menu items 1 or 0
	var FontItalic=0;				// Italic menu items 1 or 0
	var MenuTextCentered='left';			// Item text position 'left', 'center' or 'right'
	var MenuCentered='left';			// Menu horizontal position 'left', 'center' or 'right'
	var MenuVerticalCentered='top';		// Menu vertical position 'top', 'middle','bottom' or static
	var ChildOverlap=0;				// horizontal overlap child/ parent
	var ChildVerticalOverlap=0;			// vertical overlap child/ parent
	var StartTop=2;				// Menu offset x coordinate
	var StartLeft=-1;				// Menu offset y coordinate
	var VerCorrect=0;				// Multiple frames y correction
	var HorCorrect=0;				// Multiple frames x correction
	var LeftPaddng=2;				// Left padding
	var TopPaddng=2;				// Top padding
	var FirstLineHorizontal=1;			// SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
	var MenuFramesVertical=1;			// Frames in cols or rows 1 or 0
	var DissapearDelay=200;			// delay before menu folds in
	var TakeOverBgColor=1;			// Menu frame takes over background color subitem frame
	var FirstLineFrame='self';			// Frame where first level appears
	var SecLineFrame='space';			// Frame where sub levels appear
	var DocTargetFrame='space';			// Frame where target documents appear
	var TargetLoc='MenuPos';				// span id for relative positioning
	var HideTop=0;				// Hide first level when loading new document 1 or 0
	var MenuWrap=1;				// enables/ disables menu wrap 1 or 0
	var RightToLeft=0;				// enables/ disables right to left unfold 1 or 0
	var UnfoldsOnClick=0;			// Level 1 unfolds onclick/ onmouseover
	var WebMasterCheck=0;			// menu tree checking on or off 1 or 0
	var ShowArrow=0;				// Uses arrow gifs when 1
	var KeepHilite=1;				// Keep selected path highligthed
	var Arrws=['tri.gif',0,0,'tridown.gif',0,0,'trileft.gif',0,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
function SelectHide(){return}
function SelectShow(){return}




// Menu tree
//	MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
//	For rollover images set "Text to show" to:  "rollover:Image1.jpg:Image2.jpg"

var hft='<img src=/images/m_blank.gif height=8 width=5>'; //sets height from top of cell to center the text vertically
var hft_db;
var whiteline='<br><img src=/images/whiteline.gif height=6 width=100%>'; 

var detect = navigator.userAgent.toLowerCase();

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}


if (checkIt('mac')) //check for macintosh machines
{
	var hft_db='<img src=/images/m_blank.gif height=9 width=5><br>'; //sets height of double lines from top of cell to center the text vertically
}
else
{
	var hft_db='<img src=/images/m_blank.gif height=6 width=5><br>'; //sets height of double lines from top of cell to center the text vertically
}

	Menu1=new Array("" + hft_db + "<center>COMPANY</center>","","",4,25,90);
	Menu1_1=new Array("" + hft_db + hft + " Profile","/company/index.asp","",0,25,100);
	Menu1_2=new Array("" + hft_db + hft + " Environment","/company/environment.asp","",0);
	Menu1_3=new Array("" + hft_db + hft + " Community","/company/community.asp","",0);
	Menu1_4=new Array("" + hft_db + hft + " Milestone","/company/milestone.asp","",0);

Menu2=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu3=new Array("" + hft_db + "<center>INNOVATIONS</center>","","",2,25,90);
	Menu3_1=new Array("" + hft_db + hft + " Research & Development","/company/innovation.asp","",0,25,155);
	Menu3_2=new Array("" + hft_db + hft + " Concept Cars Displayed","/company/concept-cars.asp","",0);
	//Menu3_3=new Array("" + hft_db + hft + " Safety","/company/safety.asp","",0);

Menu4=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu5=new Array("" + hft_db + "<center>PRODUCTS</center>","/products/index.asp","",5,25,90);
	Menu5_1=new Array("" + hft_db + hft + " TATA Indica","/products/indica.asp","",0,25,120);
	Menu5_2=new Array("" + hft_db + hft + " TATA Indigo","/products/indigo-sedan.asp","",0);
	Menu5_3=new Array("" + hft_db + hft + " TATA Indigo SW","/products/indigo-sw.asp","",0);
	Menu5_4=new Array("" + hft_db + hft + " TATA Safari DiCOR","/products/safari-dicor.asp","",0);
	Menu5_5=new Array("" + hft_db + hft + " TATA Sumo","/products/sumo.asp","",0);

Menu6=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu7=new Array("" + hft_db + "<center>GLOBAL NETWORK</center>","/global-presence/index.asp","",0,25,120);

Menu8=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu9=new Array("" + hft_db + "<center>AUTO SHOWS & EVENTS</center>","","",2,25,140);
	Menu9_1=new Array("" + hft_db + hft + " Auto Shows","/company/auto-shows.asp","",0,25,120);
	Menu9_2=new Array("" + hft_db + hft + " Events","/news-corner/index.asp","",0);
	//Menu9_3=new Array("" + hft_db + hft + " Press Releases","javascript:window.open('http://tatamotors.com/our_world/press_releases.php?action=ShowNew')","",0);

Menu10=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu11=new Array("" + hft_db + "<center>FUN ZONE</center>","","",2,25,90);
	Menu11_1=new Array("" + hft_db + hft + " Wallpapers","/fun-zone/wallpapers.asp","",0,25,120);
	Menu11_2=new Array("" + hft_db + hft + " Screensavers","/fun-zone/screensavers.asp","",0);

Menu12=new Array("<img src=/images/vlink_divide.gif height=25 width=3>","","",0,25,3);

Menu13=new Array("" + hft_db + "<center>CONTACT US</center>","/enquiry/index.asp","",0,25,90);
	
