function dm_ext_ruleObjectHide()
{
  return !document.all;
}




var itemStylesNames=[];
var menuStylesNames=[];


//--- Common
var isHorizontal=1;
var smColumns=1;
var smOrientation=0;
var smViewType=0;
var dmRTL=0;
var pressedItem=-2;
var itemCursor="pointer";
var itemTarget="_self";
var statusString="link";
var blankImage="wdmenu.files/blank.gif";
var pathPrefix_img="";
var pathPrefix_link="";

//--- Dimensions
var menuWidth="775px";
var menuHeight="30px";
var smWidth="140px";
var smHeight="";

//--- Positioning
var absolutePos=0;
var posX="5px";
var posY="0px";
var topDX=0;
var topDY=0;
var DX=-11;
var DY=-3;
var subMenuAlign="";
var subMenuVAlign="";

//--- Font
var fontStyle="normal bold 11px Arial";
var fontColor=["#ffffff","#1a1819"];
var fontDecoration=["none","none"];
var fontColorDisabled="#AAAAAA";
//--- Appearance
var menuBackColor="#ffffff";
var menuBackImage="";
var menuBackRepeat="no-repeat";
var menuBorderColor="#84B0D3";
var menuBorderWidth=0;
var menuBorderStyle="none";

//--- Item Appearance
var itemBackColor=["#fb821e","#1688c5"];
var itemBackImage=[""];
var beforeItemImage=["",""];
var afterItemImage=["",""];
var beforeItemImageW="";
var afterItemImageW="";
var beforeItemImageH="";
var afterItemImageH="";
var itemBorderWidth=0;
var itemBorderColor=["#ffffff","#ffffff"];
var itemBorderStyle=["none","none"];
var itemSpacing="0";
var itemPadding="0";
var itemAlignTop="center";
var itemAlign="left";
var subMenuAlign="left";

//--- Icons
var iconTopWidth=6;
var iconTopHeight=5;
var iconWidth=6;
var iconHeight=5;
var arrowWidth=10;
var arrowHeight=5;
var arrowImageMain=["../wdmenu.files/tridown.gif",""];
var arrowImageSub=["../wdmenu.files/triright.gif","wdmenu.files/triright.gif"];

//--- Separators
var separatorImage="../wdmenu.files/separator.gif";
var separatorWidth="0px";
var separatorHeight="24px";
var separatorAlignment="center";
var separatorVImage="../wdmenu.files/separator.gif";
var separatorVWidth="0px";
var separatorVHeight="24px";
var separatorPadding="0px";

//--- Floatable Menu
var floatable=0;
var floatIterations=6;
var floatableX=1;
var floatableY=1;

//--- Movable Menu
var movable=0;
var moveWidth=12;
var moveHeight=20;
var moveColor="#AA0000";
var moveImage="";
var moveCursor="default";
var smMovable=0;
var closeBtnW=15;
var closeBtnH=15;


var closeBtn="";

//--- Transitional Effects & Filters
var transparency="95";
var transition=24;
var transOptions="";
var transDuration=350;
var transDuration2=100;
var shadowLen=0;
var shadowColor="#777777";
var shadowTop=0;

//--- CSS Support (CSS-based Menu)
var cssStyle=0;
var cssSubmenu="";
var cssItem=["",""];
var cssItemText=["",""];



//--- Advanced
var dmObjectsCheck=1;  
var saveNavigationPath=1;
var showByClick=0;
var noWrap=1;
var smShowPause=150;
var smHidePause=500;
var smSmartScroll=1;
var topSmartScroll=0;
var smHideOnClick=1;
var dm_writeAll=0;

//--- AJAX-like Technology
var dmAJAX=0;
var dmAJAXCount=0;

//--- Dynamic Menu
var dynamic=0;

//--- Keystrokes Support
var keystrokes=0;
var dm_focus=1;
var dm_actKey=113;

function dm_ext_ruleObjectHide()
{
// Safari detect
   if ((parseInt(navigator.productSub)>=20020000) && (navigator.vendor.indexOf('Apple Computer') != -1) && (navigator.product=='Gecko'))
     return true;
   else
     return false;
} 



 var itemStyles = [
	     // style 0
        ["itemWidth=95px","itemBackImage=../wdmenu.files/images/but1.jpg,../wdmenu.files/images/but1on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"], // style 1  
        ["itemWidth=95px","itemBackImage=../wdmenu.files/images/but2.jpg,../wdmenu.files/images/but2on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],,     
        ["itemWidth=94px","itemBackImage=../wdmenu.files/images/but3.jpg,../wdmenu.files/images/but3on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
	    ["itemWidth=101px","itemBackImage=../wdmenu.files/images/but4.jpg,../wdmenu.files/images/but4on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
		["itemWidth=105px","itemBackImage=../wdmenu.files/images/but5.jpg,../wdmenu.files/images/but5on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
		["itemWidth=95px","itemBackImage=../wdmenu.files/images/but6.jpg,../wdmenu.files/images/but6on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
		["itemWidth=95px","itemBackImage=../wdmenu.files/images/but7.jpg,../wdmenu.files/images/but7on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
		["itemWidth=97px","itemBackImage=../wdmenu.files/images/but8.jpg,../wdmenu.files/images/but8on.jpg","menuBackRepeat=no-repeat","itemHeight=30px"],
		["itemWidth=140px","itemHeight=20px"],

];


var menuItems = [

    [" ","about_ubc.asp","","", "", "", "0", "", "", ],
    [" ","participants_say.asp", "", "", "", "", "1", "", "", ],
    
    [" ","academics_say.asp", "", "", "", "", "3", "", "", ],
    [" ","previous_winners.asp", "", "", "", "", "4", "", "", ],
	[" ","this_years_finalists.asp", "", "", "", "", "5", "", "", ],
    [" ","how_to_enter.asp", "", "", "", "", "6", "", "", ],
    [" ","sponsorship.asp", "", "", "", "", "7", "", "", ],
	[" ","", "", "", "", "", "8", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Participant Log in","participants_login.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Participant Homepage","authorised.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Team Details","team_details.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Upload Decisions","ldredirect.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Scenario Updates","participants_scenario_updates.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;FAQs","participants_faq.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Team Ranking","participants_team_rankings.asp", "", "", "", "", "9", "", "", ],
		["|&nbsp;&nbsp;&nbsp;Upload your CV","participants_upload_cv.asp", "", "", "", "", "9", "", "", ],
	
   
];


dm_init();




