//подключаем в <head>...</head> : <script language="javascript" src="advt/publicity.js"></script>
//функция для вставки фида

//в шаблон вот так +++ <script language="javascript">tattoo1();</script> +++  горизонт первая река для стат страниц и индекса
function tattoo1(){
var links_1 = new Array(
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>'
);
    var tattoo1 = Math.floor(Math.random()*links_1.length); 
	document.write(links_1[tattoo1]);
}

//в шаблон вот так +++ <script language="javascript">tattoo2();</script>  +++  горизонтал вторая реклама для page
function tattoo1(){
var links_2 = new Array(
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>'
);
    var tattoo2 = Math.floor(Math.random()*links_2.length); 
	document.write(links_2[tattoo2]);
}

//в шаблон вот так +++ <script language="javascript">tattoo3();</script> +++ ВЕРТИКАЛЬНЫЙ БАНЕР
function tattoo3(){
var links_3 = new Array(
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>',
//'<noindex><a href="http://сама_ссылка.ru" rel="nofollow"><img alt="" src="http://24hr7.com/img/b2.jpg"/></a></noindex>'
);
    var tattoo3 = Math.floor(Math.random()*links_3.length); 
	document.write(links_3[tattoo3]);
}


