context: 	GetActiveLanguage : function()	{		if ( FCKConfig.AutoDetectLanguage )		{			var sUserLang ;						// IE accepts "navigator.userLanguage" while Gecko "navigator.language".			if ( navigator.userLanguage )				sUserLang = navigator.userLanguage.toLowerCase() ;			else if ( navigator.language )				sUserLang = navigator.language.toLowerCase() ;			else			{				// Firefox 1.0 PR has a bug: it doens't support the "language" property.				return FCKConfig.DefaultLanguage ;			}						// Some language codes are set in 5 characters, 			// like "pt-br" for Brasilian Portuguese.			if ( sUserLang.length >= 5 )			{				sUserLang = sUserLang.substr(0,5) ;				if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;			}						// If the user's browser is set to, for example, "pt-br" but only the 			// "pt" language file is available then get that file.			if ( sUserLang.length >= 2 )			{				sUserLang = sUserLang.substr(0,2) ;				if ( this.AvailableLanguages[sUserLang] ) return sUserLang ;			}		}				return this.DefaultLanguage ;	},
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/9e983f26dc3628701a539d2377aaa3db1e8f1f71/fcklanguagemanager.js/buggy/library/src/webapp/editor/FCKeditor/editor/_source/internals/fcklanguagemanager.js