
BLANK_IMAGE = 'images/b.gif';

var STYLE = {
	border:0,			// item's border width, pixels; zero means 'none'
	shadow:0,			// item's shadow size, pixels; zero means 'none'
	/*
	color:{
		border:'#FFF4D4',	// color of the item border, if any
		shadow:'#FFF4D4',	// color of the item shadow, if any
		bgON:'#3D669E',		// background color for the items
		bgOVER:'#3D669E'	// background color for the item which is under mouse right now
	},
	*/
	css:{
		ON:'clsCMOn',		// CSS class for items
		OVER:'clsCMOver'	// CSS class  for item which is under mouse
	}
};

var STYLE1 = {
	border:0,			// item's border width, pixels; zero means 'none'
	shadow:0,			// item's shadow size, pixels; zero means 'none'
	/*
	color:{
		border:'white',	// color of the item border, if any
		shadow:'white',	// color of the item shadow, if any
		bgON:'#3D669E',		// background color for the items
		bgOVER:'#3D669E'	// background color for the item which is under mouse right now
	},
	*/
	css:{
		ON:'clsCMOn1',		// CSS class for items
		OVER:'clsCMOver1'	// CSS class  for item which is under mouse
	}
};

var STYLE2 = {
	border:0,			// item's border width, pixels; zero means 'none'
	shadow:0,			// item's shadow size, pixels; zero means 'none'
	color:{
		border:'#FFF4D4',	// color of the item border, if any
		shadow:'#FFF4D4',	// color of the item shadow, if any
		bgON:'',		// background color for the items
		bgOVER:''	// background color for the item which is under mouse right now
	},
	css:{
		ON:'clsCMOn2',		// CSS class for items
		OVER:'clsCMOver2'	// CSS class  for item which is under mouse
	}
};

var leftPos = ( window.innerWidth - 935)/2;
	if ( leftPos < 0 )
		leftPos = 20;

var topPos = 130;

//alert( ' '+navigator.userAgent.indexOf( 'MSIE' ) );

//alert( document.documentElement.clientWidth );
	if( ' '+navigator.userAgent.indexOf( 'MSIE' ) > 0 ){
		leftPos += 0;
		topPos += 0;
	}
	


	if( (' '+navigator.userAgent).indexOf( 'Opera' ) > 0 )
	{
	leftPos -= 10;
	topPos += 0;
	}

	if( (' '+navigator.userAgent).indexOf( 'Safari' ) > 0 )
	{
	leftPos += 0;
	topPos += 0;
	}

window.onresize = function(){
//alert( window.innerWidth );
	if ( window.innerWidth < 700 )
		leftPos = 20;
	else leftPos = ( window.innerWidth - 700)/2;
//alert( leftPos );
	var topPos = 145;
	
	//alert( document.documentElement.clientWidth );
	if( ' '+navigator.userAgent.indexOf( 'MSIE' ) > 0 ){
		leftPos += 0;
		topPos += 0;
	}
	
	if( (' '+navigator.userAgent).indexOf( 'Opera' ) > 0 )
	{
	leftPos -= 45;
	topPos += 57;
	}

	if( (' '+navigator.userAgent).indexOf( 'Safari' ) > 0 )
	{
	leftPos += 0;
	topPos += 55;
	}
	
	
}


function alertSize() {
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
  window.alert( 'Width = ' + myWidth );
  window.alert( 'Height = ' + myHeight );
}var MENU_ITEMS = [
	{pos:[leftPos,topPos], itemoff:[0,99], leveloff:[21,0], style:STYLE, size:[22,96]},{code:"home", url:"index.php?page=home",tip:"", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					]},{code:"about you", url:"index.php?page=about+you",tip:"Some of our clients", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					]},{code:"our approach", url:"index.php?page=approach",tip:"", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					]},{code:"services", url:"index.php?page=services",tip:"Business advice services", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					{code:"business review", url:"index.php?page=busrev",tip:"Identifying your business needs", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"business systems", url:"index.php?page=bussys",tip:"Defining business systems and procedures", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"forecasting, budgets and cash flows", url:"index.php?page=forbugcf",tip:"Preparing budgets and cash flows", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"market intelligence", url:"index.php?page=markint",tip:"Analysing your market", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"partnered services", url:"index.php?page=partser",tip:"The other services we provide", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"performance management", url:"index.php?page=perfman",tip:"Understanding your business performance", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"strategic planning", url:"index.php?page=strpl",tip:"Advice on strategy planning", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"project management", url:"index.php?page=projman",tip:"Managing projects successfully", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},{code:"market insight training for public sector service providers", url:"index.php?page=Marketinsight",tip:"", format:{style:STYLE1, size:[22,590]},sub:[
					{leveloff:[0,590]},
					]
			},]},{code:"about us", url:"index.php?page=about+us",tip:"Our approach to business advice", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					{code:"our difference", url:"index.php?page=adv",tip:"Working with our business advisors", format:{style:STYLE1, size:[22,140]},sub:[
					{leveloff:[0,140]},
					]
			},{code:"case studies", url:"index.php?page=cst",tip:"Instructive examples of our work", format:{style:STYLE1, size:[22,140]},sub:[
					{leveloff:[0,140]},
					{code:"tax advisors and accountants", url:"index.php?page=taxadv",tip:"Making changes to grow"},{code:"mortgage advisors", url:"index.php?page=mortadv",tip:"Creating a targeted marketing plan"},{code:"it support company", url:"index.php?page=itsup",tip:"Differentiating the client from their competition"},{code:"retail furniture", url:"index.php?page=retfur",tip:"Control of their future"},]
			},{code:"faq's", url:"index.php?page=faq",tip:"Business information", format:{style:STYLE1, size:[22,140]},sub:[
					{leveloff:[0,140]},
					]
			},{code:"testimonials", url:"index.php?page=testimonials",tip:"Recommendations from satisfied clients", format:{style:STYLE1, size:[22,140]},sub:[
					{leveloff:[0,140]},
					]
			},]},{code:"events", url:"index.php?page=workshops",tip:"Our range of training seminars and workshops", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					]},{code:"resources", url:"",tip:"", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					{code:"business health check", url:"index.php?page=bushc",tip:"Free business SWOT analysis", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},{code:"useful links", url:"index.php?page=links",tip:"Useful links", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},{code:"newsletter", url:"index.php?page=Newsletter",tip:"", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},{code:"articles", url:"index.php?page=Articles",tip:"", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},{code:"evaluation tools", url:"index.php?page=Evaluation+tools",tip:"", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},{code:"powerpoint presentations", url:"index.php?page=PowerPoint+presentations",tip:"", format:{style:STYLE1, size:[22,240]},sub:[
					{leveloff:[0,240]},
					]
			},]},{code:"contact", url:"index.php?page=contact",tip:"Let", format:{size:[22,96]},sub:[ {itemoff:[21,0]},
					]},];