

/*****************************************************************************
Default browsercheck (don't touch)
******************************************************************************/
function lib_bwcheck(){ //Browsercheck (needed)
	this.ver=navigator.appVersion
	this.agent=navigator.userAgent
	this.dom=document.getElementById?1:0
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom)?1:0;
	this.ie7=(this.ver.indexOf("MSIE 7")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6||this.ie7
	this.mac=this.agent.indexOf("Mac")>-1
	this.opera5=this.agent.indexOf("Opera 5")>-1
	this.ns6=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie7 || this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck()
mDebugging=0 //Set to 0 for NO Debugging, set to 1 for alert debugging and set to 2 for status.

/*****************************************************************************
Cool Menu settings (edit here)
*****************************************************************************/

//COOLMENU CODE GENERATED BY THE COOLMENU GENERATOR FROM DHTMLCENTRAL.COM
oCMenu=new makeCoolMenu('oCMenu') //Making a new menu

//General variables (0=no, 1=yes)
oCMenu.useframes=0
oCMenu.offlineUrl='file:///Macintosh%20HD/Desktop%20Folder/octi/site/js'
oCMenu.onlineUrl='http://www.octi.net'
oCMenu.useclick=0
oCMenu.useNS4links=1
oCMenu.NS4padding=0
oCMenu.checkselect=0
oCMenu.pagecheck=1
oCMenu.checkscroll=0
oCMenu.resizecheck=1
oCMenu.wait=500
//Background bar variables
oCMenu.usebar=1
oCMenu.barcolor='transparent'
oCMenu.barwidth=100
oCMenu.barheight=25
oCMenu.barx=1
oCMenu.bary='menu'
oCMenu.barinheritborder=0
//Placement variables
oCMenu.rows=1
oCMenu.fromleft=1
oCMenu.fromtop=0
oCMenu.pxbetween=0
oCMenu.menuplacement=0

//Level 0 variables (top level navigation)
oCMenu.level[0]=new Array()
oCMenu.level[0].width=
oCMenu.level[0].height=32
oCMenu.level[0].bgcoloroff='transparent'
oCMenu.level[0].bgcoloron='transparent'
oCMenu.level[0].border=0
oCMenu.level[0].bordercolor='transparent'
oCMenu.level[0].offsetX=0
oCMenu.level[0].offsetY=0
oCMenu.level[0].align='bottom'
	//Animation settings
oCMenu.level[0].clip=1
oCMenu.level[0].clippx=10
oCMenu.level[0].cliptim=50
	//Microsoft Filter (only works on I.E., thougn no adverse reaction on Netcape)
oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.GradientWipe(duration=0.5,wipeStyle=1)"

//Level 1 variables (sub-level navigation)
oCMenu.level[1]=new Array()
oCMenu.level[1].width=0
oCMenu.level[1].height=18

//Level 2 variables (sub-sub-level navigation)

//Level 3 variables (sub-sub-sub-level navigation)

//Menu items
/*Variables for each menu item: (** means that they have to be specified!)
1.  name: The name of the item. This must be unique for each item. Do not use spaces or strange charachters in this one! **
2.  parent: The name of the menuitem you want this to "connect" to. This will be a submenu of the item that have the name you place in here. ** for all other then the topitems
3.  text: The text you want in the item. ** (except if you use menuimages2) 
4.  link: The page you want this item to link to.
5.  target: The target window or frame you want the link to go to (Default is same window if you're not using frames, and the mainframe if you're using frames)
6.  width: The width of the element. If not spesified it will get the default width spesified above.
7.  height: The height of the element. If not spesified it will get the default height spesified above.
8.  img1: The "off" image for element if you want to use menuimages2.
9.  img2: The image that appears onmouseover if using menuimages2.
10. bgcoloroff: The background color for this item. If not spesified it will get the default background color spesified above.
11. bgcoloron: The "on" background color for this item. If not spesified it will get the default "on" background color spesified above.
12. textcolor: The text color for this item. If not spesified it will get the default text color spesified above.
13. hovercolor: The "on" text color for this item. If not spesified it will get the default "on" text color specified above. Netscape4 ignores this
14. onclick: If you want something to happen when the element is clicked (different from going to a link) spesifiy it here.
15. onmouseover: This will happen when you mouseover the element. Could be status text, another menuimages2wap or whatever.
16. onmouseout: This will happen when you mouseout the element.

Remember you can have as many levels/sublevels as you want. Just make sure you specify the correct "parent" for each item.
*/

oCMenu.makeMenu('rules','','','aboutocti2/about_rules.html','','64','','../images2/index_01.gif','../images2/index_01-over.gif','','','','','','','')

oCMenu.makeMenu('tutorial','','','tutorial2/index.html','','83','','../images2/index_02.gif','../images2/index_02-over.gif','','','','','','','')
oCMenu.makeMenu('octix','tutorial','','tutorial2/index.html','','140','','menuimages/subnav_octix_off.gif','../menuimages/subnav_octix_on.gif','','','','','','','')
oCMenu.makeMenu('octixflash','tutorial','','flashtutorial/octiexflash.htm','_blank','140','','../menuimages/subnav_octixflash_off.gif','../menuimages/subnav_octixflash_on.gif','','','','','','','')
oCMenu.makeMenu('octiflash','tutorial','','flashtutorial/octiflash.htm','_blank','140','','../menuimages/subnav_octiflash_off.gif','../menuimages/subnav_octiflash_on.gif','','','','','','','')
oCMenu.makeMenu('robot','tutorial','','http://www.highergames.com/highergames.html','','140','','../menuimages/subnav_robot_off.gif','../menuimages/subnav_robot_on.gif','','','','','','','')
oCMenu.makeMenu('superprong','tutorial','','flashtutorial/superprong.htm','_blank','140','','../menuimages/subnav_super_off.gif','../menuimages/subnav_super_on.gif','','','','','','','')
oCMenu.makeMenu('team','tutorial','','flashtutorial/team-octi.htm','_blank','140','','../menuimages/subnav_teamocti_off.gif','../menuimages/subnav_teamocti_on.gif','','','','','','','')


oCMenu.makeMenu('puzzles','','','puzzles/index.html','','74','','../images2/index_03.gif','../images2/index_03-over.gif','','','','','','','')

oCMenu.makeMenu('game','','','http://www.octi-online.com/index.py?action=archive','','114','','../images2/index_04.gif','../images2/index_04-over.gif','','','','','','','')


oCMenu.makeMenu('press','','','pressandreviews2/index.html','','140','','../images2/index_05.gif','../images2/index_05-over.gif','','','','','','','')
oCMenu.makeMenu('devel','press','','pressandreviews2/developments.html','','140','','../menuimages/subnav_development_off.gif','../menuimages/subnav_development_on.gif','','','','','','','')
oCMenu.makeMenu('review','press','','pressandreviews2/reviews.html','','140','','../menuimages/subnav_reviews_off.gif','../menuimages/subnav_reviews_on.gif','','','','','','','')
oCMenu.makeMenu('presspress','press','','pressandreviews2/press.html','','140','','../menuimages/subnav_press_off.gif','../menuimages/subnav_press_on.gif','','','','','','','')

oCMenu.makeMenu('mouse','','','mouseisland2/index.html','','113','','../images2/index_06.gif','../images2/index_06-over.gif','','','','','','','')
oCMenu.makeMenu('java','mouse','','http://www.octi.net/othergames/jumpinjava.html','','113','','../menuimages/subnav_java_off.gif','../menuimages/subnav_java_on.gif','','','','','','','')
oCMenu.makeMenu('razzle','mouse','','http://www.octi.net/othergames/razzledazzle.html','','113','','../menuimages/subnav_razzle_off.gif','../menuimages/subnav_razzle_on.gif','','','','','','','')
oCMenu.makeMenu('island','mouse','','http://www.octi.net/mouseisland2/index.html','','113','','../menuimages/subnav_mouse_off.gif','../menuimages/subnav_mouse_on.gif','','','','','','','')

oCMenu.makeMenu('about','','','aboutocti2/index.html','','96','','../images2/index_07.gif','../images2/index_07-over.gif','','','','','','','')
oCMenu.makeMenu('ai','about','','aboutocti2/about_artificial.html','','150','','../menuimages/subnav_ai_off.gif','../menuimages/subnav_ai_on.gif','','','','','','','')
oCMenu.makeMenu('official','about','','aboutocti2/about_official.html','','150','','../menuimages/subnav_official_off.gif','../menuimages/subnav_official_on.gif','','','','','','','')
oCMenu.makeMenu('rulesexamples','about','','aboutocti2/about_rules.html','','150','','../menuimages/subnav_rules_off.gif','../menuimages/subnav_rules_on.gif','','','','','','','')
oCMenu.makeMenu('essay','about','','aboutocti2/about_essay.html','','150','','../menuimages/subnav_essay_off.gif','../menuimages/subnav_essay_on.gif','','','','','','','')
oCMenu.makeMenu('aboutfaq','about','','aboutocti2/about_faq.html','','150','','../menuimages/subnav_aboutfaq_off.gif','../menuimages/subnav_aboutfaq_on.gif','','','','','','','')
oCMenu.makeMenu('donsdesk','about','','donsdesk2/index.html','','150','','../menuimages/subnav_donsdesk_off.gif','../menuimages/subnav_donsdesk_on.gif','','','','','','','')

oCMenu.makeMenu('links','','','links2/index.html','','65','','../images2/index_08.gif','../images2/index_08-over.gif','','','','','','','')


oCMenu.makeStyle(); oCMenu.construct() //Starts the menus

