/*
  --- menu level scope settins structure --- 
  note that this structure has changed its format since previous version.
  Now this structure has the same layout as Tigra Menu GOLD.
  Format description can be found in product documentation.
*/

var intWidth;
if (document.all)
{
	if(document.body.offsetWidth > 780)
		intWidth = ((document.body.offsetWidth-780)/2)+120;
//	else
//		intWidth = 25;
}
else
{
	if(self.innerWidth > 780)
		intWidth = ((self.innerWidth-780)/2)+120;
//	else
//		intWidth = 25;
}




var MENU_POS = [
	{
		"height":5,
		"width":100,
		"block_top":67,
		"block_left":intWidth,
		"top":0,
		"left":84,
		"hide_delay":200,
		"expd_delay":200,
		"css":{
			"outer":["L0oout","L0oover"],
			"inner":["L0iout","L0iover"]
		}
	},
	{
		"height":24,
		"width":180,
		"block_top":23,
		"block_left":-60,
		"top":21,
		"left":0,
		"css":{
			"outer":["L1oout","L1oover"],
			"inner":["L1iout","L1iover"]
		}
	},
	{
		"block_top":5,
		"block_left":-140,
		"css":{
			"outer":["L1oout","L1oover"],
			"inner":["L1iout","L1iover"]
		}
	}
]
/*
var currentoffsetWidth = document.body.offsetWidth;
var resWidth;
var tmpWidth;
window.onresize = function(){
	if (currentoffsetWidth != document.body.offsetWidth) {
		if (document.all)
		{
			if(document.body.offsetWidth > 780)
				resWidth = (document.body.offsetWidth-780)/2;
			else
				resWidth = 25;
		}
		else
		{
			if(self.innerWidth > 780)
				resWidth = (self.innerWidth-780)/2;
			else
				resWidth = 25;
		}
		//alert(intWidth);
		//alert(resWidth);
		tmpWidth = resWidth - intWidth;				
		var elem_temp=document.getElementsByTagName("a");
		for(i=0;i<elem_temp.length;i++){
			if(elem_temp.item(i).id != ""){
				//alert(elem_temp.item(i).id)
				if(elem_temp.item(i).id.substr(0,1) == "e"){
					//alert(parseInt(elem_temp.item(i).style.left.replace("px","")) + 75);
					elem_temp.item(i).style.right = parseInt(elem_temp.item(i).style.left.replace("px","")) + tmpWidth;
				}
			}				
		}			
		intWidth = resWidth;
	}
	currentoffsetWidth = document.body.offsetWidth;
	//alert('resizing: Offset: ' +    document.body.offsetWidth + ', ' +    document.body.offsetHeight +    '\nScroll: ' +    document.body.scrollWidth + ', ' +    document.body.scrollHeight);
}	
*/