W=window;D=document;N=navigator;
W.onerror=null;
function x(a,b,c){t='<a href="mailto:'+a+'@'+b+'">';t+=c?c:a+'@'+b;t+='</a>';D.write(t);}
function z(){
rnd=Math.random();
ref=escape(D.referrer);
pg=escape(W.location.href);
D.cookie='hotlog=1; path=/';
c=(D.cookie?'Y':'N');
HS='';
RS='';
US='&r='+ref;
int=1;
if(js>=1)
 {
 java=N.javaEnabled();
 HS+='&j='+(java?'Y':'N');
 US+='&j='+java;
 if(js>=2)
  {
   ww=screen.width;
   wh=screen.height;
   px=(((N.appName.substring(0,3)=='Mic'))?screen.colorDepth:screen.pixelDepth);
   HS+='&wh='+ww+'x'+wh+'&px='+px;
   RS+=';s'+ww+'*'+wh+'*'+px;
   US+='&s='+ww+'*'+wh+'&d='+px;
   r=new RegExp("irsural.ru");if(r.exec(ref))int=0;
  }
 }
D.write('<img id=C1 src="http://counter.yadro.ru/hit?t14.1;r'+ref+RS+';'+rnd+'" width=1 height=1><a href="http://www.uralweb.ru/rating/go/irs"><img border=0 src="http://hc.uralweb.ru/hc/irs?js=1'+js+'rand='+rnd+US+'" width=88 height=31 alt=UralWeb></a>');
//D.write('<img id=C1 src="http://hit4.hotlog.ru/cgi-bin/hotlog/count?'+rnd+'&s=58986&im=134&r='+ref+'&pg='+pg+'&c='+c+HS+'&js=1.'+js+'" width=1 height=1><img id=C src="http://cnt.one.ru/cgi-bin/cnt.cgi?id=243251&t=3" width=1 height=1><img id=C1 src="http://hc.uralweb.ru/hc/irs?js=1'+js+'rand='+rnd+US+'" width=1 height=1><img id=C src="http://counter.rambler.ru/top100.cnt?615913" width=1 height=1><img id=C1 src="http://counter.yadro.ru/hit?t14.1;r'+ref+RS+';'+rnd+'" width=1 height=1><img id=C src="http://www.yandex.ru/cycounter?www.irsural.ru" width=1 height=1><img id=C src="http://stat.aport.ru/show.pl?tp=37&id=1514168" width=1 height=1>');
}
function cancelBubbling(evt)
{
	var e = (evt) ? evt : window.event;
	if (window.event) 
	{
        e.cancelBubble=true;
    } 
	else 
	{
        e.stopPropagation();
    }
    return false;
}
function selectItems(obj)
{
	var parentForm = obj.form;
	
    if (obj.checked)
    {
        for (var i = 1; i < parentForm.elements.length; i++)
        {
            var item = parentForm.elements[i];
			if (item.type == 'checkbox')
			{
				item.value = 'on';
	            item.checked = true;
			}
        }    
    }
    else
    {
		for (var i = 1; i < parentForm.elements.length; i++)
        {
			var item = parentForm.elements[i];
			if (item.type == 'checkbox')
			{
				item.value = '';
	            item.checked = false;		
			}
		}
    }
	return true;
}

