function GetRule(ruleName){
	var lowruleName = ruleName.toLowerCase();
	var styleSheet=null;
	var Rules=new Array();
	var theRules = new Array();
	var styleCount=0;
	if (document.styleSheets){
	for (var ssIndex=0; ssIndex<document.styleSheets.length; ssIndex++){
		if(document.styleSheets[ssIndex].title == "livescore"){
			styleSheet=document.styleSheets[ssIndex];		
			if (document.styleSheets[ssIndex].cssRules){
				theRules = document.styleSheets[ssIndex].cssRules;
			}
			else if (document.styleSheets[ssIndex].rules){
				theRules = document.styleSheets[ssIndex].rules;
			}
			for (var rIndex=0; rIndex<theRules.length; rIndex++){
				if ((theRules[rIndex].selectorText.toLowerCase()=="."+lowruleName)||(theRules[rIndex].selectorText.toLowerCase()==lowruleName)){
					Rules[styleCount]=theRules[rIndex];
					styleCount++;
				}								
			}
		}
	}
}
return Rules;
}
	var NoOffFirstLineMenus=3
	var LowBgColor=(GetRule('LowBgColor')[0]!=null) ? GetRule('LowBgColor')[0].style.backgroundColor : '#B4C3D8'; 
	var LowSubBgColor=(GetRule('LowSubBgColor')[0]!=null) ? GetRule('LowSubBgColor')[0].style.backgroundColor : '#CCCCDD';
	var HighBgColor=(GetRule('HighBgColor')[0]!=null) ? GetRule('HighBgColor')[0].style.backgroundColor : '#6699CC';
	var HighSubBgColor=(GetRule('HighSubBgColor')[0]!=null) ? GetRule('HighSubBgColor')[0].style.backgroundColor : '#6699CC';
	var FontLowColor=(GetRule('FontLowColor')[0]!=null) ? GetRule('FontLowColor')[0].style.backgroundColor : 'white';
	var FontSubLowColor=(GetRule('FontSubLowColor')[0]!=null) ? GetRule('FontSubLowColor')[0].style.backgroundColor : '#000000';
	var FontHighColor=(GetRule('FontHighColor')[0]!=null) ? GetRule('FontHighColor')[0].style.backgroundColor : '#FFFFFF';
	var FontSubHighColor=(GetRule('FontSubHighColor')[0]!=null) ? GetRule('FontSubHighColor')[0].style.backgroundColor : '#FFFFFF';
	var BorderColor=(GetRule('BorderColor')[0]!=null) ? GetRule('BorderColor')[0].style.backgroundColor : '#666666';
	var BorderSubColor=(GetRule('BorderSubColor')[0]!=null) ? GetRule('BorderSubColor')[0].style.backgroundColor : '#666666';
	var BorderWidthMain=1;
	var BorderWidthSub=1;	
 	var BorderBtwnMain=1;
	var BorderBtwnSub=1;
	var FontFamily="arial,comic sans ms,technical";
	var FontSize=(GetRule('MenuFont')[0]!=null)?parseInt(GetRule('MenuFont')[0].style.fontSize.replace("px","")):12;
	var FontBold=0;
	var FontItalic=0;	
	var MenuTextCentered="left";
	var MenuCentered="left";
	var MenuVerticalCentered="top";		
	var ChildOverlap=.1;
	var ChildVerticalOverlap=.1;
	var StartTop=(GetRule('StartTop')[0]!=null) ? parseInt(GetRule('StartTop')[0].style.marginTop.replace("px","")) : -8;
	var StartLeft=(GetRule('StartLeft')[0]!=null) ? parseInt(GetRule('StartLeft')[0].style.marginLeft.replace("px","")) : 16;
	var VerCorrect=0;				
	var HorCorrect=0;			
	var DistFrmFrameBrdr=0;			
	var LeftPaddng=5;				
	var TopPaddng=-1;			
	var FirstLineHorizontal=1;			
	var MenuFramesVertical=1;			
	var DissapearDelay=1000;			
	var UnfoldDelay=0;			
	var TakeOverBgColor=1;			
	var FirstLineFrame="";			
	var SecLineFrame="";			
	var DocTargetFrame="";			
	var TargetLoc="menu2";				
	var MenuWrap=1;				
	var RightToLeft=0;				
	var BottomUp=0;				
	var UnfoldsOnClick=0;			
	var BaseHref="";				
	var Arrws=['../images/tri.gif',5,10,'../images/tridown.gif',10,5,'../images/trileft.gif',5,10];
	var MenuUsesFrames=0;			
	var RememberStatus=0;
	var BuildOnDemand=1;			
	var BgImgLeftOffset=5;			
	var ScaleMenu=0;				
	var HooverBold=0;				
	var HooverItalic=0;				
	var HooverUnderLine=0;			
	var HooverTextSize=0;			
	var HooverVariant=0;			
	var MenuSlide="";
	var MenuSlide="";
	var MenuSlide="";
	var MenuShadow="";
	var MenuShadow="";
	var MenuShadow="";
	var MenuOpacity="";
	var MenuOpacity="";
	function BeforeStart(){return}
	function AfterBuild(){return}
	function BeforeFirstOpen(){return}
	function AfterCloseAll(){return}