// level scope settins structure

//For old IE browsers 

if(document.all) 
{ 
	var fWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    fWidth = window.innerWidth-40;
   // myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    fWidth = document.documentElement.clientWidth;
    //myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    fWidth = document.body.clientWidth;
    //myHeight = document.body.clientHeight;
  }
 
		
	//fWidth = document.body.clientWidth; 
	//fWidth =1003
	height=75;
	
} 
//For DOM1 browsers 
else if(document.getElementById &&!document.all)
{ 
	fWidth = innerWidth-20;
	height=60;
} 
else if(document.getElementById) 
{ 
	fWidth = innerWidth; 
	height=60;
} 
//For Opera 
else if (is.op) 
{ 
	fWidth = innerWidth;
	height=60;
} 
//For old Netscape 
else if (document.layers) 
{ 
	fWidth = window.innerWidth; 
	height=60;
}
var fWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    fWidth = window.innerWidth-20;
   // myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    fWidth = document.documentElement.clientWidth;
    //myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    fWidth = document.body.clientWidth;
    //myHeight = document.body.clientHeight;
  }
 
width = fWidth;

width = width - 762;
width = width/2;

var MENU_TPL = [
// root level configuration (level 0)
{
	// item sizes
	'height': 24,
	'width': 160,
	// absolute position of the menu on the page (in pixels)
	// with centered content use Tigra Menu PRO or Tigra Menu GOLD
	
	'block_top':  height,
	'block_left': width,
	// offsets between items of the same level (in pixels)
	'top':  0,
	'left': 150,
	// time delay before menu is hidden after cursor left the menu (in milliseconds)
	'hide_delay': 200,
	// submenu expand delay after the rollover of the parent 
	'expd_delay': 200,
	// names of the CSS classes for the menu elements in different states
	// tag: [normal, hover, mousedown]
	'css' : {
		'outer' : ['m0l0oout', 'm0l0oover'],
		'inner' : ['m0l0iout', 'm0l0iover']
	}
},
// sub-menus configuration (level 1)
// any omitted parameters are inherited from parent level
{
	'height': 24,
	'width': 170,
	// position of the submenu relative to top left corner of the parent item
	'block_top': 25,
	'block_left': 0,
	'top': 23,
	'left': 0,
	'css' : {
		'outer' : ['m0l1oout', 'm0l1oover'],
		'inner' : ['m0l1iout', 'm0l1iover']
	}
},
// sub-sub-menus configuration (level 2)
{
	'block_top': 5,
	'block_left': 160
}
// the depth of the menu is not limited
// make sure there is no comma after the last element
];
