2008-10-02 13:53:49 +04:00
|
|
|
var myAgent="";var mk=0;var myRealAgent="";function nk(){var qk=["\157p\u0065\u0072\u0061","\u006d\u0073\u0069e","\163\141f\141ri","fi\u0072\u0065f\157\170","\156\145\164\u0073\u0063\141p\u0065","\u006d\157\172\u0069\u006c\154a"];var ij=navigator.userAgent.toLowerCase();for(var i=0;i<qk.length;i++){var rk=qk[i];if(ij.indexOf(rk)!=-1){myAgent=rk;if(!window.RegExp)break;var sk=new RegExp(rk+"\u005b \/\135\u003f\u0028\133\u0030-\u0039]+\050\.[\u0030-\071\u005d+\051\077)");if(sk.exec(ij)!=null){mk=parseFloat(RegExp.$1);} break;} } myRealAgent=myAgent;if(navigator.product=="Ge\143k\157")myAgent="m\157z";} nk();function getEl(name){return document.getElementById(name);}
|