/***********************************************************************************
*	(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=19;			// 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='#48a5ad';			// Font color subs when mouse is not over
	var FontHighColor='#48a5ad';			// Font color when mouse is over
	var FontSubHighColor='#ff6600';			// 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="Tahoma,Verdana,arial,comic sans ms,technical"	// Font family menu items
	var FontSize=8.5;				// 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=6;				// 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=['images/arrow.gif',0,0,'images/tridown.gif',0,0,'images/trileft.gif',0,10];	// Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){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("<img src=images/spacer.gif height=24 width=9>","","",0,24,8);

Menu2=new Array("" + hft_db + "<strong>Market Data</strong>","","",3,24,71);

	//Menu30_1=new Array("Flow Data","Reports/FlowsData.aspx","",0,18,86);
	Menu2_1=new Array("Day Ahead Market  ->","#","",5,18,115);
		//Menu2_1_1=new Array("Unconstrained Market Data","Reports/MarketPrice.aspx","",0,18,150);
		Menu2_1_1=new Array("Area Prices","Reports/AreaPrice.aspx","",0,18,100);
		Menu2_1_2=new Array("Market Snapshot","Reports/MarketPrice.aspx","",0);
		Menu2_1_3=new Array("Area Volumes","Reports/AreaVolume.aspx","",0);
		Menu2_1_4=new Array("Flows Data","Reports/Flows.aspx","",0);
		Menu2_1_5=new Array("Bid Areas","Reports/bidareas.htm","",0);
	Menu2_2=new Array("Term Ahead Market","ViewTAM.aspx","",0);
	Menu2_3=new Array("Weekly Regional Loss","http://nldc.in/NLDC/updateloss/webdata.htm","",0);
		
Menu3=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);
	
	Menu4=new Array("" + hft_db + "|","","",0,24,3);	

Menu5=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);

Menu6=new Array("" + hft_db + "<strong>Documents</strong>","","",3,24,63);
	Menu6_1=new Array("Legal documents","LegalDocs.aspx","",0,18,110);
	Menu6_2=new Array("Circulars","ExchangeCirculars.aspx","",0);
	Menu6_3=new Array("Grievance Redressal","grievances.htm","",0);
	
Menu7=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);
	
	Menu8=new Array("" + hft_db + "|","","",0,24,3);	

Menu9=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);

	Menu10=new Array("" + hft_db + "<strong>Membership</strong>","","",2,24,69);
		Menu10_1=new Array("Requisites","membership.htm","",0,18,160);
		Menu10_2=new Array("Membership Application Forms","membership_forms.htm","",0);
			
Menu11=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);
	
	Menu12=new Array("" + hft_db + "|","","",0,24,3);

Menu13=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);

	Menu14=new Array("" + hft_db + "<strong>Media Room</strong>","","",6,24,70);
		Menu14_1=new Array("Power News","PowerNews.aspx","",0,18,86);
		Menu14_2=new Array("IEX in News","IEXInNews.aspx","",0);
		Menu14_3=new Array("Press Release","PressReleases.aspx","",0);
		Menu14_4=new Array("Articles","Articles.aspx","",0);
		Menu14_5=new Array("Bulletins","Bulletins.aspx","",0);
		Menu14_6=new Array("Events","Events.aspx","",0);

Menu15=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);
Menu16=new Array("" + hft_db + "|","","",0,24,3);
Menu17=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);

Menu18=new Array("" + hft_db + "<strong>Business Model</strong>","","",4,24,86);
		Menu18_1=new Array("Broad Features","broadfeatures.htm","",0,18,135);
		Menu18_2=new Array("Benefits","benefits.htm","",0);
		Menu18_3=new Array("Day Ahead market","day_ahead_mkt.htm","",0);
		Menu18_4=new Array("Term Ahead market","term_ahead_mkt.htm","",0);

	

Menu19=new Array("<img src=images/spacer.gif height=24 width=11>","","",0,24,8);