// Added by Rajiv to Test Browser Width
function getBrowserWidth(){		if (window.innerWidth){			return window.innerWidth;}			
else if (document.documentElement && document.documentElement.clientWidth != 0){			
	return document.documentElement.clientWidth;	}		
	else if (document.body){return document.body.clientWidth;}					
	return 0;	}

var browserWidth = getBrowserWidth();
//alert('The Browser Width is='+browserWidth);
var x;
if (browserWidth>1024)
	{
	    x= 245;
	}
else if (browserWidth>800)
	{
		x= 118;
	}

else 
	{
		x= 15;
	}
//End the code Rajiv added

// level scope settins structure
var MENU_TPL = [
// root level configuration (level 0)
{
	// item sizes
	'height': 24,
	'width': 141,
	// absolute position of the menu on the page (in pixels)
	// with centered content use Tigra Menu PRO or Tigra Menu GOLD
	'block_top':  180,
	//rajiv changed this value to get dynamic value
	//  'block_left': 118,
   'block_left': x,
    //'block left': expression(document.body.offsetHeight - 110 + "px");
	
	// offsets between items of the same level (in pixels)
	'top':  0,
	'left': 125,
	// 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': 33,
	'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
];
