var d = document, stat_ok = true, stat_max_version_js = 2, stat_id_f, stat_js_ver, stat_screen_width, stat_screen_height, stat_screen_color_depth, stat_cookie, stat_flash_ver, m = '<', b = '>';
function stat_set_param(ver){
	stat_ok = false;
	if ( ver <= stat_max_version_js )
		stat_js_ver = ver;
}
function stat_get_version(){
	var vj = stat_max_version_js;
	while ( stat_ok && vj >= 1 ){
		vp = 9;
		while ( stat_ok && vp >= 0 ){
			d.write(m+'SCRIPT language="JavaScript'+vj+'.'+vp+'"'+b+'stat_set_param("'+vj+'.'+vp+'");'+m+'/SCRIPT'+b);
			-- vp;
		}
		-- vj;
	}
}
function stat_get_counter_code(){
	var ok = true, v = 10, vj = 2, n = navigator, e = screen, u = n.userAgent.toLowerCase(), p = n.plugins, f, j, id_f, i = 0;
	stat_screen_width = e.width;
	stat_screen_height = e.height;
	stat_screen_color_depth = e.colorDepth;
	stat_cookie = ( n.cookieEnabled ? 'On' : 'Off' );
	if ( p && p.length > 0 ){
		var fp = p['Shockwave Flash'];
		if ( typeof fp == 'object' ){
    	vv = fp.description;
			k = vv.indexOf( '.' );
   		if ( k ) 
				f = vv.substring( k - 1, k + 2 );
		}
	}
	if ( !f ){
		stat_fff = false;
		d.write(m+'SCRIPT language="VBScript"'+b+'\non error resume next \nDIM o \ni='+v+'\nf=0\nDo\nSET o = CreateObject("ShockwaveFlash.ShockwaveFlash."&i)\nIF IsObject(o) THEN \nstat_fff=i\nEND IF\ni=i-1\nLoop Until i<1 or stat_fff<>0\n'+m+'/SCRIPT'+b);
		f = ( stat_fff == v ? 'Not installed Flash player' : stat_fff );
	}
	stat_flash_ver = f;
	stat_get_version();
}
stat_get_counter_code();