window locDomain vk host match a-zA-Z a-zA-Z var _ua navigator userAge

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
window.locDomain = vk.host.match(/[a-zA-Z]+\.[a-zA-Z]+\.?$/)[0];
var _ua = navigator.userAgent.toLowerCase();
if (/opera/i.test(_ua) || !/msie 6/i.test(_ua) || document.domain != locDomain) document.domain = locDomain;
var ___htest = (location.toString().match(/#(.*)/) || {})[1] || '', ___to;
if (vk.al != 1 && ___htest.length && ___htest.substr(0, 1) == vk.navPrefix) {
if (vk.al != 3 || vk.navPrefix != '!') {
___to = ___htest.replace(/^(\/|!)/, '');
if (___to.match(/^([^\?]*\.php|login)([^a-z0-9\.]|$)/)) ___to = '';
location.replace(location.protocol + '//' + location.host + '/' + ___to);
}
}
var StaticFiles = {
'common.js' : {v: 1111},
'common.css': {v: 487},
'ie6.css' : {v: 26},
'ie7.css' : {v: 18}
,'lang0_0.js':{v:6590},'profile.css':{v:220},'page.css':{v:708},'profile.js':{v:212},'page.js':{v:862},'uncommon.js':{v:11},'uncommon.css':{v:88},'aes_light.css':{v:44},'aes_light.js':{v:62},'notifier.js':{v:332},'notifier.css':{v:129}
}