
var url = document.location;
var MENU1_ITEMS = [
	['Eyesite home',  'index.php' ,,
		['Home page',  'index.php',,
			[infobubl('Home page','The place to start your eyesite investigation.')]],
		['Site Map',  'index.php#sitemap',,
			[infobubl('A text version of the site navigation which appears on the home page.')]],	
		['Site Search',  '../reception/search.php',,
			[infobubl2('Search the site','Find all mentions of particular words or phrases you are looking for in middlepath.com.au.')]],
		['Contact Us',  '../reception/contactus.php',,
			[infobubl2('Get in Touch','Various ways you can contact us: email, phone, mail, fax.')]],
		['Privacy Policy',  '../reception/privacy.php',,
			[infobubl('Our privacy statement','what we do with information you provide via this website.')]],
		['Terms &amp; Conditions',  '../reception/conditions.php',,
			[infobubl('Terms and Conditions',' relating to your use of our services, products and website.')]]
	],
	['Iris Structure',  'struct.php' ,,
		['Stream Structure',  'struct.php#STREAM_ST',,
			[infobubl2('Stream Structure','A description of the Stream Structure in the Iris.')]],
		['Stream Interpretation',  'struct.php#STREAM_INT',,
			[infobubl2('Stream Interpretation','A description of what the Stream Structure indicates about personality.')]],
		['Flower Structure',  'struct.php#FLOWER_ST',,
			[infobubl2('Flower Structure','A description of the Flower Structure in the Iris.')]],
		['Flower Interpretation',  'struct.php#FLOWER_INT',,
			[infobubl2('Flower Interpretation','A description of what the Flower Structure indicates about personality.')]],
		['Jewel Structure',  'struct.php#JEWEL_ST',,
			[infobubl2('Jewel Structure','A description of the Jewel Structure in the Iris.')]],
		['Jewel Interpretation',  'struct.php#JEWEL_INT',,
			[infobubl2('Jewel Interpretation','A description of what the JewelStructure indicates about personality.')]],
		['Shaker Structure',  'struct.php#SHAKER_ST',,
			[infobubl2('Shaker Structure','A description of the Shaker Structure in the Iris.')]],
		['Shaker Interpretation',  'struct.php#SHAKER_INT',,
			[infobubl2('Shaker Interpretation','A description of what the Shaker Structure indicates about personality.')]]
	],
	['Brain Usage',  'hemsphr.php',,
		['my views',  'hemsphr.php#MYVIEW',,
			[infobubl2('My views on Brain Dominance','Hemispheric brain dominance has become quite a hot topic in recent decades.<br><br>Here are my views on the subject')]],
		['Left Brain',  'hemsphr.php#LEFT',,
			[infobubl2('Left Brain Dominance','How to recognise left-brain dominance in the eyes and what this suggests about the personality.')]],
		['Right Brain',  'hemsphr.php#RIGHT',,
			[infobubl2('Right  Brain Dominance','How to recognise right-brain dominance in the eyes and what this suggests about the personality.')]],
		['Chart',  'hemsphr.php#CHART',,
			[infobubl2('Brain dominance chart','A tabulation of typical brain-dominance characteristics comparing right and left traits..')]],
		['Non-iris tests',  'hemsphr.php#MEASURE',,
			[infobubl2('Tests for dominance','Some non-iris-based ways you can check for hemispheric braindominance.')]],
		['How to change',  'hemsphr.php#ALTER',,
			[infobubl2('Ways of manipulating Hemispheric Dominance','some things you can do to alter your brain dominance and create more balance in your brain, mind, thoughts and , consequently, actions..')]],
		['Why bother?',  'hemsphr.php#GOAL',,
			[infobubl2('The Goal','Why would anyone want to alter their natural brain dominance pattern? Some suggestions as to benefits you might achieve through learning to use your brain more consciously')]]
	]
]
var MENU2_ITEMS = [
	['Energy Interface',   'inout.php',,
		['Energy disposition', 'inout.php',,
			[infobubl2('What Intro/Extro versions mean','I wish to stress  that my use of the terms introversion and extroversion is different and unrelated to the traditional psychiatric usage - so please do read this bit before plunging into the other energetic sections.')]],
		['Extroversion', 'inout.php#EXTRO',,
			[infobubl2('Outwards-directed','how to recognise a tendency for extroversion in the eyes')]],
		['Introversion', 'inout.php#INTRO',,
			[infobubl2('Inwards-directed','how to recognise a tendency for inroversion in the eyes')]],
		['Chart', 'inout.php#CHART',,
			[infobubl2('Comparative Chart','a comparison of introversion and extroversion personality traits.')]],
		['Movement', 'inout.php#MOVE',,
			[infobubl2('Signs of shifting','how to recognise changing energetic dispositions')]]
	],
	['Rings in the Iris',  'rings.php',,
		['What are they?', 'rings.php',,
			[infobubl2('Special features','There are several features - called &#8220;rings&#8221; in Rayid which have their own particular stamp upon the personality.')]],
		['Ring of Harmony', 'rings.php#HARMONY',,
			[infobubl2('The Ring of Harmony','What this features indicates: a deep-seated sensitivity to harmony within and without.')]],
		['Ring of Purpose', 'rings.php#PURPOSE',,
			[infobubl2('The Ring of Purpose','What this features indicates: ')]],
		['Ring of Freedom', 'rings.php#FREEDOM',,
			[infobubl2('The Ring of Freedom','What this features indicates: .')]],
		['Ring of Determination', 'rings.php#DETERMINATION',,
			[infobubl2('The Ring of Determination','What this features indicates: .')]]
	],
	['Issues in the Iris',  'issues.php',,
		['What are these?', 'issues.php',,
			[infobubl2('Specific Issues','The locations of the marks and fibre-density variations in the Iris indicate specific traits in the personality and relationship issues.')]],
		['Nurturing', 'posn01.php',,
			[infobubl2('The Nurturing Issue','an indication of how well we felt we were nurtured or unconditionally loved.')]],
		['Forgiveness', 'posn02.php',,
			[infobubl2('The Forgiveness Issue','an indication of a perceived lack of recognition from the parent about who you are or what you want to do with your life.')]],
		['Grace', 'posn03.php',,
			[infobubl2('The Grace Issue','an indication of either inadequate bonding or communication between parents or one or both parents fearing responsibility and constantly blaming someone else for their failure.')]],
		['Creativity / self image', 'posn13_17.php',,
			[infobubl2('The Creativity / self image Issue','an indication of a perceived lack of encouragement or intolerance in our early childhood.')]],
		['The Heart', 'posn45.php',,
			[infobubl2('The Heart Issue','an indication of not hearing &#8220;I Love You&#8221; as much as you would have liked during childhood.')]]
	]
];

function navitem ( text , state) {
	return '<table  height=28 width=110 cellpadding=0 cellspacing=0 border="0"><tr><td align=center valign=middle><span class="' + state + '">' +  text + '</span></td></tr></table>';
}
function navtitle (state) {
	return '<table background="' +  'img/nav_title' + state + '.gif" width=97 height=50 cellpadding=0 cellspacing=0 border=0 class="navitem"><tr><td align=center valign=middle> </td></tr></table>';
}
function infobubl2 (heading, text) {
	return '<table height="10"width=220 cellpadding="10" cellspacing="0" border="2" bordercolor="#990033" bordercolordark="#660033" bordercolorlight="#cc0000"><tr><td width="200" class="infoblock"><div align="center"><span class="infoheader">' + heading + '</span></div><br><div class="infoblock">' + text + '</div></td></tr></table>';
}

function infobubl (text) {
	return '<table height="10"width=220 cellpadding="10" cellspacing="0" border="2" bordercolor="#990033" bordercolordark="#660033" bordercolorlight="#cc0000"><tr><td width="200" class="infoblock"><div class="infoblock">' + text + '</span></div></td></tr></table>';
}
function infoblck (text) { // this is only used in the top page navigation menu item
	return  '<table height=300 width=290 cellpadding="5" cellspacing="0" border="2"><tr><td width="290" class="infoblock"><div class="infoblock">' + text + '</div></td></tr></table>';
}

