DD_MacN7=(DD_Mac&&
         (DD_UserAgent.indexOf('Netscape/7')!=-1))
         ?true:false;

DD_f_UpdateDefaults({
	MenuWidth:50,
	BaseURL:"",
	ClickKill:0,
	MilliSecondsVisible:250,
	ScrollEnabled:1,
	ScrollOver:1,
	ScrollBothBars:1,
	ScrollInterval:(DD_MacN7) ? 100 : 20,
	FontFamily:"Verdana",
	FontSize:"11px",
	FontWeight:"",
	FontColor:"#FFFFFF",
	FontColorOver:"#CCCCCC",
	FontColorSelected:"#CCCCCC",
	BGColor:"#73191B",
	BGColorOver:"#582021",
	BGColorSelected:"#582021",
	BorderWidth:1,
	BorderColor:"#FFFFFF",
	SeparatorSize:1,
	SeparatorColor:"#FFFFFF",
	ItemPadding:2,
	//MenuPaddingLeft:8,
	//MenuBGColor:"#777777",
	KeepHilite:1,
	ChildPerCentOver:1,
	ChildOffset:-1,
	ShowLinkCursor:1,
	CreateOnLoad:false,
		SlideInFrom:"top",
	SlideInPercent:12,
	SlideInInterval:15,
	SlideOutTo:"top", 
	SlideOutPercent:9,
	SlideOutInterval:9,
	setTrans:DD_f_SetSlide,
		killTrans:DD_f_KillSlide,
	MenuOpacity:.97,
	TextAlign:"left",
	StatusDisplayBuild:false,
	NSFontOver:1,
	ImageSrc:"arrow_right.gif",
	ImageSrcOver:"arrow_right.gif",
	ImageSrcLeft:"arrow_left.gif",
	ImageSrcLeftOver:"arrow_left.gif",
	ImageWidth:4,
	ImageHeight:7
});

DD_f_SetMenuTemplate({
	MenuWidth:180,
	IsVariableWidth:false
});



DD_f_SetMenus({MenuID:"DD_Menu2",TopMenuX:"(DD_f_GetElementXY('company','x'))",TopMenuY:173,MenuWidth:135});
DD_f_SetItems(
	{MenuID:"DD_Menu2",DisplayText:"&nbsp;&nbsp;History",LinkURL:"/company/history"},
	{MenuID:"DD_Menu2",DisplayText:"&nbsp;&nbsp;Strategy",LinkURL:"/company/strategy"},
	{MenuID:"DD_Menu2",DisplayText:"&nbsp;&nbsp;Management",LinkURL:"/company/management"},
	{MenuID:"DD_Menu2",DisplayText:"&nbsp;&nbsp;Board of Directors",LinkURL:"/company/board_of_directors"},
	{MenuID:"DD_Menu2",DisplayText:"&nbsp;&nbsp;Corporate Directory",LinkURL:"/company/corporate_directory"}
);

DD_f_SetMenus({MenuID:"DD_Menu3",TopMenuX:"(DD_f_GetElementXY('projects','x'))",TopMenuY:173,MenuWidth:195});
DD_f_SetItems(
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Overview",LinkURL:"/projects/overview"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Ying Mining District",LinkURL:"/projects/operations/ying_overview"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;XBG + XHP Projects",LinkURL:"/projects/xbg_project"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;BYP Mine",LinkURL:"/projects/byp_mine"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;GC Project",LinkURL:"/projects/gc_project"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Silvertip Project",LinkURL:"/projects/silvertip"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Production Summary",LinkURL:"/projects/operations/production_summary"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Technical Reports &amp;<br>&nbsp;&nbsp;Preliminary Assessment",LinkURL:"/projects/resource_summary"},
	{MenuID:"DD_Menu3",DisplayText:"&nbsp;&nbsp;Photo Gallery",LinkURL:"/projects/slideshow"}
	
);
/*DD_f_SetMenus({MenuID:"DD_Menu3a",MenuWidth:135});
DD_f_SetItems(
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;Ying Mine",LinkURL:"/projects/operations/ying_mine"},
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;HPG Mine",LinkURL:"/projects/operations/hpg_mine"},
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;TLP Mine",LinkURL:"/projects/operations/tlp_mine"},
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;LM Mine",LinkURL:"/projects/operations/lm_mine"},
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;Production Summary",LinkURL:"/projects/operations/production_summary"},
	{MenuID:"DD_Menu3a",DisplayText:"&nbsp;Slideshow",LinkURL:"/projects/operations/slideshow"}
);*/
DD_f_SetMenus({MenuID:"DD_Menu3b",MenuWidth:135});
DD_f_SetItems(
	{MenuID:"DD_Menu3b",DisplayText:"&nbsp;GC/SMT",LinkURL:"[[structure_link_44]]"}
);
DD_f_SetMenus({MenuID:"DD_Menu3c",MenuWidth:135});
DD_f_SetItems(
	{MenuID:"DD_Menu3c",DisplayText:"&nbsp;Silvertip",LinkURL:"/projects/silvertip"}
);

DD_f_SetMenus({MenuID:"DD_Menu4",TopMenuX:"DD_f_GetElementXY('news','x')",TopMenuY:173,MenuWidth:90});
DD_f_SetItems(
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2012",LinkURL:"/news/2012"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2011",LinkURL:"/news/2011"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2010",LinkURL:"/news/2010"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2009",LinkURL:"/news/2009"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2008",LinkURL:"/news/2008"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2007",LinkURL:"/news/2007"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2006",LinkURL:"/news/2006"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2005",LinkURL:"/news/2005"},
	{MenuID:"DD_Menu4",DisplayText:"&nbsp;&nbsp;2004",LinkURL:"/news/2004"}
);

DD_f_SetMenus({MenuID:"DD_Menu5",TopMenuX:"(DD_f_GetElementXY('financials','x'))",TopMenuY:173,MenuWidth:140});
DD_f_SetItems(
	{MenuID:"DD_Menu5",DisplayText:"&nbsp;&nbsp;Financial Summary",LinkURL:"/financials/summary"},
	//{MenuID:"DD_Menu5",DisplayText:"&nbsp;&nbsp;Financial Statements",LinkURL:'javascript:void(0);onfunction=window.open("http://www.sedar.com/DisplayCompanyDocuments.do?lang=EN&issuerNo=00006210","popup","");void(0);'},
	{MenuID:"DD_Menu5",DisplayText:"&nbsp;&nbsp;Financial Statements",LinkURL:"/financials/financials"},
	{MenuID:"DD_Menu5",DisplayText:"&nbsp;&nbsp;Annual Reports",LinkURL:"/financials/annual_reports"},
	{MenuID:"DD_Menu5",DisplayText:"&nbsp;&nbsp;Analyst Conference<br>&nbsp;&nbsp;Calls",LinkURL:"/financials/conference_calls"}
);

DD_f_SetMenus({MenuID:"DD_Menu6",TopMenuX:"(DD_f_GetElementXY('governance','x'))",TopMenuY:173,MenuWidth:150});
DD_f_SetItems(
	{MenuID:"DD_Menu6",DisplayText:"&nbsp;&nbsp;Annual Information<br>&nbsp;&nbsp;Form",LinkURL:"/governance/aif"},
	{MenuID:"DD_Menu6",DisplayText:"&nbsp;&nbsp;AGM Proxy Materials",LinkURL:"/governance/agm"},
	{MenuID:"DD_Menu6",DisplayText:"&nbsp;&nbsp;Corporate Governance",LinkURL:"/governance/corporate_governance"},
	{MenuID:"DD_Menu6",DisplayText:"&nbsp;&nbsp;Safety & Environment",LinkURL:"/governance/safety_environment"}
);

DD_f_SetMenus({MenuID:"DD_Menu7",TopMenuX:"(DD_f_GetElementXY('investors','x'))",TopMenuY:173,MenuWidth:142});
DD_f_SetItems(
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Share Structure",LinkURL:"/investors/share_structure"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Stock Quote &<br>&nbsp;&nbsp;Commodity Prices",LinkURL:"/investors/quote_prices"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;SEDAR Filings",LinkURL:'javascript:void(0);onfunction=window.open("http://www.sedar.com/DisplayCompanyDocuments.do?lang=EN&issuerNo=00006210","popup","");void(0);'},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Analyst Coverage",LinkURL:"/investors/analyst_coverage"},
	//{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;China's Silver Market",LinkURL:"/investors/silver_market"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Operating in China",LinkURL:"/investors/operating"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Fact Sheet",LinkURL:"/investors/fact_sheet"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Corporate<br>&nbsp;&nbsp;Presentations",LinkURL:"/investors/corporate_presentations"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Calendar of Events",LinkURL:"/investors/calendar"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Media",LinkURL:"/investors/media"},
	{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Silvercorp's 2011<br>&nbsp;&nbsp;China Investor Tour",LinkURL:"/investors/investory_tour"}
	//{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;Silvercorp Coins",LinkURL:"[[structure_link_61]]"},
	//{MenuID:"DD_Menu7",DisplayText:"&nbsp;&nbsp;FAQ",LinkURL:"/investors/faq"}
);
