function show (item){
	if (item.style.display=='none') {
		item.style.display='block';
	} else {
		item.style.display='none';
	}
}

function bigpic(img_path){
var str, StrBody;
        str = 'resizable=yes,width=300,height=100,screenX=100,screenY=100,left=100,top=100';      
        if (document.all){ 
                StrBody = '<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="White" onblur="self.window.close();">';
        } else {
                StrBody = '<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="White" onblur="self.window.close();">';
        }                
        var win_op = window.open('','show', str);
        win_op.document.open("text/html");
        win_op.document.writeln('<html>');
        win_op.document.writeln('<head>');
        win_op.document.writeln('<title>Пожалуйста, дождитесь загрузки...</title>');
        win_op.document.writeln('<script>');
        win_op.document.writeln('function resize_img() {');
        win_op.document.writeln('var width = document.image.width;');
        win_op.document.writeln('var height = document.image.height;');
        win_op.document.writeln('if (!(document.all)){ self.resizeTo(width,height); } else { self.resizeTo((width+12),(height + 31));');
        win_op.document.writeln(' }');
        win_op.document.writeln('}');
        win_op.document.writeln('</script>');   
        win_op.document.writeln('</head>');
        win_op.document.writeln(StrBody);
        win_op.document.writeln('<img name="image" src="'+ img_path +'" border=0 alt="" onload="resize_img();">');
        win_op.document.writeln('</body>');
        win_op.document.writeln('</html>');             
        win_op.document.close();
}

var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18423584-1']);
  _gaq.push(['_setDomainName', '.otvertka.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

