
	var neo1a_item          = 2087;

	var neo1a_show_src      = 0;
	var neo1a_show_desc     = 0;
	var neo1a_show_photo    = 1;
	var neo1a_show_text		= 1;
	var neo1a_show_float    = 'none';
	var neo1a_show_dot		= 0;
	var neo1a_show_pixel	= 0;
	var neo1a_pixel_id		= 0;
	
	var neo1a_title_limit	= 90;
	var neo1a_desc_limit	= 0;
	
	if (navigator.userAgent.indexOf('MSIE') != -1){
		var res = navigator.appVersion.match(/\MSIE\s+(\d\.\d\b)/);
		if (res[1] <= 6) {neo1a_show_dot = 0;}
	}
	var neo1a_class_link	= 'ns_link_2087';
	
	var neo1a_header        = '<table cellpadding="0" cellspacing="0" class="ns_table_2087">';
	var neo1a_footer        = '<'+'/table>';
	
	var neo1a_line_before   = '<td style="vertical-align:top;text-align:center;padding:2px 0 8px 0;width:25%; background:transparent; border-width:0px; border-style:solid; border-color: #9C9C9C;">';
	var neo1a_line_after    = '</td>';
	
	var neo1a_title_before  = '<div style="text-align:center">';
	var neo1a_title_after   = '</div>';
	
	var neo1a_desc_before   = '<div style="text-align:center;padding-top:2px">';
	var neo1a_desc_after    = '</div>';
	
	var neo1a_src_before    = '';
	var neo1a_src_after     = '';
	
	var neo1a_counter       = 0;
	var neo1a_break_cntr    = 4;
	var neo1a_break_code    = '</tr><tr>';
	
	var neo1a_domain        = 'http://tiz.neosmi.ru/';
	var neo1a_host          = 'http://tiz.neosmi.ru/';
	var neo1a_photo         = 'http://data.neosmi.ru/data/news/';
	var neo1a_page          = 1;
	
	var neo1a_data          = '';
	
	var neo1a_dimensions	= 'width:120px !important;height:120px !important;';
	var neo1a_photo_margin	= 'margin:auto;';
	var neo1a_photo_border	= 'border:0px solid #9C9C9C !important;';
	var neo1a_photo_padding	= 'padding:0px !important;';
	var neo1a_photo_custom	= 'background:transparent;';
	
	var neo1a_style_photo   = neo1a_dimensions+neo1a_photo_custom+(neo1a_show_dot?'margin:auto !important;padding:0 !important;border:0 !important;':neo1a_photo_margin+neo1a_photo_padding+neo1a_photo_border);
	var neo1a_style_dot		= neo1a_dimensions+neo1a_photo_custom+'margin:0 !important;'+neo1a_photo_padding+'border:0 !important;left:0 !important;top:0 !important;position:absolute !important';
	
	var neo1a_css_styles	= 'table.ns_table_2087{width:620px !important; border:0px solid #9C9C9C !important; background:transparent;}';
	
	neo1a_css_styles		+= (neo1a_show_dot?'a.ns_link_2087{'+neo1a_photo_margin+neo1a_photo_padding+neo1a_photo_border+'position:relative !important;display:block !important;'+(neo1a_show_float!=""?'float:'+neo1a_show_float+'':'')+';'+neo1a_dimensions+'}':'');
	neo1a_css_styles 		+= 'a.rt_title_2087:link,a.rt_title_2087:active,a.rt_title_2087:visited{text-decoration:none !important;color:#0033cc !important;font-family:Arial !important;font-weight:bold !important;font-size:12px !important}';
	neo1a_css_styles 		+= 'a.rt_title_2087:hover{text-decoration:none !important;color:#0033cc !important;font-family:Arial !important;font-weight:bold !important;font-size:12px !important}'; 
	neo1a_css_styles 		+= 'a.rt_desc_2087:link,a.rt_desc_2087:active,a.rt_desce_2087:visited{text-decoration:none !important;color:#0033cc !important;font-family:Arial !important;font-weight:normal !important;font-size:12px !important}';
	neo1a_css_styles 		+= 'a.rt_desc_2087:hover{text-decoration:none !important;color:#0033cc !important;font-family:Arial !important;font-weight:normal !important;font-size:12px !important}'; 
	
	var neo1a_initid        = 'neo1a_2087';
	
	var ak = Array();
	var count_ak = 0;
	
	function getCookie(name){var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1){begin=dc.indexOf(prefix);if(begin!=0){return null;}}else{begin += 2;}var end=dc.indexOf(";", begin);if (end==-1){end=dc.length;}return unescape(dc.substring(begin+prefix.length,end));}
	function setCookie(name,value,expires,path,domain,secure){document.cookie=name+"="+escape(value)+((expires)?"; expires="+expires.toGMTString():"")+((path)?"; path="+path:"")+((domain)?";domain="+domain:"")+((secure)?"; secure":"");}
	function NeoSmiCookies(value){var cn="neo1a";if(value){neo1a_page=value;}else{var c=getCookie(cn);if(c!=null&&parseInt(c)<=10&&(parseInt(c)+1)<=10){neo1a_page=parseInt(c)+1;}setCookie(cn,neo1a_page,"","/");}}NeoSmiCookies();
	
	var neo1a_init          = document.getElementById(neo1a_initid);
	
	function NeoSmiI(){if(neo1a_init){neo1a_init.innerHTML = neo1a_data;}}
	function NeoSmiH(){neo1a_data+=neo1a_header;}
	function NeoSmiF(){neo1a_data+=neo1a_footer;NeoSmiI();}
	function NeoSmiAdd(title,url,src,desc,photo,special){
		if(neo1a_title_limit){title=title.substr(0,neo1a_title_limit)+''};
		if(neo1a_desc_limit){desc=desc.substr(0,neo1a_desc_limit)+''};
		neo1a_counter++;	
		str=neo1a_line_before;
		
	if(neo1a_show_photo&&photo!=''){str+='<a target="_blank" href="'+neo1a_domain+'go.php?n='+url+'&b='+neo1a_item+'&q='+ak[count_ak]+'"'+(neo1a_show_dot?' class="ns_link_2087"':'')+'><img class="rt_photo_2087" src="'+neo1a_photo+url+'/120_120_'+photo+'"'+(neo1a_style_photo?' style="'+neo1a_style_photo+'"':'')+(neo1a_show_float?' align="'+neo1a_show_float+'"':'')+' />'+(neo1a_show_dot?'<img src="'+neo1a_photo+'00000.jpg" style="'+neo1a_style_dot+'" />':'')+'<'+'/a>';}
	if(neo1a_show_text){str+=neo1a_title_before+'<a target="_blank" href="'+neo1a_domain+'go.php?n='+url+'&b='+neo1a_item+'&q='+ak[count_ak]+'" class="rt_title_2087">'+title+'<'+'/a>'+neo1a_title_after;}
	if(neo1a_show_desc&&desc!=''){str+=neo1a_desc_before+'<a target="_blank" href="'+neo1a_domain+'go.php?n='+url+'&b='+neo1a_item+'&q='+ak[count_ak]+'" class="rt_desc_2087">'+desc+'<'+'/a>'+neo1a_desc_after;}
	if(neo1a_show_float&&neo1a_show_dot){str+='<div style="height:0px !important;overflow:hidden !important;clear:both !important;float:none !important;margin:0 !important;padding:0 !important;border:0 !important;display:block !important"></div>';}
		str+=neo1a_line_after;
		if(neo1a_counter==neo1a_break_cntr){str+=neo1a_break_code;neo1a_counter=0;}	
		neo1a_data+=str;
		count_ak++;
	}
	if (neo1a_init) {
		document.write('<style type="text/css">'+neo1a_css_styles+'<'+'/style>');
		document.write('<scr'+'ipt language="javascript" type="text/javascript" src="'+neo1a_host+'data.php?i='+neo1a_item+'&p='+neo1a_page+'" charset="windows-1251"><'+'/scr'+'ipt>');
	}
	
