design/src/webim/js/brws.js
Evgeny Gryaznov 4307fa9084 1.0.8 RC1, rename/regenerate .js
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@40 c66351dc-e62f-0410-b875-e3a5c0b9693f
2007-12-13 11:17:48 +00:00

1 line
648 B
JavaScript

var myAgent="";var pj=0;var myRealAgent="";function dj(){var ej=["\157p\145r\141","\u006d\u0073i\145","\u0073\141\146\u0061\162i","fire\146o\170","n\145tsca\u0070e","\u006doz\151\154la"];var vi=navigator.userAgent.toLowerCase();for(var i=0;i<ej.length;i++){var fj=ej[i];if(vi.indexOf(fj)!=-1){myAgent=fj;if(!window.RegExp)break;var gj=new RegExp(fj+"\u005b\040\/\u005d\u003f(\u005b0-9\135+(\.[\u0030-\071\u005d\u002b\u0029\u003f\u0029");if(gj.exec(vi)!=null){pj=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="\u0047ec\153\157")myAgent="\u006d\u006fz";} dj();function getEl(name){return document.getElementById(name);}