browserSize();
/*****************************************************************************
Copyright (c) 2001 Thomas Brattli (www.bratta.com)
******************************************************************************/
/*****************************************************************************
Default browsercheck - Leave this one
******************************************************************************/
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.ie4=(document.all && !this.dom)?1:0;
	this.ie=this.ie4||this.ie5||this.ie6
	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.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || this.opera5 || this.dom)
	return this
}
var bw=new lib_bwcheck() 

var mDebugging=2 //General debugging variable. Set to 0 for no debugging, 1 for alerts or 2 for status debugging.

oCMenu=new makeCoolMenu("oCMenu") 
oCMenu.useframes=0 
oCMenu.frame="frmMain" 

oCMenu.useNS4links=1

oCMenu.NS4padding=1

oCMenu.checkselect=1

oCMenu.offlineUrl="//My Documents//Romanviii//PROJECTS//Owen Brown//Website//" 
//oCMenu.onlineUrl="http://www.storagestructures.com" 
oCMenu.onlineUrl="http:////www.romanviii.co.uk//public_html//projects//storagestructures"

oCMenu.pagecheck=1 
oCMenu.checkscroll=0 
oCMenu.resizecheck=1 
oCMenu.wait=1000 

//Background bar properties
oCMenu.usebar=1 //If you want to use a background-bar for the top items set this on - Value: 1 || 0
oCMenu.barcolor="#333333" //The color of the background bar - Value: "color"
oCMenu.barwidth="100%" //The width of the background bar. Set this to "menu" if you want it to be the same width as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
oCMenu.barheight="menu" //The height of the background bar. Set this to "menu" if you want it to be the same height as the menu. (this will change to match the border if you have one) - Value: px || "%" || "menu"
oCMenu.barx=0 //The left position of the bar. Set this to "menu" if you want it be the same as the left position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.bary="menu" //The top position of the bar Set this to "menu" if you want it be the same as the top position of the menu. (this will change to match the border if you have one)  - Value: px || "%" || "menu"
oCMenu.barinheritborder=0 //Set this to 1 if you want the bar to have the same border as the top menus - Value: 0 || 1

//Placement properties
oCMenu.rows=1 //This controls whether the top items is supposed to be laid out in rows or columns. Set to 0 for columns and 1 for row - Value 0 || 1
oCMenu.fromleft=0 //This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
oCMenu.fromtop=102 //This is the left position of the menu. (Only in use if menuplacement below is 0 or aligned) (will change to adapt any borders) - Value: px || "%"
oCMenu.pxbetween="1%" //How much space you want between each of the top items. - Value: px || "%"

oCMenu.menuplacement=new Array('1%','19%','38%','56%','75%')
//#6E5F97
//TOP LEVEL PROPERTIES - ALL OF THESE MUST BE SPESIFIED FOR LEVEL[0]
oCMenu.level[0]=new Array() //Add this for each new level
oCMenu.level[0].width=148 //The default width for each level[0] (top) items. You can override this on each item by spesifying the width when making the item. - Value: px || "%"
oCMenu.level[0].height=18 //The default height for each level[0] (top) items. You can override this on each item by spesifying the height when making the item. - Value: px || "%"
oCMenu.level[0].bgcoloroff="#444444" //The default background color for each level[0] (top) items. You can override this on each item by spesifying the backgroundcolor when making the item. - Value: "color"
oCMenu.level[0].bgcoloron="#909090" //The default "on" background color for each level[0] (top) items. You can override this on each item by spesifying the "on" background color when making the item. - Value: "color"
oCMenu.level[0].textcolor="#e0e0e0" //The default text color for each level[0] (top) items. You can override this on each item by spesifying the text color when making the item. - Value: "color"
oCMenu.level[0].hovercolor="#FFFFFF" //The default "on" text color for each level[0] (top) items. You can override this on each item by spesifying the "on" text color when making the item. - Value: "color"
oCMenu.level[0].style="padding:2px; font-family:arial,helvetica; font-size:12px; font-weight:bold;" //The style for all level[0] (top) items. - Value: "style_settings"
oCMenu.level[0].border=1 //The border size for all level[0] (top) items. - Value: px
oCMenu.level[0].bordercolor="#000000" //The border color for all level[0] (top) items. - Value: "color"
oCMenu.level[0].offsetX=0 //The X offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
oCMenu.level[0].offsetY=-1 //The Y offset of the submenus of this item. This does not affect the first submenus, but you need it here so it can be the default value for all levels. - Value: px
oCMenu.level[0].NS4font="arial,helvetica"
oCMenu.level[0].NS4fontSize="2"

oCMenu.level[0].align="bottom" //Value: "top" || "bottom" || "left" || "right"

/********************************************************************************
Create Menu Items
********************************************************************************/

oCMenu.makeMenu('top0','','&nbsp;Home','index.htm')
	oCMenu.makeMenu('sub00','top0','Quick Guide','website_map.htm')
	//oCMenu.makeMenu('sub01','top0','Weather','','',0,0,'','','','','','','window.open("http://www.onlineweather.com/BritishIsles/Forecast/Nottingham.html","","width=700,height=500")')
	//oCMenu.makeMenu('sub02','top0','Travel News','','',0,0,'','','','','','','window.open("http://www.theaa.com/motoringandtravel/traffic/silver/news.asp?name=Midlands","","width=700,height=500")')

oCMenu.makeMenu('top1','','&nbsp;Our Business','home.htm')
	oCMenu.makeMenu('sub10','top1','Company Background','profile.htm')
	oCMenu.makeMenu('sub11','top1','Frequently Asked Questions','faq.htm')
	oCMenu.makeMenu('sub12','top1','Sale or Hire?','rent_buy.htm')
	oCMenu.makeMenu('sub13','top1','Service & Support','service.htm')
	oCMenu.makeMenu('sub14','top1','Company Location','location.htm')


oCMenu.makeMenu('top2','','&nbsp;Solutions')
	oCMenu.makeMenu('sub20','top2','Typical Applications','typical_apps.htm')
	oCMenu.makeMenu('sub21','top2','Planning An Installation','install_plan.htm')
	oCMenu.makeMenu('sub22','top2','Case Studies','cs.htm')
	oCMenu.makeMenu('sub23','top2','News','news.htm')

oCMenu.makeMenu('top3','','&nbsp;Products')
	oCMenu.makeMenu('sub30','top3','Overview','products.htm')
		//oCMenu.makeMenu('sub300','sub30','Product Types','products.htm#product_types')
		//oCMenu.makeMenu('sub301','sub30','Technical Features','products.htm#features')
		//oCMenu.makeMenu('sub302','sub30','Materials','products.htm#materials')
		//oCMenu.makeMenu('sub303','sub30','Installation','products.htm#installation')
	oCMenu.makeMenu('sub31','top3','Retractable Structures','tunnel.htm')
		//oCMenu.makeMenu('sub310','sub31','Technical Features','tunnel.htm#features')
		//oCMenu.makeMenu('sub311','sub31','Dimensions','tunnel.htm#dims')
        //oCMenu.makeMenu('sub312','sub31','Materials','tunnel.htm#materials')	
	oCMenu.makeMenu('sub32','top3','Rigid Sided Structures','neivalu.htm')
		//oCMenu.makeMenu('sub320','sub32','Technical Features','neivalu.htm#features')
		//oCMenu.makeMenu('sub321','sub32','Dimensions','neivalu.htm#dims')
        //oCMenu.makeMenu('sub322','sub32','Materials','neivalu.htm#materials')
	oCMenu.makeMenu('sub33','top3','Accessories','accessories.htm')
		//oCMenu.makeMenu('sub330','sub33','General Accessories','accessories.htm#general')
		//oCMenu.makeMenu('sub331','sub33','Neivalu Accessories','accessories.htm#neivalu')
        //oCMenu.makeMenu('sub332','sub33','Tunnel Accessories','accessories.htm#tunnel')
	
oCMenu.makeMenu('top4','','&nbsp;Contact & Enquiry')
	oCMenu.makeMenu('sub40','top4','Sales Enquiry','sales_enquiry.htm')
	oCMenu.makeMenu('sub41','top4','Brochure / Info Request','info_enquiry.htm')
	oCMenu.makeMenu('sub42','top4','Suggestion & Feedback','feedback.htm')

/********************************************************************************
End menu construction
********************************************************************************/

//Leave these two lines! Making the styles and then constructing the menu
oCMenu.makeStyle(); oCMenu.construct()

<!-- END OF DROP DOWN MENU -->

//functions to change background color of side menus when mouseover

function mnuoff(mnu) {
   mnu.className = "mnuoff"
 }
 
function mnuoffselected(mnu) {
   mnu.className = "mnuoffselected"
 }
 
function mnuon(mnu) {
   mnu.className = "mnuon"
 }
