Единый форум поддержки

Информация о пользователе

Привет, Гость! Войдите или зарегистрируйтесь.


Вы здесь » Единый форум поддержки » Вопросы по оформлению форума » Не срабатывает скрипт смены имиджа и скрытия инфы


Не срабатывает скрипт смены имиджа и скрытия инфы

Сообщений 1 страница 20 из 39

1

На форуме стоит смена дизайна. При дефолтном стиле не срабатывает скрипт на скрытие инфы под аватаром и смены имиджа в посте (нет ни кнопки ничего подобного).
Я пробовала ставить по разному, выделять изначальный стиль, но выходит только наложением.
Смотрела сменные дизайны на других форумах, и в основном у них у всех картинки на скрытие инфы все одинаковые на любой дизайн.
Все же хотелось бы узнать возможно ли сделать при разных изображениях, но чтобы изначально и инфа скрывалась и кнопка смены имиджа тоже была, до клика на выбор какого-либо дизайна.
(Почему? Потому что гости или некоторые пользователи не всегда тыкают в дизайны и придя на форум упираются в раскрытый профиль, или через какое-то время просят установить кнопку со сменой имиджа, при том при всем на удивление, что она как бы есть и всегда была)

0

2

mikka
1. Ссылку на ресурс с проблемой
2. Тестовый вход есть ? С Пиар ника ? Если нет - поставьте
============================================
Можно запихнуть кнопки скрытия инфы под аватаром прозрачкой и проставить  фоны к ним и их размеры разными в разных стилях

0

3

Deff написал(а):

Можно запихнуть кнопки скрытия инфы под аватаром прозрачкой и проставить  фоны к ним и их размеры разными в разных стилях

Я думала над этим, но все равно при нажатии первый раз на выбор дизайна, не начальный а следующий уже, получается остаются старые (даже если прозрачной - то будет смещение, сколько то место они занимать будут) и рядом новые

http://savepic.net/7670547.jpg вот так это выглядит если изъять основной стиль, но при переключении на следующий (тобишь тоже самое что с прозрачностью бы вышло)

0

4

mikka написал(а):

Я думала над этим, но все равно при нажатии первый раз на выбор дизайна, не начальный а следующий уже, получается остаются старые (даже если прозрачной - то будет смещение, сколько то место они занимать будут) и рядом новые

a). Если менять только иконки кнопок в самом подгружаемом стиле, не трогая скрипт, никаких удвоений не будет!
1. Оставьте один единственный скрипт скрытия
2. Поставьте пиксельную прозрачку вместо картинок на кнопки, в скрипте скрытия инфы
3. Выложите ссылки на картинки кнопок скрытия для всех стилей
===========================
Точно тоже позже проделаем со всеми скриптами, которые вы ставите в контейнеры, ибо менять нун не полностью скрипты, а css элементов

0

5

Deff написал(а):

2. Поставьте пиксельную прозрачку вместо картинок на кнопки, в скрипте скрытия инфы

На все или на один единственный?

ссылки на картинки
Deff написал(а):

2. Поставьте пиксельную прозрачку вместо картинок на кнопки, в скрипте скрытия инфы

и я не очень поняла. Картинкой или кодом? Если картинкой, то у вас нет случайно?( я вообще не дружу  графическими редакторами.

Отредактировано mikka (Чт, 11 Фев 2016 16:24:21)

0

6

mikka написал(а):

и я не очень поняла. Картинкой или кодом? Если картинкой, то у вас нет случайно?( я вообще не дружу  графическими редакторами.

Ccылка на пиксельную картинку , ставите как есть(без http://) => /i/blank.gif
2. Оставьте один единственный файл для кнопок скрытия и в HTML верх и низ, и больше никаких доп кодов этого скрипта

mikka написал(а):

На все или на один единственный?

Да, просто сделаем разный стиль кнопок для разных стилей(размерами и фоновыми картинками)
3. Сделаю к вечеру

0

7

Deff
Если не против, все сделаю когда вы дадите код, а то я не совсем понимаю что сейчас конкретно должна сделать (скрипты на скрытие инфы у меня в единичном экземпляре, ну по крайней мере как вижу я. То что до этого скидывала, просто код перепутала, тот был на имидж =/)

Deff написал(а):

3. Сделаю к вечеру

утром все поставлю только работа

0

8

mikka
Замените HTML низ:

Код:
<!--Смена имиджа в текущем посте - HTML-низ -->
    <style>.punbb .pa-avatar img {max-width:190px;height:auto;}</style>
    <script type="text/javascript">
    OnSmenaImage("New Cumvill", new Array("New Cumvill"))
    var AvtrArr=new Array(
    "http://savepic.org/7431245.jpg"    //Ссылки на картинки аватар
   //End myarray_!!Последняя ссылка без запятой!!!
    )
    StartNIZ(); //
    </script>

<style>
li#navawards {display: none;}
</style>

<script>
@font-face {
font-family: 'Exo 2 Bold Condensed';
src: url('http://fkme.nc-21.ru/files/0014/4a/23/96580.eot?'),
url('http://fkme.nc-21.ru/files/0014/4a/23/59475.woff') format('woff'),
url('http://fkme.nc-21.ru/files/0014/4a/23/42862.ttf') format('truetype'),
url('http://fkme.nc-21.ru/files/0014/4a/23/78748.svg#svgFontName') format('svg');
font-weight: normal;
font-style: normal;
}
</script>

<script>
@font-face {
font-family: 'Grange';
src: url('http://fkme.nc-21.ru/files/0014/4a/23/45289.eot?'),
url('http://fkme.nc-21.ru/files/0014/4a/23/47954.woff') format('woff'),
url('http://fkme.nc-21.ru/files/0014/4a/23/78209.ttf') format('truetype'),
url('https://yadi.sk/d/aie4mJSDjdtMz#svgFontName') format('svg');
font-weight: normal;
font-style: normal;
}
</script>

<!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика -->
<script>
var a1 = 1	// 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер
var a2 = 0	// 0 - Скрытие первой вкладки; 1 - Показ первой вкладки;
var a3 = 2 // Резкость Открытия: 0 - Плавно; 1 - Резко; 2 - Fade;
var LiArr=new Array(
//При наличии двух косых => // в начале пункта, - пункт не скрывается.
//"pa-author",     //Ник-Нейм
//"pa-avatar",     //Аватар
//"pa-title",      //статус
// 1 кнопка - ссылка на Картинку
//В квадратных скобках, прямо к ссылке можно добавить своё описание (по желанию)
"http://fkme.nc-21.ru/i/blank.gif[look at me]",
"pa-reg",        //Зарегистрирован
"pa-invites", //Приглашений
"pa-posts",      //Кол-во сообщений:
"pa-respect",    //Уважение:
"pa-positive",  //Позитив
"pa-sex",        //Пол
"pa-age",        //Возраст
"pa-icq",        //Аська
"pa-ip",         //IP Юзера
"pa-time-visit", //Провел на форуме:
"pa-last-visit", //Последний визит:
"pa-fld5", //Плюшки:
"pa-fld4", //Награды:
//"pa-online",     //Пользователь online - Не засовываем в спойлеры
// 2 кнопка- ссылка на Картинку
"http://fkme.nc-21.ru/i/blank.gif[touch me]",
"pa-from",       //Откуда
"pa-fld3", //Фракция
"pa-fld1",       //Информация о персонаже
"pa-fld2", //Раса
//Конец Списка,
"_End"); SetProvilSpoil(a1,a2,a3);
</script>
<!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик-->

<!-- уведомления--->
<div id="messagalert" style="display:none;position:fixed;right:44%; top: 35%;">
<a href=#top onClick="href='../messages.php'" title="мои сообщения"><img src="/i/blank.gif" width=200 height=100/></a></div>
<script language="JavaScript">
    var str = new String(document.getElementById("navpm").innerHTML)
    var str2 = new String(document.location)
    if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
  {
    document.getElementById("messagalert").style.display='block'
    }
    </script>


<!-- цветовыделение ников и полоса объяснений выделений пользователей -->
<script type="text/javascript">
var text="<center><font color=#ccad00>Арахна</font>  |  <font color=Darkblue>Гидра</font>  |  <font color=Maroon>Вега</font>  |  <font color=black> Цербер</font>  |  <font color=#00a86b>Феникс</font>  |  <font color=#dd601c>Гильдия</font>  | <font color=#18a7b5>Вавилон</font>  |  <font color=#bf0000>КоВ</font>   | <font color=#ff3399>Орден</font>   |   <font color=#671ab4> Джаставэй </font> |  <font color=#8A0868>Горожане</font>  |  <font color=#b5b5b5>NPC</font>    </center>"
pa=document.getElementById("pun-stats")
pa.style.position = "relative"
pa.innerHTML = "<div style=\"position:absolute; z-index:2; center: 5px; top: 50px; width: 100%;\">"+text+"</div>"+ pa.innerHTML
</script>
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("Арахна", "Sol", "Blaze Gliford", "Maro Profondo", "Vincent", "Myron Gliford", "Мяуро ди Мурро", "Dno", "Lance", "Adelisiya Hunt", "Ales Milosh", "Artur", "Jasper", "Loree Black", "Mark", "Рейнхарт", "Sherad")
var arr2=new Array ("Гидра", "Forsen", "Blue Liar", "Olaf Svensson", "Kai", "McKenzie", "Shiro Kuroi", "Sven", "Mari", "Derek Quist" , "Микеле", "Dn", "«HF-E8»", "Hard K'Not", "Victor Maksimov", "Gabrial Kriz", "Murasame Jin")
var arr3=new Array ("Вега", "Абдулла", "Willow", "Trix Laffler","Marsel", "C. J. Fletcher", "Лудо", "Birdie")
var arr4=new Array ("Цербер", "Nate", "Larimar", "Loki", "Luke", "Mikki", "Tommy", "Heinrich", "Mad", "Tao", "Justin Haise", "Daniel Miles", "Феликс", "Кроу", "Nick Lloyd", "Dan Lloyd", "Jesko", "Scarabaeus", "Wit Wojcik", "Дей", "Лель", "Jack Creeper")
var arr5=new Array ("Вавилон", "Lucifer Cepheus", "Kain", "Liam", "Asmoday", "Evan Ward", "Kai Ortensia", "Linda", "Мей", "Alvaro Garay", "Велиар Айзэн", "Ящер", "Tim Spraut", "Black Suit", "Jan Eckert", "Барнаби Пирс", "Teo Freeman", "Argetis", "Tanuki", "Snow White"," Argetis Di'Karen", "Ethan", "Rinard Sean", "Woo Yang", "Ling Tao Shan", "Felix", "Alex", "Sabo")
var arr6=new Array ("Гильдия", "Irma", "Teo Vail", "Isaak Gottard", "Ramiro", "Atsushi", "Ая", "Aoi Kato", "James Stone", "Jed Rain", "Tom Kim", "Eilert Lind", "Wushi", "Mihael")
var arr7=new Array ("Феникс", "Eliot Mills", "ZES", "Froud Jayden","Desmond von Mayerling", "Sakurai Tadashi",  "William Smoker", "Terry Adams", "Wildcat", "Blaine Anderson", "Try", "Ray Kaddis", "Andy", "Heinrich Heine", "Eyjolfur", "Fran", "Krispes D Ollie", "Pesha Suess", "Rachel Carpenter", "Bull", "Juffin", "Pete McKenzie", "Irving Davies")
var arr8=new Array ("Джаставэй", "Easy","Beholder", "Shax", "Set Hino", "Рю", "Альбино", "Izuki Asao", "Olle", "M Frost")
var arr9=new Array ("Орден", "Dragon", "Remy", "Cody","Danag Anrou", "Agriel", "Армаэль Бедвир", "Traugot Kendall", "Unicorn",  "Valentine", "Veritas Vins")
var arr10=new Array ("Ков", "Ralf", "Idris Elba","Shiki", "Azariah", "Usui", "Alana", "Ивиан Корн", "Vilho Lasse", "Jane Doe", "Aleksian Otlorian", "Dominic")
var arr11=new Array ("Город", "Clive", "Сэм", "Свен", "Кейчи", "Stella", "Colin", "Rei", "Rory", "Plague", "Dylan", "", "Raul Grosser", "Хейлель", "Авель", "Rikki Ditas", "Reiga Reiuji", "Isaac Kohs", "Ace", "Эрик", "Валентин Котов", "Кита Мирич", "Stanley Creeper", "Doll", "Malice", "Ashley Bennett", "Dirk", "Luca", "Мари Сью", "Liar Niles", "Willy Nilly", "Christian", "James", "Джанго", "Лука", "Fergus Malory", "Майве Дюне", "Chester", "Moral", "Crass Westor", "Christoph Lange", "Slayer", "Gilbert", "Dean Miers", "Regina Gold", "Neuro Nougami", "Red King", "Imai Ronin", "Смит Джон", "Anita Kriz", "Зелень", "Victor", "The Six", "Кот", "Беатрис Марджера", "Mikael Moth", "Вашта Нерада", "Archie", "Natan Gold", "Marty Harrison", "Alex Keat", "Александр Аргайл", "Твен")
var arr12=new Array ("Cumvill", "Tentacruel", "Voyeur", "PR", "GM")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='#ccad00' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='darkblue' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='maroon' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr4)
{if (arr[x].innerHTML==arr4[l])
{
arr[x].innerHTML="<font color='black' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr5)
{if (arr[x].innerHTML==arr5[l])
{
arr[x].innerHTML="<font color='#18a7b5' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr6)
{if (arr[x].innerHTML==arr6[l])
{
arr[x].innerHTML="<font color='#dd601c' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr7)
{if (arr[x].innerHTML==arr7[l])
{
arr[x].innerHTML="<font color='#00a86b' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr8)
{if (arr[x].innerHTML==arr8[l])
{
arr[x].innerHTML="<font color='#671ab4' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr9)
{if (arr[x].innerHTML==arr9[l])
{
arr[x].innerHTML="<font color='ff3399' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr10)
{if (arr[x].innerHTML==arr10[l])
{
arr[x].innerHTML="<font color='#bf0000' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='8A0868' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr12)
{if (arr[x].innerHTML==arr12[l])
{
arr[x].innerHTML="<font color='#b5b5b5' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}
</script>
<!-- конец цветовыделений  -->

<!--скрыли название допполя ---><script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld1")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>
<!--скрыли название допполя ---><script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld3")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>

<script>hostname = document.location.hostname; $(".post a").each(function() {currenturl = $(this).attr("href"); if(currenturl.indexOf(hostname) != currenturl.lastIndexOf(hostname)) {$(this).attr("target", ""); $(this).attr("href", currenturl.replace("http://" + hostname + "/click.php?",""));}})</script>

<!-- скрыли подфорум -->
<script language="JavaScript">
str=document.URL
if(str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php")
   document.write("<style>#forum_f4, #forum_f12 {display:none}</style>")
</script>
<!-- .скрыли подфорум -->
<!--обтекание изображения 2.4.4-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="floatbut" style=\'background-image:url("http://s002.radikal.ru/i198/1009/43/f183caeae434.gif")\'></td>');
$('#floatbut, .vibor').click(function(){
$('div#float').toggle();});
  });
elm=document.getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content") 
{
post = elm[x].innerHTML;
if(post.indexOf("[/float]") != -1) {
floats = /\[float=(.*?)\]([^\[]*)\[\/float\]/gi
elm[x].innerHTML = elm[x].innerHTML.replace(floats, "<span style='float: $1; margin: 15px; text-align: $1;'>$2</span>")
}}
</script>
<div id="float" style="display:none;background:#FFFFCC;border:1px solid black; width:auto; padding:8px; position:absolute; margin-top:-32%; margin-left:35%; z-index:20">
<div><strong>Направление обтекания</strong></div><br>
<div align="center">
<img class="vibor" src="http://s001.radikal.ru/i193/1009/96/695abc799ddb.png" title="left" onclick="bbcode('[float=left]', '[/float]')" />
<img class="vibor" src="http://s002.radikal.ru/i199/1009/ac/95c10fcc7d82.png" title="right" onclick="bbcode('[float=right]', '[/float]')" />
</div></div>

<!-- Читатель-читалка - НАЧАЛО -->
<style>.Myread {    cursor: pointer;}</style>
    <script type="text/javascript">
    ReaderNik="Voyeur";
    ReaderPas="1111";

    var L="<div id=\"RD_loginDiv\" style=\"display:none;\">\
    <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
    <fieldset>\
    <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
    <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
    <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
    <input type=\"submit\" class=\"button\" name=\"login\"/>\
    </fieldset>\
    </form>\
    </div>\
    <span id=spMyimg><a class=\"Myread\"  title=\"Подсмотреть\" onclick=\"ReaderIn()\" >Reader</a></span>";
    if($("#navlogin").html()!=null){

    $("#navlogin").append(L) //navlogin
    $("#RD_loginDiv #fld1").val(ReaderNik)
    $("#RD_loginDiv #fld2").val(ReaderPas)
    function ReaderIn () {$("#RD_loginDiv input[type='submit']").click();}
    }
    </script>
<!-- Читатель-читалка - КОНЕЦ -->

<!-- Пиар-вход - НАЧАЛО -->
<style>.Myimge {cursor: pointer;}</style>
    <script type="text/javascript">
    PiarNik="PR";
    PiarPas="1111";

    var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\
    <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
    <fieldset>\
    <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
    <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
    <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
    <input type=\"submit\" class=\"button\" name=\"login\"/>\
    </fieldset>\
    </form>\
    </div>\
    <span id=spMyimg><a class=\"Myimge\"  title=\"Пиар\" onclick=\"PiarIn()\" >PR</a></span>";
    if($("#navlogin").html()!=null){

    $("#navlogin").append(L) //navlogin
    $("#PR_loginDiv #fld1").val(PiarNik)
    $("#PR_loginDiv #fld2").val(PiarPas)
    function PiarIn () {$("#PR_loginDiv input[type='submit']").click();}
    }
    </script>
<!-- Пиар-вход - КОНЕЦ -->


<!-- Выделить код -->
<script type="text/javascript">
function select_text(elem) {
	if(window.getSelection) {   
var s=window.getSelection();   
if(s.setBaseAndExtent){   
	s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1);   
}
else {   
	var r=document.createRange();   
	r.selectNodeContents(elem);   
	s.removeAllRanges();   
	s.addRange(r);
}   
	}
	else if(document.getSelection){   
var s=document.getSelection();   
var r=document.createRange();   
r.selectNodeContents(elem);   
s.removeAllRanges();   
s.addRange(r);   
	}
	else if(document.selection){   
var r=document.body.createTextRange();   
r.moveToElementText(elem);   
r.select();
	}   
}
</script>
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
for(x in div){
	if(div[x].className=='code-box'){
div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">...а теперь наш код нежно войдет в ваш кэш~♥</a>';
	}
}
</script>


<!--дополнительные медиахостинги © Romych-->
<script type="text/javascript">
var media2 = ['kiwi.kz',
'rutv.ru',
'soundcloud.com',
'purevolume.com',
'livestream.com',
'pleer.com',
'video.jampo.tv',
'yapfiles.ru',
'realmusic.ru',
'1plus1.ua',
'jamendo.com',
'mail.ru',
'bandcamp.com',
'coub.com',
'sibnet.ru',
'ato.su',
'rocklab.ru'];

$('.media_link img').tipsy({live: true,gravity: 's',fade: true});
$('#video-area-hsel').addClass('media-t1');
$('#video-area').prepend('<div id="media-wrapper"><ul class="media-tabs tabs1"><li class="media-t1 tab-current"><a>Первый список</a></li><li class="media-t2"><a>Второй список</a></li></ul><br><div class="media-t2"></div></div><br>');
jQuery.each(media2, function(i) {
$('#video-area div.media-t2').append('<a class="media_link" href="javascript:void(0)" onclick="window.open(\'http://'+media2[i]+'\',\''+media2[i]+'\', \'width=640, height=480\');return false;"> <img style="padding: 5px;" alt="'+media2[i]+'" title="'+media2[i]+'" src="https://plus.google.com/_/favicon?domain='+media2[i]+'"> </a>');
});
$('#video-area div.media-t2').append('<br><br><div id="video-area-tcon2"><div id="video-area-thd2">Вставьте  iframe-код медиафайла (аудио, видео)</div><textarea id="video-area-tinp2" onclick="this.select();"></textarea><div id="video-area-msg2" style="margin: 0.5em 0;padding: 0.3em;"></div></div><div id="video-area-actions2"><a class="frame_host" href="javascript:void(0)" >Вставить</a>  <a onclick="changeVisibility(\'video-area\'); return false;"href="#">Закрыть</a></div>');

$('a.frame_host').click(function(e){
var self = $('#video-area-tinp2');
          setTimeout(function(e) {
          var paste = $(self).val();
          paste = paste.replace(/'/gi, '"');
if(paste.indexOf('param name="movie"') !=-1){
          frm = paste.split(/param name=\"movie\" value=\"(.*?)\"/i);
        }
if((paste.indexOf('<iframe') !=-1) || (paste.indexOf('<embed')!=-1)){
          frm = paste.split(/src=\"(.*?)\"/);
        }
if(paste.indexOf('data=') !=-1) {
          frm = paste.split(/data=\"(.*?)\"/);
        }
if(frm[1].slice(frm[1].indexOf('.swf')+4).length<=2){
var fls = paste.split(/param name=\"flashvars\" value=\"(.*?)\"/i);
frm[1]=frm[1]+'?&'+fls[1];

}
          var wd = paste.split(/width=\"(.*?)\"/);
          var hg = paste.split(/height=\"(.*?)\"/);

for (var i=0; i<media2.length; i++) {
if(frm[1].indexOf(media2[i]) !=-1) {

insert('[video2='+wd[1]+'|'+hg[1]+']'+frm[1]+'[/video2]\n');
changeVisibility('video-area');
$(self).val('');
} 
else {
$('#video-area-msg2').text('Неподдерживаемый хостинг.');
$(self).val('');
 }
};
          }, 0);
 });

$('ul.media-tabs.tabs1 li').click(function(){
var thisClass = this.className.slice(0,8);
$('div.media-t1, div.media-t2, div.media-t3').hide();
$('div.' + thisClass).fadeToggle('fast');
$('ul.media-tabs.tabs1 li').removeClass('tab-current');
$(this).addClass('tab-current');
  });  

var ls = document.querySelectorAll(".post-content p");
for (x in ls){
var pst = ls[x].innerHTML;
for (var i=0; i<media2.length; i++) {
if(pst.indexOf(media2[i])!= -1)  {
pst = pst.replace(/\[video2=(.*?)\|(.*?)\](.*?)\[\/video2\]/gi, '<br /><iframe width="$1" height="$2" src="$3" frameborder="0" allowfullscreen></iframe>');
   } 
}
ls[x].innerHTML = pst;
       }
</script>


<script type="text/javascript">
var nabor2 = [
'http://sa.uploads.ru/wWxDv.png',
'http://sa.uploads.ru/EIVyb.png',
'http://sa.uploads.ru/xHFSZ.png',
'http://sa.uploads.ru/RB7Y2.png',
'http://sa.uploads.ru/ou370.png',
'http://sa.uploads.ru/uDVzH.png',
'http://sa.uploads.ru/WYeMS.png',
'http://sa.uploads.ru/qiVDY.png',
'http://sa.uploads.ru/WeEKu.png',
'http://sa.uploads.ru/bhJTA.png',
'http://sa.uploads.ru/rbcse.png',
'http://sa.uploads.ru/fpWIn.png',
'http://sa.uploads.ru/YE92M.png',
'http://sa.uploads.ru/n1y8T.png',
'http://sa.uploads.ru/6qmYd.png',
'http://sa.uploads.ru/oH2F6.png',
'http://sa.uploads.ru/sLKGQ.png',
'http://sa.uploads.ru/7DzuS.png',
'http://sa.uploads.ru/zF1Mb.png',
'http://sa.uploads.ru/gW6PN.png',
'http://sa.uploads.ru/LkT5F.png',
'http://sa.uploads.ru/MUiuE.png',
'http://sa.uploads.ru/Nq9JP.png',
'http://sa.uploads.ru/DAwLd.png',
'http://sa.uploads.ru/AqU3I.png',
'http://sa.uploads.ru/r0jE1.png',
'http://sa.uploads.ru/hW2O3.png',
'http://sa.uploads.ru/6VdMN.png',
'http://sa.uploads.ru/eAQyh.png',
'http://sa.uploads.ru/riDx7.png',
'http://sa.uploads.ru/jzJfD.png',
'http://sa.uploads.ru/oZJD7.png',
'http://sa.uploads.ru/915hA.png',
'http://sa.uploads.ru/47l0S.png',
'http://sa.uploads.ru/QBOwa.png',
'http://sa.uploads.ru/Mc6jQ.png',
'http://sa.uploads.ru/2d9Hw.png',
'http://sa.uploads.ru/vyqs9.png',
'http://sa.uploads.ru/kxfKX.png',
'http://sa.uploads.ru/XB4Vz.png',
'http://sa.uploads.ru/Me7st.png',
'http://sa.uploads.ru/qxyfz.png',
'http://sa.uploads.ru/2LPm7.png',
'http://sa.uploads.ru/cs2r9.png',
'http://sa.uploads.ru/YHgFI.png',
'http://sa.uploads.ru/bOXqH.png',
'http://sa.uploads.ru/JCqBx.png',
'http://sa.uploads.ru/Nkx7f.png',
'http://sa.uploads.ru/b7op5.png',
'http://sa.uploads.ru/Sx8A3.png',
'http://sa.uploads.ru/OnWQK.png',
'http://sa.uploads.ru/C89hf.png',
'http://vk.com/images/stickers/2058/64.png',
'http://vk.com/images/stickers/2059/64.png',
'http://vk.com/images/stickers/2060/64.png',
'http://vk.com/images/stickers/2061/64.png',
'http://vk.com/images/stickers/2062/64.png',
'http://vk.com/images/stickers/2063/64.png',
'http://vk.com/images/stickers/2064/64.png',
'http://vk.com/images/stickers/2065/64.png',
'http://vk.com/images/stickers/2066/64.png',
'http://vk.com/images/stickers/2067/64.png',
'http://vk.com/images/stickers/2068/64.png',
'http://vk.com/images/stickers/2069/64.png'];

var nabor3 = [
'http://sa.uploads.ru/8SP5F.png',
'http://sa.uploads.ru/6U4gP.png',
'http://sa.uploads.ru/cWrBK.png',
'http://sa.uploads.ru/t8pO6.png',
'http://sa.uploads.ru/ufh9Q.png',
'http://sa.uploads.ru/UgzBY.png',
'http://sa.uploads.ru/0KV1r.png',
'http://sa.uploads.ru/cLFI4.png',
'http://sa.uploads.ru/xnVDg.png',
'http://sa.uploads.ru/H2Rku.png',
'http://sa.uploads.ru/1QHSJ.png',
'http://sa.uploads.ru/xU7I2.png',
'http://sa.uploads.ru/72LGW.png',
'http://sa.uploads.ru/8wUZW.png',
'http://sa.uploads.ru/xU7ms.png',
'http://sa.uploads.ru/mfZ2k.png',
'http://sa.uploads.ru/6tfg0.png',
'http://sa.uploads.ru/pte9i.png',
'http://sa.uploads.ru/Adr0h.png',
'http://sa.uploads.ru/RrIba.png',
'http://sa.uploads.ru/BiYkh.png',
'http://sa.uploads.ru/BvfUs.png',
'http://sa.uploads.ru/wTKY7.png',
'http://sa.uploads.ru/PFVOd.png',
'http://sa.uploads.ru/sgxmn.png',
'http://sa.uploads.ru/ct3Sh.png'];

var nabor4 = [
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-ahh.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-awak.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-bad.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-bite-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-com.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-cool.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-crazy.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-cry.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-drink.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-drool.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-eat.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-err.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-fall.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hehe.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hi.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hot.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hug.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-huh.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-idle.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-kake.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-keke.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lick.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lines.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lol.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-mad-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-man.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-mos.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-music.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-nod-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-nod.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-oo.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pet.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-poke.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pounce.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pray.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pu.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pet2.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-QQ.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-scratch.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shock-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shock.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shy.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-sleep.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-sneeze.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-stretch.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tail.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tea.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tired.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-xp.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-xd.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-yawn.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-want.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-spin.gif'];

var nabor5 = [
'http://s7.uploads.ru/1Kd6N.gif',
'http://s6.uploads.ru/AkJ86.gif',
'http://s6.uploads.ru/HeMo1.gif',
'http://s7.uploads.ru/krECJ.gif',
'http://s1.uploads.ru/i/iQBvK.gif',
'http://s1.uploads.ru/i/oMuna.gif',
'http://s1.uploads.ru/i/4Sl8g.gif',
'http://s1.uploads.ru/i/ydQPF.gif',
'http://s1.uploads.ru/i/u5rIq.gif',
'http://s1.uploads.ru/i/lcPbK.gif',
'http://s1.uploads.ru/i/dp4hE.gif',
'http://s1.uploads.ru/i/h8DOv.gif',
'http://s1.uploads.ru/i/SjRWL.gif',
'http://s1.uploads.ru/i/mxR3Q.gif',
'http://s1.uploads.ru/i/j03VS.gif',
'http://s1.uploads.ru/i/QzisO.gif',
'http://s1.uploads.ru/i/AshLm.gif',
'http://s1.uploads.ru/i/ncaQT.gif',
'http://s1.uploads.ru/i/m72NV.gif',
'http://s1.uploads.ru/i/CMPOi.gif',
'http://s1.uploads.ru/i/JUmub.gif',
'http://s1.uploads.ru/i/fCuHr.gif',
'http://savepic.net/3393154m.gif',
'http://savepic.net/3345969m.gif',
'http://savepic.net/3342897m.gif',
'http://savepic.net/3406462m.gif',
'http://savepic.net/3375742m.gif',
'http://savepic.net/3388030m.gif',
'http://savepic.net/3402366m.gif',
'http://savepic.net/3384958m.gif',
'http://savepic.net/3407486m.gif',
'http://savepic.net/3385982m.gif',
'http://savepic.net/3377790m.gif',
'http://savepic.net/3431961m.gif',
'http://savepic.net/3429913m.gif',
'http://savepic.net/3419673m.gif',
'http://savepic.net/3416601m.gif',
'http://savepic.net/3417625m.gif',
'http://savepic.net/3475643m.gif',
'http://s2.uploads.ru/t/9Ec3F.gif',
'http://s2.uploads.ru/t/hCxd1.gif',
'http://s2.uploads.ru/t/iQjeJ.gif',
'http://s3.uploads.ru/t/thYkG.gif',
'http://s3.uploads.ru/t/EnwQi.gif',
'http://s3.uploads.ru/t/gBj4D.gif',
'http://s3.uploads.ru/t/YvtFs.gif',
'http://s2.uploads.ru/t/9irMU.gif',
'http://s2.uploads.ru/t/FnYuO.gif',
'http://s2.uploads.ru/t/lU8A0.gif',
'http://s2.uploads.ru/t/MKNp0.gif',
'http://s3.uploads.ru/t/VpUou.gif',
'http://s3.uploads.ru/t/biD1U.gif',
'http://s2.uploads.ru/t/ai5hU.gif',
'http://s3.uploads.ru/t/doefY.gif',
'http://s2.uploads.ru/t/kd5Hh.gif',
'http://s2.uploads.ru/t/52Eew.gif',
'http://s2.uploads.ru/t/vHtmY.gif',
'http://s2.uploads.ru/t/EUew2.gif',
'http://s3.uploads.ru/t/6vKUR.gif',
'http://s3.uploads.ru/t/xwXIu.gif',
'http://s2.uploads.ru/t/GcOzI.gif',
'http://s2.uploads.ru/t/UQAM2.gif',
'http://s2.uploads.ru/t/ar26T.gif',
'http://s3.uploads.ru/t/42iSm.gif',
'http://s3.uploads.ru/t/8PcZ2.gif',
'http://s2.uploads.ru/t/v815M.gif',
'http://s3.uploads.ru/t/e14Vv.gif',
'http://s2.uploads.ru/t/EpchT.gif',
'http://s2.uploads.ru/t/JZNqX.gif',
'http://s3.uploads.ru/t/H6Mop.gif',
'http://s3.uploads.ru/t/rZCU8.gif',
'http://s2.uploads.ru/t/r3amA.gif',
'http://s3.uploads.ru/t/LzgiD.gif',
'http://s3.uploads.ru/t/Va6j4.gif',
'http://s2.uploads.ru/t/NL8dt.gif',
'http://s3.uploads.ru/t/iq2lP.gif',
'http://s3.uploads.ru/t/58GNp.gif',
'http://s2.uploads.ru/t/rhOqT.gif',
'http://s2.uploads.ru/t/TS5Nk.gif',
'http://s3.uploads.ru/t/l30V5.gif',
'http://s3.uploads.ru/t/oiBa4.gif',
'http://s2.uploads.ru/t/hAQVJ.gif',
'http://s2.uploads.ru/t/Sw4Cu.gif',
'http://s2.uploads.ru/t/Z3bz9.gif',
'http://s2.uploads.ru/t/ztfbU.gif',
'http://s3.uploads.ru/t/03UXG.gif',
'http://s3.uploads.ru/t/2efY3.gif',
'http://s2.uploads.ru/t/sHl18.gif',
'http://s2.uploads.ru/t/R2Xyh.gif',
'http://s2.uploads.ru/t/pnj6A.gif',
'http://s2.uploads.ru/t/pdvIT.gif',
'http://s2.uploads.ru/t/DWrHk.gif',
'http://s2.uploads.ru/t/pvumK.gif',
'http://s3.uploads.ru/t/vVj8p.gif',
'http://s2.uploads.ru/t/DEdSx.gif',
'http://s2.uploads.ru/t/uN5v8.gif',
'http://s3.uploads.ru/t/pxbOI.gif',
'http://s2.uploads.ru/t/HquKr.gif',
'http://s3.uploads.ru/t/h6ifD.gif',
'http://s3.uploads.ru/t/kyZeq.gif',
'http://s2.uploads.ru/t/XAPzO.gif',
'http://s3.uploads.ru/t/W8kpY.gif',
'http://s2.uploads.ru/t/8k129.gif',
'http://s2.uploads.ru/t/v6Drt.gif',
'http://s2.uploads.ru/t/c3b4r.gif',
'http://s3.uploads.ru/t/tXW97.gif',
'http://s3.uploads.ru/t/Anm4j.gif',
'http://s3.uploads.ru/t/8a4iV.gif',
'http://s2.uploads.ru/t/8AglP.gif',
'http://s2.uploads.ru/MRJCK.gif',
'http://s3.uploads.ru/PtzeO.gif',
'http://s2.uploads.ru/a580V.gif',
'http://s3.uploads.ru/DwreM.gif',
'http://s2.uploads.ru/oLB5V.gif',
'http://s2.uploads.ru/PUDZ4.gif',
'http://s2.uploads.ru/yZzFC.gif',
'http://s2.uploads.ru/rDhVy.gif',
'http://s3.uploads.ru/DLBJ4.gif',
'http://s3.uploads.ru/GRq0t.gif',
'http://s2.uploads.ru/E0e3z.gif',
'http://s2.uploads.ru/TtaMH.gif',
'http://s2.uploads.ru/gPpDV.gif',
'http://s2.uploads.ru/1usdw.gif',
'http://s3.uploads.ru/E7obV.gif',
'http://s3.uploads.ru/tPmFT.gif',
'http://s2.uploads.ru/DyQLB.gif',
'http://s3.uploads.ru/5tXlc.gif',
'http://s3.uploads.ru/uHdNz.gif',
'http://s2.uploads.ru/92orK.gif',
'http://s3.uploads.ru/0SpuP.gif',
'http://s3.uploads.ru/7vl46.gif',
'http://s2.uploads.ru/45Gau.gif',
'http://s3.uploads.ru/mpDMf.gif',
'http://s2.uploads.ru/e8miu.gif',
'http://s2.uploads.ru/OFpgG.gif',
'http://s3.uploads.ru/5W7cn.gif',
'http://s2.uploads.ru/IjYH5.gif',
'http://s2.uploads.ru/imWho.gif',
'http://s2.uploads.ru/700nX.gif',
'http://s2.uploads.ru/0ABJF.gif',
'http://s2.uploads.ru/8ecHY.gif',
'http://s2.uploads.ru/RwaF7.gif',
'http://s3.uploads.ru/W8H7O.gif',
'http://s2.uploads.ru/ksU5Z.gif',
'http://s3.uploads.ru/rRLNu.gif',
'http://s2.uploads.ru/3q6nS.gif',
'http://s3.uploads.ru/hTR4K.gif',
'http://s3.uploads.ru/l3B68.gif',
'http://s3.uploads.ru/xDake.gif',
'http://s2.uploads.ru/XRjoh.gif',
'http://s2.uploads.ru/y97L0.gif',
'http://s2.uploads.ru/nApk5.gif',
'http://s2.uploads.ru/B12NQ.gif',
'http://s2.uploads.ru/RZith.gif',
'http://s2.uploads.ru/q4LDa.gif',
'http://s3.uploads.ru/R8E0q.gif',
'http://s2.uploads.ru/uzgym.gif',
'http://s3.uploads.ru/8Q6pb.gif',
'http://s2.uploads.ru/uLmvJ.gif',
'http://s2.uploads.ru/aDfwo.gif',
'http://s2.uploads.ru/5txmh.gif',
'http://s2.uploads.ru/ygPxI.gif',
'http://s3.uploads.ru/MvTeH.gif',
'http://s3.uploads.ru/l2eIG.gif',
'http://s3.uploads.ru/4HAO7.gif',
'http://s2.uploads.ru/KG8iD.gif',
'http://s2.uploads.ru/WYv85.gif',
'http://s2.uploads.ru/Kwljp.gif',
'http://s3.uploads.ru/ZrA15.gif',
'http://s3.uploads.ru/nrKzx.gif',
'http://s2.uploads.ru/ghmOU.gif',
'http://s3.uploads.ru/sCMzO.gif',
'http://s3.uploads.ru/mX7Ey.gif',
'http://s3.uploads.ru/1bTmo.gif',
'http://s3.uploads.ru/tP6cn.gif',
'http://s2.uploads.ru/nu3QC.gif',
'http://s2.uploads.ru/hmU91.gif',
'http://s2.uploads.ru/CxDzy.gif',
'http://s3.uploads.ru/8z6Ew.gif',
'http://s3.uploads.ru/jTPxs.gif',
'http://s2.uploads.ru/zIGLd.gif',
'http://s2.uploads.ru/DiWAU.gif',
'http://uploads.ru/i/v/M/3/vM3YJ.gif',
'http://uploads.ru/i/d/Y/5/dY5x7.gif',
'http://uploads.ru/i/q/2/E/q2Ep8.gif',
'http://savepic.net/3112114m.gif',
'http://uploads.ru/i/F/7/D/F7DCO.gif',
'http://uploads.ru/i/T/Y/P/TYPZK.gif',
'http://uploads.ru/i/T/3/J/T3JcX.gif',
'http://uploads.ru/i/t/U/e/tUelP.gif',
'http://uploads.ru/i/D/A/Y/DAYdH.gif',
'http://uploads.ru/i/4/r/d/4rdbH.gif',
'http://savepic.net/2905078m.gif',
'http://savepic.net/2898934m.gif',
'http://uploads.ru/i/7/T/3/7T392.gif',
'http://savepic.net/3119282m.gif',
'http://savepic.net/2925323m.gif',
'http://savepic.net/3109042m.gif',
'http://uploads.ru/i/C/W/o/CWoMV.gif',
'http://uploads.ru/i/J/c/t/JctKZ.gif',
'http://uploads.ru/i/s/c/7/sc7mI.gif',
'http://uploads.ru/i/B/U/G/BUGc4.gif',
'http://uploads.ru/i/D/i/e/DieUV.gif',
'http://uploads.ru/i/7/P/F/7PFwX.gif',
'http://uploads.ru/i/q/O/5/qO5uA.gif',
'http://savepic.net/2926347m.gif',
'http://uploads.ru/i/w/y/V/wyVdD.gif',
'http://uploads.ru/i/U/g/C/UgC8R.gif',
'http://uploads.ru/i/y/T/f/yTfLp.gif',
'http://uploads.ru/i/G/v/g/Gvgyq.gif',
'http://uploads.ru/i/C/M/7/CM74U.gif',
'http://uploads.ru/i/M/S/E/MSEo5.gif',
'http://uploads.ru/i/i/d/B/idBfr.gif',
'http://uploads.ru/i/7/Y/r/7YrEv.gif',
'http://uploads.ru/i/t/2/I/t2IvT.gif',
'http://uploads.ru/i/a/R/O/aROhM.gif',
'http://uploads.ru/i/4/n/z/4nzIT.gif',
'http://savepic.net/3032618m.gif',
'http://savepic.net/2932727m.gif',
'http://savepic.net/2930679m.gif',
'http://savepic.net/3014585m.gif',
'http://savepic.net/2930678m.gif',
'http://s1.uploads.ru/i/FvWse.gif',
'http://s1.uploads.ru/i/vSpNO.gif',
'http://s1.uploads.ru/i/XdREf.gif',
'http://uploads.ru/i/B/1/F/B1FfJ.gif',
'http://s1.uploads.ru/i/E7LZG.gif',
'http://s1.uploads.ru/i/Npi0D.gif',
'http://s1.uploads.ru/i/6yOkz.gif',
'http://s1.uploads.ru/i/7U1ep.gif',
'http://s1.uploads.ru/i/xqCMg.gif',
'http://s1.uploads.ru/i/8IiPW.gif',
'http://s1.uploads.ru/i/i26vZ.gif',
'http://s1.uploads.ru/i/VXQyj.gif',
'http://s1.uploads.ru/i/RinIF.gif',
'http://s1.uploads.ru/i/wRrhG.gif',
'http://s1.uploads.ru/i/dLHAW.gif',
'http://s1.uploads.ru/i/4tbUB.gif',
'http://s1.uploads.ru/i/JxaRD.gif',
'http://s1.uploads.ru/i/lGP2F.gif',
'http://s1.uploads.ru/i/IGH7P.gif',
'http://s1.uploads.ru/i/Ylbdy.gif',
'http://s1.uploads.ru/i/lYO6d.gif',
'http://s1.uploads.ru/i/Pk6Uq.gif',
'http://s1.uploads.ru/i/ndwGQ.gif',
'http://s1.uploads.ru/i/YxUM0.gif',
'http://s1.uploads.ru/i/NLYCT.gif',
'http://s1.uploads.ru/i/XpLUi.gif',
'http://s1.uploads.ru/i/2N1Tm.gif',
'http://s1.uploads.ru/i/5rSPW.gif',
'http://s1.uploads.ru/i/2ZvS6.gif',
'http://s1.uploads.ru/i/IPsg8.gif',
'http://s1.uploads.ru/i/GQ64C.gif',
'http://s1.uploads.ru/i/Es9MT.gif',
'http://s1.uploads.ru/i/9k4UX.gif',
'http://s1.uploads.ru/t/EROvy.gif',
'http://s1.uploads.ru/i/RH1vJ.gif',
'http://s1.uploads.ru/i/Bbwi0.gif',
'http://s1.uploads.ru/i/N1Duw.gif',
'http://s1.uploads.ru/i/23h6A.gif',
'http://s1.uploads.ru/i/KjBdO.gif',
'http://s1.uploads.ru/i/wACxO.gif',
'http://s1.uploads.ru/i/S3sCO.gif',
'http://s1.uploads.ru/i/P8yUd.gif',
'http://s1.uploads.ru/i/kbxt7.gif',
'http://s1.uploads.ru/i/KqIGc.gif',
'http://s1.uploads.ru/i/lDkH7.gif',
'http://s1.uploads.ru/i/nTa5w.gif',
'http://s1.uploads.ru/i/KQdjm.gif',
'http://s1.uploads.ru/i/lsG40.gif',
'http://s1.uploads.ru/i/O603n.gif',
'http://s1.uploads.ru/i/euflR.gif',
'http://s1.uploads.ru/i/HhWd3.gif',
'http://s1.uploads.ru/i/3Wxqm.gif',
'http://s1.uploads.ru/i/iN1ug.gif',
'http://s1.uploads.ru/i/wvM7X.gif',
'http://s1.uploads.ru/i/sqVum.gif',
'http://s1.uploads.ru/i/Fm7Lq.gif',
'http://s1.uploads.ru/i/cFHXP.gif',
'http://s1.uploads.ru/i/d3C1I.gif',
'http://s1.uploads.ru/i/5jyXL.gif',
'http://s1.uploads.ru/i/dtNJy.gif',
'http://s1.uploads.ru/i/JqmXz.gif',
'http://s1.uploads.ru/i/2huin.gif',
'http://s1.uploads.ru/i/P5DCL.gif',
'http://s1.uploads.ru/i/2OHa4.gif',
'http://s1.uploads.ru/i/mwGRY.gif',
'http://s1.uploads.ru/i/8mpcn.gif',
'http://s1.uploads.ru/i/SXk1W.gif',
'http://s1.uploads.ru/i/jZPbD.gif',
'http://s1.uploads.ru/i/5vGaw.gif',
'http://s1.uploads.ru/i/2aWdY.gif',
'http://s1.uploads.ru/i/72UoF.gif',
'http://s1.uploads.ru/i/QOFBp.gif',
'http://s1.uploads.ru/i/fTksQ.gif',
'http://s1.uploads.ru/i/sIbAX.gif',
'http://s1.uploads.ru/i/adSYi.gif',
'http://s1.uploads.ru/i/Y1Ot6.gif',
'http://savepic.net/3230081m.gif',
'http://s1.uploads.ru/t/gfM4t.gif',
'http://s1.uploads.ru/t/fK0dP.gif',
'http://s1.uploads.ru/t/q3b8o.gif',
'http://s1.uploads.ru/t/ZqHEt.gif',
'http://s1.uploads.ru/t/7o3tk.gif',
'http://s1.uploads.ru/t/dgOYU.gif',
'http://s1.uploads.ru/t/xL0V5.gif',
'http://s1.uploads.ru/t/hjiZ0.gif',
'http://s1.uploads.ru/t/AE6bO.gif',
'http://s1.uploads.ru/t/HPJ1f.gif',
'http://s1.uploads.ru/i/MeER7.gif',
'http://s1.uploads.ru/t/1VPnB.gif',
'http://s1.uploads.ru/t/QDPLI.gif',
'http://s1.uploads.ru/t/wKqsN.gif',
'http://s1.uploads.ru/t/OuJlE.gif',
'http://s1.uploads.ru/t/KHzjD.gif',
'http://s1.uploads.ru/t/E5otV.gif',
'http://s1.uploads.ru/i/bSYLV.gif',
'http://s1.uploads.ru/t/cRfbU.gif',
'http://s1.uploads.ru/t/5licq.gif',
'http://s1.uploads.ru/t/AXYur.gif',
'http://s1.uploads.ru/i/LdlAs.gif',
'http://s1.uploads.ru/i/5qAiS.gif',
'http://s1.uploads.ru/i/guEk9.gif',
'http://s1.uploads.ru/i/eFHIn.gif',
'http://s1.uploads.ru/i/RETSa.gif',
'http://s1.uploads.ru/i/dPKAG.gif',
'http://savepic.net/3243382m.gif',
'http://savepic.net/3223926m.gif',
'http://s1.uploads.ru/t/2BDuE.gif',
'http://s1.uploads.ru/t/VkKm2.gif',
'http://s1.uploads.ru/t/15dmI.gif',
'http://s1.uploads.ru/t/nKQoD.gif',
'http://s3.uploads.ru/1Leby.gif',
'http://s3.uploads.ru/7EGse.gif',
'http://s3.uploads.ru/rGRvd.gif',
'http://s3.uploads.ru/Rz9o5.gif',
'http://s2.uploads.ru/Vsx3q.gif',
'http://s2.uploads.ru/8Ml3p.gif',
'http://s3.uploads.ru/tLcUZ.gif',
'http://s3.uploads.ru/VJ5iF.gif',
'http://s2.uploads.ru/C4mTc.gif',
'http://s2.uploads.ru/nwRQC.gif'];

var nabor6 = [
'http://smayly.ru/gallery/anime/Assassins/showimg.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_002.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_003.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_004.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_005.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_007.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_008.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_009.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_010.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_011.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_012.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_013.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_014.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_015.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_016.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_018.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_019.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_020.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_021.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_022.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_023.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_024.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_025.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_026.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_027.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_028.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_029.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_030.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_031.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_032.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_033.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_034.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_035.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_036.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_037.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_038.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_039.gif'];

$(document).ready(function() {
$('#smilies-block').addClass('t1');
$('#smilies-area').prepend('<div id="wrapper"><ul class="tabs tabs1" onclick="return changeVisibility (\'smilies-area\', false)"><li class="t1 tab-current"><b>Smile#1 |</b></li><li class="t2"><b>Smile#2 |</b></li><li class="t3"><b>Smile#3 |</b></li><li class="t4 tab-current"><b>Smile#4 |</b></li><li class="t5 tab-current"><b>Smile#5 |</b></li><li class="t6 tab-current"><b>Smile#6 |</b></li><br></ul><div class="t1"></div><div class="t2"></div><div class="t3"></div><div class="t4"></div><div class="t5"></div><div class="t6"></div></div>');
$.each(nabor2, function(i) {
$('div.t2').append('<img src="'+nabor2[i]+'" onclick=smile(\'[img]'+nabor2[i]+'[/img]\') />');
});
$.each(nabor3, function(i) {
$('div.t3').append('<img src="'+nabor3[i]+'" onclick=smile(\'[img]'+nabor3[i]+'[/img]\') />');
});
$.each(nabor4, function(i) {
$('div.t4').append('<img src="'+nabor4[i]+'" onclick=smile(\'[img]'+nabor4[i]+'[/img]\') />');
});
$.each(nabor5, function(i) {
$('div.t5').append('<img src="'+nabor5[i]+'" onclick=smile(\'[img]'+nabor5[i]+'[/img]\') />');
});
$.each(nabor6, function(i) {
$('div.t6').append('<img src="'+nabor6[i]+'" onclick=smile(\'[img]'+nabor6[i]+'[/img]\') />');
});
$('ul.tabs.tabs1 li').click(function(){
var thisClass = this.className.slice(0,2);
$('div.t1, div.t2, div.t3, div.t4, div.t5, div.t6').hide();
$('div.' + thisClass).fadeToggle('slow');
$('ul.tabs.tabs1 li').removeClass('tab-current');
$(this).addClass('tab-current');
}); });
</script>

<script type="text/javascript">
if ((document.URL.indexOf("viewtopic.php") != -1) || (document.URL.indexOf("post.php") != -1) || (document.URL.indexOf("edit.php") != -1)) {
var repl = document.getElementById("main-reply");
var submit = document.getElementsByTagName("p")
for (var i=0; i<submit.length; i++){
if (submit[i].className == "formsubmit")
submit[i].innerHTML = "<span id=\"plng\" style=\"border: 0px solid; padding: 20px 3px;\">Написано символов: <b>0</b></span>" + submit[i].innerHTML;
}
repl.onkeyup = repl.onkeydown = repl.onfocus = repl.onblur = function(){
document.getElementById("plng").innerHTML ="Счетчик символов: <b>" + (repl.value.length) + "</b>";
}}
</script>
<p align="center" >© Ролевая форумная игра ''New Cumvill''. 2014-2016. Все права защищены || При использовании любых материалов ссылка на форум строго обязательна.</p>
<p align="center" ><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='//www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t50.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet' "+
"border='0' width='31' height='31'><\/a>")
//--></script><!--/LiveInternet--></p>


<!--Название допполя --->
<script type="text/javascript">
$(".pa-fld5").each(function(){
 $(this).css({"margin-top":"6px"}); this.innerHTML = $(this).html().replace(/^([^:]*:)/,'<b>$1</b>');
 $(this).find('img[alt]').each(function(){this.setAttribute('title', this.getAttribute('title').replace(/^[^\|]*\|/,''));});
});
</script>


<!-- Награды v3.1 by kozhilya -->
<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; } 
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('Награды пользователя <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld6').each(function() { 
Result = '<table>'; 
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Награды') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Награда: <strong>'+name+'</strong><br>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Награды</span>'); }});
</script>

<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; } 
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('Особенности <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld6').each(function() { 
Result = '<table>'; 
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Особенности') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Фракции</span>'); }});
</script>
<script type="text/javascript">
var DefAvtr="http://fkme.nc-21.ru/img/avatars/0014/4a/23/2-1435327412.jpg"; //
var GuestAvtr="http://fkme.nc-21.ru/img/avatars/0014/4a/23/2-1435327412.jpg";//
$("li.pa-title").each(function(){
var b = DefAvtr;if($(this).text()=='Гость')b = GuestAvtr;
var s='<li class="pa-avatar item2"><img class="defavtr" src="'+b+'" alt="Аватар"/></li>';
if (($(this).parent("ul").find("li.pa-avatar").html())==null){$(this).after(s);};});
</script>

В каждый свой стиль проставьте нужные размеры и ссылку фоновой картинки для кнопок и уведомления об лс
В кнопках еще и нужный размер проставьте:
В Стиль:

/*Картинки кнопок спойлера Скрытия Инфы в топике*/
.post-img-Sp[data=".Sp1"] {
  width:82px;height:23px;
  background:url(http://fkme.nc-21.ru/files/0014/4a/23/95113.png) no-repeat center;
}
.post-img-Sp[data=".Sp2"] {
  width:82px;height:23px;
  background:url(http://fkme.nc-21.ru/files/0014/4a/23/21807.png) no-repeat center;
}
/*Картинка уведомлений об ЛС*/
#messagalert>a>img{background:url(http://se.uploads.ru/je37h.png) no-repeat;}

+1

9

Deff
Наверно шрифты нун в <style> обернуть, а не в <script > ?

<script>
@font-face {
font-family: 'Exo 2 Bold Condensed';
src: url('http://fkme.nc-21.ru/files/0014/4a/23/96580.eot?'),
url('http://fkme.nc-21.ru/files/0014/4a/23/59475.woff') format('woff'),
url('http://fkme.nc-21.ru/files/0014/4a/23/42862.ttf') format('truetype'),
url('http://fkme.nc-21.ru/files/0014/4a/23/78748.svg#svgFontName') format('svg');
font-weight: normal;
font-style: normal;
}
</script>

<script>
@font-face {
font-family: 'Grange';
src: url('http://fkme.nc-21.ru/files/0014/4a/23/45289.eot?'),
url('http://fkme.nc-21.ru/files/0014/4a/23/47954.woff') format('woff'),
url('http://fkme.nc-21.ru/files/0014/4a/23/78209.ttf') format('truetype'),
url('https://yadi.sk/d/aie4mJSDjdtMz#svgFontName') format('svg');
font-weight: normal;
font-style: normal;
}
</script>

И перенести в HTML верх(иначе грузиться долго будут, сначала появится стандартный шрифт, потом уже подгружаемый

0

10

Alex_63
Ну поправь, мну убрал ток лишние скрипты и контейнеры для разных стилей...

0

11

Deff
Спасибочки, проверила, кажется все как нужно.
Кнопка имиджа находится в html-верху. Как-то так же можно сделать с ней или это будет труднее?

0

12

mikka
Посмотрю наверное завтра
Ксать для дефолтного стиля тож вставьте в Первое Окно кнопки и Фон для ЛС уведомление, ибо если на стиль не кликнул - кнопок нет (Очистите кеш браузера и проверьте

0

13

Deff
эм, так стоп, я не совсем поняла, чуть подробнее можно?
Для начального стиля? Прям код что вы мне дали поставить в верхнее окно стиля, так? Я просто чистила кеш чтобы проверить, вроде бы все сразу отображалось

0

14

mikka
Ну если оно есть в Администрировании Свой стиль - то не нун, но я смотрел когда - не было (либо вставлено криво, не работало до клика по кнопкам)

0

15

Deff

Код:
/*************************************************************
A - SETUP
**************************************************************/
/* A0 Import default Style
-------------------------------------------------------------*/
/* A0.1 */
  @import url(http://forumstatic.ru/files/0014/29/14/51379.css);

/* A1.1 */
@import url(Ла Ла Ла);

это все что есть в стиле на данный момент.
Ой, вы можете посмотреть точно скрывается сейчас или нет. Я смотрела с хроно и с оперы, в дефолтном варианте. Все вроде бы как скрывалось сразу, без кликов.

0

16

mikka
Вот это убрать из стиля:

/* A1.1 */
@import url(Ла Ла Ла);

Кривые URL отправляют всех на главную в статистике!
====================================
Да, сейчас всё сработало с первого раза, после очистки кеша

0

17

Deff
Лишнее убрала, жду вариант на смену имиджа. После изменений в HTML-низу, у меня совсем пропала кнопка. А он так же был на каждый диз своя иконка, а так же внутреннее оформление. Не совсем поняла куда он мог деться, если все, в принципе стоит как и раньше если что посмотреть то вот

0

18

mikka
Выложите ссылки на картинки кнопок, и если старый сохранился HTML Низ - выложите и его в тегах код

0

19

Deff

Код:
<!--Смена имиджа в текущем посте - HTML-низ -->
    <style>.punbb .pa-avatar img {max-width:190px;height:auto;}</style>
    <script type="text/javascript">
    OnSmenaImage("New Cumvill", new Array("New Cumvill"))
    var AvtrArr=new Array(
    "http://savepic.org/7431245.jpg"    //Ссылки на картинки аватар
   //End myarray_!!Последняя ссылка без запятой!!!
    )
    StartNIZ(); //
    </script>

<style>
li#navawards {display: none;}
</style>



<style alt="http://fkme.nc-21.ru/files/0014/4a/23/51379.css" class=OnlyThisStyle>/*
<!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика -->
<script>
var a1 = 1	// 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер
var a2 = 0	// 0 - Скрытие первой вкладки; 1 - Показ первой вкладки;
var a3 = 2 // Резкость Открытия: 0 - Плавно; 1 - Резко; 2 - Fade;
var LiArr=new Array(
//При наличии двух косых => // в начале пункта, - пункт не скрывается.
//"pa-author",     //Ник-Нейм
//"pa-avatar",     //Аватар
//"pa-title",      //статус
// 1 кнопка - ссылка на Картинку
//В квадратных скобках, прямо к ссылке можно добавить своё описание (по желанию)
"http://fkme.nc-21.ru/files/0014/4a/23/95113.png[look at me]",
"pa-reg",        //Зарегистрирован
"pa-invites", //Приглашений
"pa-posts",      //Кол-во сообщений:
"pa-respect",    //Уважение:
"pa-positive",  //Позитив
"pa-sex",        //Пол
"pa-age",        //Возраст
"pa-icq",        //Аська
"pa-ip",         //IP Юзера
"pa-time-visit", //Провел на форуме:
"pa-last-visit", //Последний визит:
"pa-fld5", //Плюшки:
"pa-fld4", //Награды:
//"pa-online",     //Пользователь online - Не засовываем в спойлеры
// 2 кнопка- ссылка на Картинку
"http://fkme.nc-21.ru/files/0014/4a/23/21807.png[touch me]",
"pa-from",       //Откуда
"pa-fld3", //Фракция
"pa-fld1",       //Информация о персонаже
"pa-fld2", //Раса
//Конец Списка,
"_End"); SetProvilSpoil(a1,a2,a3);
</script>
<!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик-->

<!-- уведомления--->
<div id="messagalert" style="display:none;position:fixed;right:44%; top: 35%;">
<a href=#top onClick="href='../messages.php'" title="мои сообщения"><img src="http://se.uploads.ru/je37h.png"/></a></div>
<script language="JavaScript">
    var str = new String(document.getElementById("navpm").innerHTML)
    var str2 = new String(document.location)
    if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
  {
    document.getElementById("messagalert").style.display='block'
    }
    </script>
*/</style>
<script>var L=$("link[rel='stylesheet']:first").attr('href');var V=$("style.OnlyThisStyle[alt='"+L+"']");if(V.html()!=null){var V1=V.html().replace(/^\/\*([\s\S]*)\*\//img,"$1");V.replaceWith(V1);}</script>

<style alt="http://fkme.nc-21.ru/files/0014/4a/23/63779.css" class=OnlyThisStyle>/*
<!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика -->
<script>
var a1 = 1	// 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер
var a2 = 0	// 0 - Скрытие первой вкладки; 1 - Показ первой вкладки;
var a3 = 2 // Резкость Открытия: 0 - Плавно; 1 - Резко; 2 - Fade;
var LiArr=new Array(
//При наличии двух косых => // в начале пункта, - пункт не скрывается.
//"pa-author",     //Ник-Нейм
//"pa-avatar",     //Аватар
//"pa-title",      //статус
// 1 кнопка - ссылка на Картинку
//В квадратных скобках, прямо к ссылке можно добавить своё описание (по желанию)
"http://savepic.org/7435072m.png[look at me]",
"pa-reg",        //Зарегистрирован
"pa-invites", //Приглашений
"pa-posts",      //Кол-во сообщений:
"pa-respect",    //Уважение:
"pa-positive",  //Позитив
"pa-sex",        //Пол
"pa-age",        //Возраст
"pa-icq",        //Аська
"pa-ip",         //IP Юзера
"pa-time-visit", //Провел на форуме:
"pa-last-visit", //Последний визит:
"pa-fld5", //Плюшки:
"pa-fld4", //Награды:
//"pa-online",     //Пользователь online - Не засовываем в спойлеры
// 2 кнопка- ссылка на Картинку
"http://savepic.org/7419660m.png[touch me]",
"pa-from",       //Откуда
"pa-fld3", //Фракция
"pa-fld1",       //Информация о персонаже
"pa-fld2", //Раса
//Конец Списка,
"_End"); SetProvilSpoil(a1,a2,a3);
</script>
<!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик-->

<!-- уведомления--->
<div id="messagalert" style="display:none;position:fixed;right:44%; top: 35%;">
<a href=#top onClick="href='../messages.php'" title="мои сообщения"><img src=" http://savepic.org/7409420m.png"/></a></div>
<script language="JavaScript">
    var str = new String(document.getElementById("navpm").innerHTML)
    var str2 = new String(document.location)
    if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
  {
    document.getElementById("messagalert").style.display='block'
    }
    </script>
*/</style>
<script>var L=$("link[rel='stylesheet']:first").attr('href');var V=$("style.OnlyThisStyle[alt='"+L+"']");if(V.html()!=null){var V1=V.html().replace(/^\/\*([\s\S]*)\*\//img,"$1");V.replaceWith(V1);}</script>


<style alt="http://fkme.nc-21.ru/files/0014/4a/23/68098.css" class=OnlyThisStyle>/*
<!-- HTML низ -Cпойлер cкрытия Инфы под N-кнопок в Профиле Топика -->
<script>
var a1 = 1	// 0 - спойлер-аккордеон, 1 - вертикальный спойлер; 3 - обычный спойлер
var a2 = 0	// 0 - Скрытие первой вкладки; 1 - Показ первой вкладки;
var a3 = 2 // Резкость Открытия: 0 - Плавно; 1 - Резко; 2 - Fade;
var LiArr=new Array(
//При наличии двух косых => // в начале пункта, - пункт не скрывается.
//"pa-author",     //Ник-Нейм
//"pa-avatar",     //Аватар
//"pa-title",      //статус
// 1 кнопка - ссылка на Картинку
//В квадратных скобках, прямо к ссылке можно добавить своё описание (по желанию)
"http://savepic.org/7937482m.png[look at me]",
"pa-reg",        //Зарегистрирован
"pa-invites", //Приглашений
"pa-posts",      //Кол-во сообщений:
"pa-respect",    //Уважение:
"pa-positive",  //Позитив
"pa-sex",        //Пол
"pa-age",        //Возраст
"pa-ip",         //IP Юзера
"pa-time-visit", //Провел на форуме:
"pa-last-visit", //Последний визит:
"pa-fld5", //Плюшки:
"pa-fld4", //Награды:
//"pa-online",     //Пользователь online - Не засовываем в спойлеры
// 2 кнопка- ссылка на Картинку
"http://savepic.org/7934410m.png[touch me]",
"pa-from",       //Откуда
"pa-fld3", //Фракция
"pa-fld1",       //Информация о персонаже
"pa-fld2", //Раса
//Конец Списка,
"_End"); SetProvilSpoil(a1,a2,a3);
</script>
<!--Конец//=Cпойлер cкрытия Инфы под N-кнопок в Профиле Топик-->

<!-- уведомления--->
<div id="messagalert" style="display:none;position:fixed;right:44%; top: 35%;">
<a href=#top onClick="href='../messages.php'" title="мои сообщения"><img src="http://savepic.org/7984339.png"/></a></div>
<script language="JavaScript">
    var str = new String(document.getElementById("navpm").innerHTML)
    var str2 = new String(document.location)
    if( (str.indexOf("(") != -1) && (str2.indexOf("messages.php") == -1) )
  {
    document.getElementById("messagalert").style.display='block'
    }
    </script>
*/</style>
<script>var L=$("link[rel='stylesheet']:first").attr('href');var V=$("style.OnlyThisStyle[alt='"+L+"']");if(V.html()!=null){var V1=V.html().replace(/^\/\*([\s\S]*)\*\//img,"$1");V.replaceWith(V1);}</script>


<!-- цветовыделение ников и полоса объяснений выделений пользователей -->
<script type="text/javascript">
var text="<center><font color=#ccad00>Арахна</font>  |  <font color=Darkblue>Гидра</font>  |  <font color=Maroon>Вега</font>  |  <font color=black> Цербер</font>  |  <font color=#00a86b>Феникс</font>  |  <font color=#dd601c>Гильдия</font>  | <font color=#18a7b5>Вавилон</font>  |  <font color=#bf0000>КоВ</font>   | <font color=#ff3399>Орден</font>   |   <font color=#671ab4> Джаставэй </font> |  <font color=#8A0868>Горожане</font>  |  <font color=#b5b5b5>NPC</font>    </center>"
pa=document.getElementById("pun-stats")
pa.style.position = "relative"
pa.innerHTML = "<div style=\"position:absolute; z-index:2; center: 5px; top: 50px; width: 100%;\">"+text+"</div>"+ pa.innerHTML
</script>
<script type="text/javascript">
var arr=document.links
var arr1=new Array ("Арахна", "Sol", "Blaze Gliford", "Maro Profondo", "Vincent", "Myron Gliford", "Мяуро ди Мурро", "Dno", "Lance", "Adelisiya Hunt", "Ales Milosh", "Artur", "Jasper", "Loree Black", "Mark", "Рейнхарт", "Sherad")
var arr2=new Array ("Гидра", "Forsen", "Blue Liar", "Olaf Svensson", "Kai", "McKenzie", "Shiro Kuroi", "Sven", "Mari", "Derek Quist" , "Микеле", "Dn", "«HF-E8»", "Hard K'Not", "Victor Maksimov", "Gabrial Kriz", "Murasame Jin")
var arr3=new Array ("Вега", "Абдулла", "Willow", "Trix Laffler","Marsel", "C. J. Fletcher", "Лудо", "Birdie")
var arr4=new Array ("Цербер", "Nate", "Larimar", "Loki", "Luke", "Mikki", "Tommy", "Heinrich", "Mad", "Tao", "Justin Haise", "Daniel Miles", "Феликс", "Кроу", "Nick Lloyd", "Dan Lloyd", "Jesko", "Scarabaeus", "Wit Wojcik", "Дей", "Лель", "Jack Creeper")
var arr5=new Array ("Вавилон", "Lucifer Cepheus", "Kain", "Liam", "Asmoday", "Evan Ward", "Kai Ortensia", "Linda", "Мей", "Alvaro Garay", "Велиар Айзэн", "Ящер", "Tim Spraut", "Black Suit", "Jan Eckert", "Барнаби Пирс", "Teo Freeman", "Argetis", "Tanuki", "Snow White"," Argetis Di'Karen", "Ethan", "Rinard Sean", "Woo Yang", "Ling Tao Shan", "Felix", "Alex", "Sabo")
var arr6=new Array ("Гильдия", "Irma", "Teo Vail", "Isaak Gottard", "Ramiro", "Atsushi", "Ая", "Aoi Kato", "James Stone", "Jed Rain", "Tom Kim", "Eilert Lind", "Wushi", "Mihael")
var arr7=new Array ("Феникс", "Eliot Mills", "ZES", "Froud Jayden","Desmond von Mayerling", "Sakurai Tadashi",  "William Smoker", "Terry Adams", "Wildcat", "Blaine Anderson", "Try", "Ray Kaddis", "Andy", "Heinrich Heine", "Eyjolfur", "Fran", "Krispes D Ollie", "Pesha Suess", "Rachel Carpenter", "Bull", "Juffin", "Pete McKenzie", "Irving Davies")
var arr8=new Array ("Джаставэй", "Easy","Beholder", "Shax", "Set Hino", "Рю", "Альбино", "Izuki Asao", "Olle", "M Frost")
var arr9=new Array ("Орден", "Dragon", "Remy", "Cody","Danag Anrou", "Agriel", "Армаэль Бедвир", "Traugot Kendall", "Unicorn",  "Valentine", "Veritas Vins")
var arr10=new Array ("Ков", "Ralf", "Idris Elba","Shiki", "Azariah", "Usui", "Alana", "Ивиан Корн", "Vilho Lasse", "Jane Doe", "Aleksian Otlorian", "Dominic")
var arr11=new Array ("Город", "Clive", "Сэм", "Свен", "Кейчи", "Stella", "Colin", "Rei", "Rory", "Plague", "Dylan", "", "Raul Grosser", "Хейлель", "Авель", "Rikki Ditas", "Reiga Reiuji", "Isaac Kohs", "Ace", "Эрик", "Валентин Котов", "Кита Мирич", "Stanley Creeper", "Doll", "Malice", "Ashley Bennett", "Dirk", "Luca", "Мари Сью", "Liar Niles", "Willy Nilly", "Christian", "James", "Джанго", "Лука", "Fergus Malory", "Майве Дюне", "Chester", "Moral", "Crass Westor", "Christoph Lange", "Slayer", "Gilbert", "Dean Miers", "Regina Gold", "Neuro Nougami", "Red King", "Imai Ronin", "Смит Джон", "Anita Kriz", "Зелень", "Victor", "The Six", "Кот", "Беатрис Марджера", "Mikael Moth", "Вашта Нерада", "Archie", "Natan Gold", "Marty Harrison", "Alex Keat", "Александр Аргайл", "Твен")
var arr12=new Array ("Cumvill", "Tentacruel", "Voyeur", "PR", "GM")

for (x in arr)
{for (y in arr1)
{if (arr[x].innerHTML==arr1[y])
{
arr[x].innerHTML="<font color='#ccad00' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (j in arr2)
{if (arr[x].innerHTML==arr2[j])
{
arr[x].innerHTML="<font color='darkblue' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr3)
{if (arr[x].innerHTML==arr3[l])
{
arr[x].innerHTML="<font color='maroon' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr4)
{if (arr[x].innerHTML==arr4[l])
{
arr[x].innerHTML="<font color='black' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr5)
{if (arr[x].innerHTML==arr5[l])
{
arr[x].innerHTML="<font color='#18a7b5' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr6)
{if (arr[x].innerHTML==arr6[l])
{
arr[x].innerHTML="<font color='#dd601c' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr7)
{if (arr[x].innerHTML==arr7[l])
{
arr[x].innerHTML="<font color='#00a86b' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr8)
{if (arr[x].innerHTML==arr8[l])
{
arr[x].innerHTML="<font color='#671ab4' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr9)
{if (arr[x].innerHTML==arr9[l])
{
arr[x].innerHTML="<font color='ff3399' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr10)
{if (arr[x].innerHTML==arr10[l])
{
arr[x].innerHTML="<font color='#bf0000' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr11)
{if (arr[x].innerHTML==arr11[l])
{
arr[x].innerHTML="<font color='8A0868' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}

for (x in arr)
{for (l in arr12)
{if (arr[x].innerHTML==arr12[l])
{
arr[x].innerHTML="<font color='#b5b5b5' style='text-shadow: 1px 1px 1px  transparent;'>"+arr[x].innerHTML+"</font>"}}}
</script>
<!-- конец цветовыделений  -->

<!-- Читатель-читалка - НАЧАЛО -->
<style>.Myread {    cursor: pointer;}</style>
    <script type="text/javascript">
    ReaderNik="Voyeur";
    ReaderPas="1111";

    var L="<div id=\"RD_loginDiv\" style=\"display:none;\">\
    <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
    <fieldset>\
    <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
    <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
    <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
    <input type=\"submit\" class=\"button\" name=\"login\"/>\
    </fieldset>\
    </form>\
    </div>\
    <span id=spMyimg><a class=\"Myread\"  title=\"Подсмотреть\" onclick=\"ReaderIn()\" >Reader</a></span>";
    if($("#navlogin").html()!=null){

    $("#navlogin").append(L) //navlogin
    $("#RD_loginDiv #fld1").val(ReaderNik)
    $("#RD_loginDiv #fld2").val(ReaderPas)
    function ReaderIn () {$("#RD_loginDiv input[type='submit']").click();}
    }
    </script>
<!-- Читатель-читалка - КОНЕЦ -->

<!-- Пиар-вход - НАЧАЛО -->
<style>.Myimge {cursor: pointer;}</style>
    <script type="text/javascript">
    PiarNik="PR";
    PiarPas="1111";

    var L="<div id=\"PR_loginDiv\" style=\"display:none;\">\
    <form id=\"form_login\" name=\"login\" method=\"post\" action=\"login.php?action=in\" onsubmit=\"return check_form()\">\
    <fieldset>\
    <input type=\"hidden\" name=\"form_sent\" value=\"1\"/>\
    <input type=\"text\" id=\"fld1\" name=\"req_username\" size=\"21\" maxlength=\"25\"/>\
    <input type=\"text\" id=\"fld2\" name=\"req_password\" size=\"7\" maxlength=\"16\"/>\
    <input type=\"submit\" class=\"button\" name=\"login\"/>\
    </fieldset>\
    </form>\
    </div>\
    <span id=spMyimg><a class=\"Myimge\"  title=\"Пиар\" onclick=\"PiarIn()\" >PR</a></span>";
    if($("#navlogin").html()!=null){

    $("#navlogin").append(L) //navlogin
    $("#PR_loginDiv #fld1").val(PiarNik)
    $("#PR_loginDiv #fld2").val(PiarPas)
    function PiarIn () {$("#PR_loginDiv input[type='submit']").click();}
    }
    </script>
<!-- Пиар-вход - КОНЕЦ -->



<!--скрыли название допполя ---><script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld1")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>
<!--скрыли название допполя ---><script type="text/javascript">
var fld = document.getElementsByClassName("pa-fld3")
for(i=0;i<fld.length;i++){
fld[i].innerHTML=fld[i].innerHTML.substring(fld[i].innerHTML.indexOf(":")+1)
}
</script>

<script>hostname = document.location.hostname; $(".post a").each(function() {currenturl = $(this).attr("href"); if(currenturl.indexOf(hostname) != currenturl.lastIndexOf(hostname)) {$(this).attr("target", ""); $(this).attr("href", currenturl.replace("http://" + hostname + "/click.php?",""));}})</script>

<!-- скрыли подфорум -->
<script language="JavaScript">
str=document.URL
if(str.substring(str.lastIndexOf('/')+1)=="" || str.substring(str.lastIndexOf('/')+1)=="index.php")
   document.write("<style>#forum_f4, #forum_f12 {display:none}</style>")
</script>
<!-- .скрыли подфорум -->
<!--обтекание изображения 2.4.4-->
<script language="javascript">
$(function(){
$('td#button-link').before('<td id="floatbut" style=\'background-image:url("http://s002.radikal.ru/i198/1009/43/f183caeae434.gif")\'></td>');
$('#floatbut, .vibor').click(function(){
$('div#float').toggle();});
  });
elm=document.getElementsByTagName("div")
for(x in elm) if(elm[x].className=="post-content") 
{
post = elm[x].innerHTML;
if(post.indexOf("[/float]") != -1) {
floats = /\[float=(.*?)\]([^\[]*)\[\/float\]/gi
elm[x].innerHTML = elm[x].innerHTML.replace(floats, "<span style='float: $1; margin: 15px; text-align: $1;'>$2</span>")
}}
</script>
<div id="float" style="display:none;background:#FFFFCC;border:1px solid black; width:auto; padding:8px; position:absolute; margin-top:-32%; margin-left:35%; z-index:20">
<div><strong>Направление обтекания</strong></div><br>
<div align="center">
<img class="vibor" src="http://s001.radikal.ru/i193/1009/96/695abc799ddb.png" title="left" onclick="bbcode('[float=left]', '[/float]')" />
<img class="vibor" src="http://s002.radikal.ru/i199/1009/ac/95c10fcc7d82.png" title="right" onclick="bbcode('[float=right]', '[/float]')" />
</div></div>


<!-- Выделить код -->
<script type="text/javascript">
function select_text(elem) {
	if(window.getSelection) {   
var s=window.getSelection();   
if(s.setBaseAndExtent){   
	s.setBaseAndExtent(elem,0,elem,elem.innerText.length-1);   
}
else {   
	var r=document.createRange();   
	r.selectNodeContents(elem);   
	s.removeAllRanges();   
	s.addRange(r);
}   
	}
	else if(document.getSelection){   
var s=document.getSelection();   
var r=document.createRange();   
r.selectNodeContents(elem);   
s.removeAllRanges();   
s.addRange(r);   
	}
	else if(document.selection){   
var r=document.body.createTextRange();   
r.moveToElementText(elem);   
r.select();
	}   
}
</script>
<script type="text/javascript">
var div = document.getElementById('pun-main').getElementsByTagName('div');
for(x in div){
	if(div[x].className=='code-box'){
div[x].getElementsByTagName('strong')[0].innerHTML = '<a href="#" onclick="select_text(this.parentNode.parentNode.childNodes[1].getElementsByTagName(\'pre\')[0]); return false;">...а теперь наш код нежно войдет в ваш кэш~♥</a>';
	}
}
</script>


<!--дополнительные медиахостинги © Romych-->
<script type="text/javascript">
var media2 = ['kiwi.kz',
'rutv.ru',
'soundcloud.com',
'purevolume.com',
'livestream.com',
'pleer.com',
'video.jampo.tv',
'yapfiles.ru',
'realmusic.ru',
'1plus1.ua',
'jamendo.com',
'mail.ru',
'bandcamp.com',
'coub.com',
'sibnet.ru',
'ato.su',
'rocklab.ru'];

$('.media_link img').tipsy({live: true,gravity: 's',fade: true});
$('#video-area-hsel').addClass('media-t1');
$('#video-area').prepend('<div id="media-wrapper"><ul class="media-tabs tabs1"><li class="media-t1 tab-current"><a>Первый список</a></li><li class="media-t2"><a>Второй список</a></li></ul><br><div class="media-t2"></div></div><br>');
jQuery.each(media2, function(i) {
$('#video-area div.media-t2').append('<a class="media_link" href="javascript:void(0)" onclick="window.open(\'http://'+media2[i]+'\',\''+media2[i]+'\', \'width=640, height=480\');return false;"> <img style="padding: 5px;" alt="'+media2[i]+'" title="'+media2[i]+'" src="https://plus.google.com/_/favicon?domain='+media2[i]+'"> </a>');
});
$('#video-area div.media-t2').append('<br><br><div id="video-area-tcon2"><div id="video-area-thd2">Вставьте  iframe-код медиафайла (аудио, видео)</div><textarea id="video-area-tinp2" onclick="this.select();"></textarea><div id="video-area-msg2" style="margin: 0.5em 0;padding: 0.3em;"></div></div><div id="video-area-actions2"><a class="frame_host" href="javascript:void(0)" >Вставить</a>  <a onclick="changeVisibility(\'video-area\'); return false;"href="#">Закрыть</a></div>');

$('a.frame_host').click(function(e){
var self = $('#video-area-tinp2');
          setTimeout(function(e) {
          var paste = $(self).val();
          paste = paste.replace(/'/gi, '"');
if(paste.indexOf('param name="movie"') !=-1){
          frm = paste.split(/param name=\"movie\" value=\"(.*?)\"/i);
        }
if((paste.indexOf('<iframe') !=-1) || (paste.indexOf('<embed')!=-1)){
          frm = paste.split(/src=\"(.*?)\"/);
        }
if(paste.indexOf('data=') !=-1) {
          frm = paste.split(/data=\"(.*?)\"/);
        }
if(frm[1].slice(frm[1].indexOf('.swf')+4).length<=2){
var fls = paste.split(/param name=\"flashvars\" value=\"(.*?)\"/i);
frm[1]=frm[1]+'?&'+fls[1];

}
          var wd = paste.split(/width=\"(.*?)\"/);
          var hg = paste.split(/height=\"(.*?)\"/);

for (var i=0; i<media2.length; i++) {
if(frm[1].indexOf(media2[i]) !=-1) {

insert('[video2='+wd[1]+'|'+hg[1]+']'+frm[1]+'[/video2]\n');
changeVisibility('video-area');
$(self).val('');
} 
else {
$('#video-area-msg2').text('Неподдерживаемый хостинг.');
$(self).val('');
 }
};
          }, 0);
 });

$('ul.media-tabs.tabs1 li').click(function(){
var thisClass = this.className.slice(0,8);
$('div.media-t1, div.media-t2, div.media-t3').hide();
$('div.' + thisClass).fadeToggle('fast');
$('ul.media-tabs.tabs1 li').removeClass('tab-current');
$(this).addClass('tab-current');
  });  

var ls = document.querySelectorAll(".post-content p");
for (x in ls){
var pst = ls[x].innerHTML;
for (var i=0; i<media2.length; i++) {
if(pst.indexOf(media2[i])!= -1)  {
pst = pst.replace(/\[video2=(.*?)\|(.*?)\](.*?)\[\/video2\]/gi, '<br /><iframe width="$1" height="$2" src="$3" frameborder="0" allowfullscreen></iframe>');
   } 
}
ls[x].innerHTML = pst;
       }
</script>


<script type="text/javascript">
var nabor2 = [
'http://sa.uploads.ru/wWxDv.png',
'http://sa.uploads.ru/EIVyb.png',
'http://sa.uploads.ru/xHFSZ.png',
'http://sa.uploads.ru/RB7Y2.png',
'http://sa.uploads.ru/ou370.png',
'http://sa.uploads.ru/uDVzH.png',
'http://sa.uploads.ru/WYeMS.png',
'http://sa.uploads.ru/qiVDY.png',
'http://sa.uploads.ru/WeEKu.png',
'http://sa.uploads.ru/bhJTA.png',
'http://sa.uploads.ru/rbcse.png',
'http://sa.uploads.ru/fpWIn.png',
'http://sa.uploads.ru/YE92M.png',
'http://sa.uploads.ru/n1y8T.png',
'http://sa.uploads.ru/6qmYd.png',
'http://sa.uploads.ru/oH2F6.png',
'http://sa.uploads.ru/sLKGQ.png',
'http://sa.uploads.ru/7DzuS.png',
'http://sa.uploads.ru/zF1Mb.png',
'http://sa.uploads.ru/gW6PN.png',
'http://sa.uploads.ru/LkT5F.png',
'http://sa.uploads.ru/MUiuE.png',
'http://sa.uploads.ru/Nq9JP.png',
'http://sa.uploads.ru/DAwLd.png',
'http://sa.uploads.ru/AqU3I.png',
'http://sa.uploads.ru/r0jE1.png',
'http://sa.uploads.ru/hW2O3.png',
'http://sa.uploads.ru/6VdMN.png',
'http://sa.uploads.ru/eAQyh.png',
'http://sa.uploads.ru/riDx7.png',
'http://sa.uploads.ru/jzJfD.png',
'http://sa.uploads.ru/oZJD7.png',
'http://sa.uploads.ru/915hA.png',
'http://sa.uploads.ru/47l0S.png',
'http://sa.uploads.ru/QBOwa.png',
'http://sa.uploads.ru/Mc6jQ.png',
'http://sa.uploads.ru/2d9Hw.png',
'http://sa.uploads.ru/vyqs9.png',
'http://sa.uploads.ru/kxfKX.png',
'http://sa.uploads.ru/XB4Vz.png',
'http://sa.uploads.ru/Me7st.png',
'http://sa.uploads.ru/qxyfz.png',
'http://sa.uploads.ru/2LPm7.png',
'http://sa.uploads.ru/cs2r9.png',
'http://sa.uploads.ru/YHgFI.png',
'http://sa.uploads.ru/bOXqH.png',
'http://sa.uploads.ru/JCqBx.png',
'http://sa.uploads.ru/Nkx7f.png',
'http://sa.uploads.ru/b7op5.png',
'http://sa.uploads.ru/Sx8A3.png',
'http://sa.uploads.ru/OnWQK.png',
'http://sa.uploads.ru/C89hf.png',
'http://vk.com/images/stickers/2058/64.png',
'http://vk.com/images/stickers/2059/64.png',
'http://vk.com/images/stickers/2060/64.png',
'http://vk.com/images/stickers/2061/64.png',
'http://vk.com/images/stickers/2062/64.png',
'http://vk.com/images/stickers/2063/64.png',
'http://vk.com/images/stickers/2064/64.png',
'http://vk.com/images/stickers/2065/64.png',
'http://vk.com/images/stickers/2066/64.png',
'http://vk.com/images/stickers/2067/64.png',
'http://vk.com/images/stickers/2068/64.png',
'http://vk.com/images/stickers/2069/64.png'];

var nabor3 = [
'http://sa.uploads.ru/8SP5F.png',
'http://sa.uploads.ru/6U4gP.png',
'http://sa.uploads.ru/cWrBK.png',
'http://sa.uploads.ru/t8pO6.png',
'http://sa.uploads.ru/ufh9Q.png',
'http://sa.uploads.ru/UgzBY.png',
'http://sa.uploads.ru/0KV1r.png',
'http://sa.uploads.ru/cLFI4.png',
'http://sa.uploads.ru/xnVDg.png',
'http://sa.uploads.ru/H2Rku.png',
'http://sa.uploads.ru/1QHSJ.png',
'http://sa.uploads.ru/xU7I2.png',
'http://sa.uploads.ru/72LGW.png',
'http://sa.uploads.ru/8wUZW.png',
'http://sa.uploads.ru/xU7ms.png',
'http://sa.uploads.ru/mfZ2k.png',
'http://sa.uploads.ru/6tfg0.png',
'http://sa.uploads.ru/pte9i.png',
'http://sa.uploads.ru/Adr0h.png',
'http://sa.uploads.ru/RrIba.png',
'http://sa.uploads.ru/BiYkh.png',
'http://sa.uploads.ru/BvfUs.png',
'http://sa.uploads.ru/wTKY7.png',
'http://sa.uploads.ru/PFVOd.png',
'http://sa.uploads.ru/sgxmn.png',
'http://sa.uploads.ru/ct3Sh.png'];

var nabor4 = [
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-ahh.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-awak.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-bad.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-bite-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-com.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-cool.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-crazy.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-cry.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-drink.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-drool.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-eat.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-err.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-fall.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hehe.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hi.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hot.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-hug.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-huh.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-idle.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-kake.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-keke.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lick.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lines.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-lol.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-mad-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-man.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-mos.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-music.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-nod-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-nod.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-oo.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pet.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-poke.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pounce.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pray.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pu.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-pet2.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-QQ.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-scratch.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shock-ebby.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shock.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-shy.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-sleep.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-sneeze.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-stretch.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tail.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tea.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-tired.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-xp.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-xd.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-yawn.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-want.gif',
'http://smayly.ru/gallery/anime/DragonBrothers/jcdragon-spin.gif'];

var nabor5 = [
'http://s7.uploads.ru/1Kd6N.gif',
'http://s6.uploads.ru/AkJ86.gif',
'http://s6.uploads.ru/HeMo1.gif',
'http://s7.uploads.ru/krECJ.gif',
'http://s1.uploads.ru/i/iQBvK.gif',
'http://s1.uploads.ru/i/oMuna.gif',
'http://s1.uploads.ru/i/4Sl8g.gif',
'http://s1.uploads.ru/i/ydQPF.gif',
'http://s1.uploads.ru/i/u5rIq.gif',
'http://s1.uploads.ru/i/lcPbK.gif',
'http://s1.uploads.ru/i/dp4hE.gif',
'http://s1.uploads.ru/i/h8DOv.gif',
'http://s1.uploads.ru/i/SjRWL.gif',
'http://s1.uploads.ru/i/mxR3Q.gif',
'http://s1.uploads.ru/i/j03VS.gif',
'http://s1.uploads.ru/i/QzisO.gif',
'http://s1.uploads.ru/i/AshLm.gif',
'http://s1.uploads.ru/i/ncaQT.gif',
'http://s1.uploads.ru/i/m72NV.gif',
'http://s1.uploads.ru/i/CMPOi.gif',
'http://s1.uploads.ru/i/JUmub.gif',
'http://s1.uploads.ru/i/fCuHr.gif',
'http://savepic.net/3393154m.gif',
'http://savepic.net/3345969m.gif',
'http://savepic.net/3342897m.gif',
'http://savepic.net/3406462m.gif',
'http://savepic.net/3375742m.gif',
'http://savepic.net/3388030m.gif',
'http://savepic.net/3402366m.gif',
'http://savepic.net/3384958m.gif',
'http://savepic.net/3407486m.gif',
'http://savepic.net/3385982m.gif',
'http://savepic.net/3377790m.gif',
'http://savepic.net/3431961m.gif',
'http://savepic.net/3429913m.gif',
'http://savepic.net/3419673m.gif',
'http://savepic.net/3416601m.gif',
'http://savepic.net/3417625m.gif',
'http://savepic.net/3475643m.gif',
'http://s2.uploads.ru/t/9Ec3F.gif',
'http://s2.uploads.ru/t/hCxd1.gif',
'http://s2.uploads.ru/t/iQjeJ.gif',
'http://s3.uploads.ru/t/thYkG.gif',
'http://s3.uploads.ru/t/EnwQi.gif',
'http://s3.uploads.ru/t/gBj4D.gif',
'http://s3.uploads.ru/t/YvtFs.gif',
'http://s2.uploads.ru/t/9irMU.gif',
'http://s2.uploads.ru/t/FnYuO.gif',
'http://s2.uploads.ru/t/lU8A0.gif',
'http://s2.uploads.ru/t/MKNp0.gif',
'http://s3.uploads.ru/t/VpUou.gif',
'http://s3.uploads.ru/t/biD1U.gif',
'http://s2.uploads.ru/t/ai5hU.gif',
'http://s3.uploads.ru/t/doefY.gif',
'http://s2.uploads.ru/t/kd5Hh.gif',
'http://s2.uploads.ru/t/52Eew.gif',
'http://s2.uploads.ru/t/vHtmY.gif',
'http://s2.uploads.ru/t/EUew2.gif',
'http://s3.uploads.ru/t/6vKUR.gif',
'http://s3.uploads.ru/t/xwXIu.gif',
'http://s2.uploads.ru/t/GcOzI.gif',
'http://s2.uploads.ru/t/UQAM2.gif',
'http://s2.uploads.ru/t/ar26T.gif',
'http://s3.uploads.ru/t/42iSm.gif',
'http://s3.uploads.ru/t/8PcZ2.gif',
'http://s2.uploads.ru/t/v815M.gif',
'http://s3.uploads.ru/t/e14Vv.gif',
'http://s2.uploads.ru/t/EpchT.gif',
'http://s2.uploads.ru/t/JZNqX.gif',
'http://s3.uploads.ru/t/H6Mop.gif',
'http://s3.uploads.ru/t/rZCU8.gif',
'http://s2.uploads.ru/t/r3amA.gif',
'http://s3.uploads.ru/t/LzgiD.gif',
'http://s3.uploads.ru/t/Va6j4.gif',
'http://s2.uploads.ru/t/NL8dt.gif',
'http://s3.uploads.ru/t/iq2lP.gif',
'http://s3.uploads.ru/t/58GNp.gif',
'http://s2.uploads.ru/t/rhOqT.gif',
'http://s2.uploads.ru/t/TS5Nk.gif',
'http://s3.uploads.ru/t/l30V5.gif',
'http://s3.uploads.ru/t/oiBa4.gif',
'http://s2.uploads.ru/t/hAQVJ.gif',
'http://s2.uploads.ru/t/Sw4Cu.gif',
'http://s2.uploads.ru/t/Z3bz9.gif',
'http://s2.uploads.ru/t/ztfbU.gif',
'http://s3.uploads.ru/t/03UXG.gif',
'http://s3.uploads.ru/t/2efY3.gif',
'http://s2.uploads.ru/t/sHl18.gif',
'http://s2.uploads.ru/t/R2Xyh.gif',
'http://s2.uploads.ru/t/pnj6A.gif',
'http://s2.uploads.ru/t/pdvIT.gif',
'http://s2.uploads.ru/t/DWrHk.gif',
'http://s2.uploads.ru/t/pvumK.gif',
'http://s3.uploads.ru/t/vVj8p.gif',
'http://s2.uploads.ru/t/DEdSx.gif',
'http://s2.uploads.ru/t/uN5v8.gif',
'http://s3.uploads.ru/t/pxbOI.gif',
'http://s2.uploads.ru/t/HquKr.gif',
'http://s3.uploads.ru/t/h6ifD.gif',
'http://s3.uploads.ru/t/kyZeq.gif',
'http://s2.uploads.ru/t/XAPzO.gif',
'http://s3.uploads.ru/t/W8kpY.gif',
'http://s2.uploads.ru/t/8k129.gif',
'http://s2.uploads.ru/t/v6Drt.gif',
'http://s2.uploads.ru/t/c3b4r.gif',
'http://s3.uploads.ru/t/tXW97.gif',
'http://s3.uploads.ru/t/Anm4j.gif',
'http://s3.uploads.ru/t/8a4iV.gif',
'http://s2.uploads.ru/t/8AglP.gif',
'http://s2.uploads.ru/MRJCK.gif',
'http://s3.uploads.ru/PtzeO.gif',
'http://s2.uploads.ru/a580V.gif',
'http://s3.uploads.ru/DwreM.gif',
'http://s2.uploads.ru/oLB5V.gif',
'http://s2.uploads.ru/PUDZ4.gif',
'http://s2.uploads.ru/yZzFC.gif',
'http://s2.uploads.ru/rDhVy.gif',
'http://s3.uploads.ru/DLBJ4.gif',
'http://s3.uploads.ru/GRq0t.gif',
'http://s2.uploads.ru/E0e3z.gif',
'http://s2.uploads.ru/TtaMH.gif',
'http://s2.uploads.ru/gPpDV.gif',
'http://s2.uploads.ru/1usdw.gif',
'http://s3.uploads.ru/E7obV.gif',
'http://s3.uploads.ru/tPmFT.gif',
'http://s2.uploads.ru/DyQLB.gif',
'http://s3.uploads.ru/5tXlc.gif',
'http://s3.uploads.ru/uHdNz.gif',
'http://s2.uploads.ru/92orK.gif',
'http://s3.uploads.ru/0SpuP.gif',
'http://s3.uploads.ru/7vl46.gif',
'http://s2.uploads.ru/45Gau.gif',
'http://s3.uploads.ru/mpDMf.gif',
'http://s2.uploads.ru/e8miu.gif',
'http://s2.uploads.ru/OFpgG.gif',
'http://s3.uploads.ru/5W7cn.gif',
'http://s2.uploads.ru/IjYH5.gif',
'http://s2.uploads.ru/imWho.gif',
'http://s2.uploads.ru/700nX.gif',
'http://s2.uploads.ru/0ABJF.gif',
'http://s2.uploads.ru/8ecHY.gif',
'http://s2.uploads.ru/RwaF7.gif',
'http://s3.uploads.ru/W8H7O.gif',
'http://s2.uploads.ru/ksU5Z.gif',
'http://s3.uploads.ru/rRLNu.gif',
'http://s2.uploads.ru/3q6nS.gif',
'http://s3.uploads.ru/hTR4K.gif',
'http://s3.uploads.ru/l3B68.gif',
'http://s3.uploads.ru/xDake.gif',
'http://s2.uploads.ru/XRjoh.gif',
'http://s2.uploads.ru/y97L0.gif',
'http://s2.uploads.ru/nApk5.gif',
'http://s2.uploads.ru/B12NQ.gif',
'http://s2.uploads.ru/RZith.gif',
'http://s2.uploads.ru/q4LDa.gif',
'http://s3.uploads.ru/R8E0q.gif',
'http://s2.uploads.ru/uzgym.gif',
'http://s3.uploads.ru/8Q6pb.gif',
'http://s2.uploads.ru/uLmvJ.gif',
'http://s2.uploads.ru/aDfwo.gif',
'http://s2.uploads.ru/5txmh.gif',
'http://s2.uploads.ru/ygPxI.gif',
'http://s3.uploads.ru/MvTeH.gif',
'http://s3.uploads.ru/l2eIG.gif',
'http://s3.uploads.ru/4HAO7.gif',
'http://s2.uploads.ru/KG8iD.gif',
'http://s2.uploads.ru/WYv85.gif',
'http://s2.uploads.ru/Kwljp.gif',
'http://s3.uploads.ru/ZrA15.gif',
'http://s3.uploads.ru/nrKzx.gif',
'http://s2.uploads.ru/ghmOU.gif',
'http://s3.uploads.ru/sCMzO.gif',
'http://s3.uploads.ru/mX7Ey.gif',
'http://s3.uploads.ru/1bTmo.gif',
'http://s3.uploads.ru/tP6cn.gif',
'http://s2.uploads.ru/nu3QC.gif',
'http://s2.uploads.ru/hmU91.gif',
'http://s2.uploads.ru/CxDzy.gif',
'http://s3.uploads.ru/8z6Ew.gif',
'http://s3.uploads.ru/jTPxs.gif',
'http://s2.uploads.ru/zIGLd.gif',
'http://s2.uploads.ru/DiWAU.gif',
'http://uploads.ru/i/v/M/3/vM3YJ.gif',
'http://uploads.ru/i/d/Y/5/dY5x7.gif',
'http://uploads.ru/i/q/2/E/q2Ep8.gif',
'http://savepic.net/3112114m.gif',
'http://uploads.ru/i/F/7/D/F7DCO.gif',
'http://uploads.ru/i/T/Y/P/TYPZK.gif',
'http://uploads.ru/i/T/3/J/T3JcX.gif',
'http://uploads.ru/i/t/U/e/tUelP.gif',
'http://uploads.ru/i/D/A/Y/DAYdH.gif',
'http://uploads.ru/i/4/r/d/4rdbH.gif',
'http://savepic.net/2905078m.gif',
'http://savepic.net/2898934m.gif',
'http://uploads.ru/i/7/T/3/7T392.gif',
'http://savepic.net/3119282m.gif',
'http://savepic.net/2925323m.gif',
'http://savepic.net/3109042m.gif',
'http://uploads.ru/i/C/W/o/CWoMV.gif',
'http://uploads.ru/i/J/c/t/JctKZ.gif',
'http://uploads.ru/i/s/c/7/sc7mI.gif',
'http://uploads.ru/i/B/U/G/BUGc4.gif',
'http://uploads.ru/i/D/i/e/DieUV.gif',
'http://uploads.ru/i/7/P/F/7PFwX.gif',
'http://uploads.ru/i/q/O/5/qO5uA.gif',
'http://savepic.net/2926347m.gif',
'http://uploads.ru/i/w/y/V/wyVdD.gif',
'http://uploads.ru/i/U/g/C/UgC8R.gif',
'http://uploads.ru/i/y/T/f/yTfLp.gif',
'http://uploads.ru/i/G/v/g/Gvgyq.gif',
'http://uploads.ru/i/C/M/7/CM74U.gif',
'http://uploads.ru/i/M/S/E/MSEo5.gif',
'http://uploads.ru/i/i/d/B/idBfr.gif',
'http://uploads.ru/i/7/Y/r/7YrEv.gif',
'http://uploads.ru/i/t/2/I/t2IvT.gif',
'http://uploads.ru/i/a/R/O/aROhM.gif',
'http://uploads.ru/i/4/n/z/4nzIT.gif',
'http://savepic.net/3032618m.gif',
'http://savepic.net/2932727m.gif',
'http://savepic.net/2930679m.gif',
'http://savepic.net/3014585m.gif',
'http://savepic.net/2930678m.gif',
'http://s1.uploads.ru/i/FvWse.gif',
'http://s1.uploads.ru/i/vSpNO.gif',
'http://s1.uploads.ru/i/XdREf.gif',
'http://uploads.ru/i/B/1/F/B1FfJ.gif',
'http://s1.uploads.ru/i/E7LZG.gif',
'http://s1.uploads.ru/i/Npi0D.gif',
'http://s1.uploads.ru/i/6yOkz.gif',
'http://s1.uploads.ru/i/7U1ep.gif',
'http://s1.uploads.ru/i/xqCMg.gif',
'http://s1.uploads.ru/i/8IiPW.gif',
'http://s1.uploads.ru/i/i26vZ.gif',
'http://s1.uploads.ru/i/VXQyj.gif',
'http://s1.uploads.ru/i/RinIF.gif',
'http://s1.uploads.ru/i/wRrhG.gif',
'http://s1.uploads.ru/i/dLHAW.gif',
'http://s1.uploads.ru/i/4tbUB.gif',
'http://s1.uploads.ru/i/JxaRD.gif',
'http://s1.uploads.ru/i/lGP2F.gif',
'http://s1.uploads.ru/i/IGH7P.gif',
'http://s1.uploads.ru/i/Ylbdy.gif',
'http://s1.uploads.ru/i/lYO6d.gif',
'http://s1.uploads.ru/i/Pk6Uq.gif',
'http://s1.uploads.ru/i/ndwGQ.gif',
'http://s1.uploads.ru/i/YxUM0.gif',
'http://s1.uploads.ru/i/NLYCT.gif',
'http://s1.uploads.ru/i/XpLUi.gif',
'http://s1.uploads.ru/i/2N1Tm.gif',
'http://s1.uploads.ru/i/5rSPW.gif',
'http://s1.uploads.ru/i/2ZvS6.gif',
'http://s1.uploads.ru/i/IPsg8.gif',
'http://s1.uploads.ru/i/GQ64C.gif',
'http://s1.uploads.ru/i/Es9MT.gif',
'http://s1.uploads.ru/i/9k4UX.gif',
'http://s1.uploads.ru/t/EROvy.gif',
'http://s1.uploads.ru/i/RH1vJ.gif',
'http://s1.uploads.ru/i/Bbwi0.gif',
'http://s1.uploads.ru/i/N1Duw.gif',
'http://s1.uploads.ru/i/23h6A.gif',
'http://s1.uploads.ru/i/KjBdO.gif',
'http://s1.uploads.ru/i/wACxO.gif',
'http://s1.uploads.ru/i/S3sCO.gif',
'http://s1.uploads.ru/i/P8yUd.gif',
'http://s1.uploads.ru/i/kbxt7.gif',
'http://s1.uploads.ru/i/KqIGc.gif',
'http://s1.uploads.ru/i/lDkH7.gif',
'http://s1.uploads.ru/i/nTa5w.gif',
'http://s1.uploads.ru/i/KQdjm.gif',
'http://s1.uploads.ru/i/lsG40.gif',
'http://s1.uploads.ru/i/O603n.gif',
'http://s1.uploads.ru/i/euflR.gif',
'http://s1.uploads.ru/i/HhWd3.gif',
'http://s1.uploads.ru/i/3Wxqm.gif',
'http://s1.uploads.ru/i/iN1ug.gif',
'http://s1.uploads.ru/i/wvM7X.gif',
'http://s1.uploads.ru/i/sqVum.gif',
'http://s1.uploads.ru/i/Fm7Lq.gif',
'http://s1.uploads.ru/i/cFHXP.gif',
'http://s1.uploads.ru/i/d3C1I.gif',
'http://s1.uploads.ru/i/5jyXL.gif',
'http://s1.uploads.ru/i/dtNJy.gif',
'http://s1.uploads.ru/i/JqmXz.gif',
'http://s1.uploads.ru/i/2huin.gif',
'http://s1.uploads.ru/i/P5DCL.gif',
'http://s1.uploads.ru/i/2OHa4.gif',
'http://s1.uploads.ru/i/mwGRY.gif',
'http://s1.uploads.ru/i/8mpcn.gif',
'http://s1.uploads.ru/i/SXk1W.gif',
'http://s1.uploads.ru/i/jZPbD.gif',
'http://s1.uploads.ru/i/5vGaw.gif',
'http://s1.uploads.ru/i/2aWdY.gif',
'http://s1.uploads.ru/i/72UoF.gif',
'http://s1.uploads.ru/i/QOFBp.gif',
'http://s1.uploads.ru/i/fTksQ.gif',
'http://s1.uploads.ru/i/sIbAX.gif',
'http://s1.uploads.ru/i/adSYi.gif',
'http://s1.uploads.ru/i/Y1Ot6.gif',
'http://savepic.net/3230081m.gif',
'http://s1.uploads.ru/t/gfM4t.gif',
'http://s1.uploads.ru/t/fK0dP.gif',
'http://s1.uploads.ru/t/q3b8o.gif',
'http://s1.uploads.ru/t/ZqHEt.gif',
'http://s1.uploads.ru/t/7o3tk.gif',
'http://s1.uploads.ru/t/dgOYU.gif',
'http://s1.uploads.ru/t/xL0V5.gif',
'http://s1.uploads.ru/t/hjiZ0.gif',
'http://s1.uploads.ru/t/AE6bO.gif',
'http://s1.uploads.ru/t/HPJ1f.gif',
'http://s1.uploads.ru/i/MeER7.gif',
'http://s1.uploads.ru/t/1VPnB.gif',
'http://s1.uploads.ru/t/QDPLI.gif',
'http://s1.uploads.ru/t/wKqsN.gif',
'http://s1.uploads.ru/t/OuJlE.gif',
'http://s1.uploads.ru/t/KHzjD.gif',
'http://s1.uploads.ru/t/E5otV.gif',
'http://s1.uploads.ru/i/bSYLV.gif',
'http://s1.uploads.ru/t/cRfbU.gif',
'http://s1.uploads.ru/t/5licq.gif',
'http://s1.uploads.ru/t/AXYur.gif',
'http://s1.uploads.ru/i/LdlAs.gif',
'http://s1.uploads.ru/i/5qAiS.gif',
'http://s1.uploads.ru/i/guEk9.gif',
'http://s1.uploads.ru/i/eFHIn.gif',
'http://s1.uploads.ru/i/RETSa.gif',
'http://s1.uploads.ru/i/dPKAG.gif',
'http://savepic.net/3243382m.gif',
'http://savepic.net/3223926m.gif',
'http://s1.uploads.ru/t/2BDuE.gif',
'http://s1.uploads.ru/t/VkKm2.gif',
'http://s1.uploads.ru/t/15dmI.gif',
'http://s1.uploads.ru/t/nKQoD.gif',
'http://s3.uploads.ru/1Leby.gif',
'http://s3.uploads.ru/7EGse.gif',
'http://s3.uploads.ru/rGRvd.gif',
'http://s3.uploads.ru/Rz9o5.gif',
'http://s2.uploads.ru/Vsx3q.gif',
'http://s2.uploads.ru/8Ml3p.gif',
'http://s3.uploads.ru/tLcUZ.gif',
'http://s3.uploads.ru/VJ5iF.gif',
'http://s2.uploads.ru/C4mTc.gif',
'http://s2.uploads.ru/nwRQC.gif'];

var nabor6 = [
'http://smayly.ru/gallery/anime/Assassins/showimg.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_002.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_003.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_004.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_005.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_007.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_008.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_009.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_010.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_011.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_012.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_013.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_014.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_015.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_016.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_018.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_019.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_020.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_021.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_022.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_023.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_024.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_025.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_026.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_027.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_028.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_029.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_030.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_031.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_032.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_033.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_034.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_035.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_036.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_037.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_038.gif',
'http://smayly.ru/gallery/anime/Assassins/showimg_039.gif'];

$(document).ready(function() {
$('#smilies-block').addClass('t1');
$('#smilies-area').prepend('<div id="wrapper"><ul class="tabs tabs1" onclick="return changeVisibility (\'smilies-area\', false)"><li class="t1 tab-current"><b>Smile#1 |</b></li><li class="t2"><b>Smile#2 |</b></li><li class="t3"><b>Smile#3 |</b></li><li class="t4 tab-current"><b>Smile#4 |</b></li><li class="t5 tab-current"><b>Smile#5 |</b></li><li class="t6 tab-current"><b>Smile#6 |</b></li><br></ul><div class="t1"></div><div class="t2"></div><div class="t3"></div><div class="t4"></div><div class="t5"></div><div class="t6"></div></div>');
$.each(nabor2, function(i) {
$('div.t2').append('<img src="'+nabor2[i]+'" onclick=smile(\'[img]'+nabor2[i]+'[/img]\') />');
});
$.each(nabor3, function(i) {
$('div.t3').append('<img src="'+nabor3[i]+'" onclick=smile(\'[img]'+nabor3[i]+'[/img]\') />');
});
$.each(nabor4, function(i) {
$('div.t4').append('<img src="'+nabor4[i]+'" onclick=smile(\'[img]'+nabor4[i]+'[/img]\') />');
});
$.each(nabor5, function(i) {
$('div.t5').append('<img src="'+nabor5[i]+'" onclick=smile(\'[img]'+nabor5[i]+'[/img]\') />');
});
$.each(nabor6, function(i) {
$('div.t6').append('<img src="'+nabor6[i]+'" onclick=smile(\'[img]'+nabor6[i]+'[/img]\') />');
});
$('ul.tabs.tabs1 li').click(function(){
var thisClass = this.className.slice(0,2);
$('div.t1, div.t2, div.t3, div.t4, div.t5, div.t6').hide();
$('div.' + thisClass).fadeToggle('slow');
$('ul.tabs.tabs1 li').removeClass('tab-current');
$(this).addClass('tab-current');
}); });
</script>

<script type="text/javascript">
if ((document.URL.indexOf("viewtopic.php") != -1) || (document.URL.indexOf("post.php") != -1) || (document.URL.indexOf("edit.php") != -1)) {
var repl = document.getElementById("main-reply");
var submit = document.getElementsByTagName("p")
for (var i=0; i<submit.length; i++){
if (submit[i].className == "formsubmit")
submit[i].innerHTML = "<span id=\"plng\" style=\"border: 0px solid; padding: 20px 3px;\">Написано символов: <b>0</b></span>" + submit[i].innerHTML;
}
repl.onkeyup = repl.onkeydown = repl.onfocus = repl.onblur = function(){
document.getElementById("plng").innerHTML ="Счетчик символов: <b>" + (repl.value.length) + "</b>";
}}
</script>
<p align="center" >© Ролевая форумная игра ''New Cumvill''. 2014-2016. Все права защищены || При использовании любых материалов ссылка на форум строго обязательна.</p>
<p align="center" ><!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='//www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t50.6;r"+
escape(document.referrer)+((typeof(screen)=="undefined")?"":
";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
";"+Math.random()+
"' alt='' title='LiveInternet' "+
"border='0' width='31' height='31'><\/a>")
//--></script><!--/LiveInternet--></p>


<!--Название допполя --->
<script type="text/javascript">
$(".pa-fld5").each(function(){
 $(this).css({"margin-top":"6px"}); this.innerHTML = $(this).html().replace(/^([^:]*:)/,'<b>$1</b>');
 $(this).find('img[alt]').each(function(){this.setAttribute('title', this.getAttribute('title').replace(/^[^\|]*\|/,''));});
});
</script>


<!-- Награды v3.1 by kozhilya -->
<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; } 
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('Награды пользователя <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld6').each(function() { 
Result = '<table>'; 
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Награды') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Награда: <strong>'+name+'</strong><br>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Награды</span>'); }});
</script>

<script>
function GetOuterHTML(el)
{ var Result = '<' + el.localName; for (var i=0; i<el.attributes.length; i++) Result += ' ' + el.attributes[i].nodeName + '="' + el.attributes[i].nodeValue + '"'; Result += '>' + el.innerHTML + '</' + el.localName + '>'; return Result; } 
function OpenAwards(t) { $('div.AwardAllWindow').fadeIn(1000); $('div.AwardWindow div#AwardContent').html($(t).parent().parent().find('div').html()); $('div.AwardWindow h3').html('Особенности <span>'+ $(t).parent().parent().parent().parent().find('li.pa-author a').text()+'</span>'); }
$('div.AwardWindow #closeBtn').click(function() { $('div.AwardAllWindow').fadeOut(1000); });
$('.post li.pa-fld6').each(function() { 
Result = '<table>'; 
$(this).find('img').each(function() { var alt = $(this).attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); Result += '<tr><td id="title"><strong>'+name+'</strong></td><td id="img">'+GetOuterHTML(this)+'</td><td id="desc">'+desc+'</td></tr>'; }); Result += '</table>'; $(this).html('<span></span><div style="display: none">'+Result+'</div>'); });
$('#pun-profile fieldset').each(function() { if ($(this).find('legend span').text() == 'Особенности') { var h = '<table style="display: inline;">'; $(this).find('p.checkfield').each(function() { var alt = $(this).find('img').attr('alt'); var name = alt.substring(0, alt.indexOf('|')); var desc = alt.substring(alt.indexOf('|')+1); h += '<tr><td><p class="checkfield">' + $(this).html() + '</p></td><td>Описание: <strong>'+desc+'</strong></td></tr>' }); $(this).find('div.fs-box').html(h); $(this).find('div.fs-box').css({'display':'none'}); $(this).find('legend').after('<span onclick="$(this).parent().find(\'div.fs-box\').toggle(1000);">Фракции</span>'); }});
</script>
<script type="text/javascript">
var DefAvtr="http://fkme.nc-21.ru/img/avatars/0014/4a/23/2-1435327412.jpg"; //
var GuestAvtr="http://fkme.nc-21.ru/img/avatars/0014/4a/23/2-1435327412.jpg";//
$("li.pa-title").each(function(){
var b = DefAvtr;if($(this).text()=='Гость')b = GuestAvtr;
var s='<li class="pa-avatar item2"><img class="defavtr" src="'+b+'" alt="Аватар"/></li>';
if (($(this).parent("ul").find("li.pa-avatar").html())==null){$(this).after(s);};});
</script>
<!-- Разделение ников пользователей в теме запятой -->
<script>$('#topic-users-in a').prev('a').after(',');</script>

0

20

mikka
Может картинки фоном стоят в стиле ? ИБо в этом тексте этих картинок нет

0


Вы здесь » Единый форум поддержки » Вопросы по оформлению форума » Не срабатывает скрипт смены имиджа и скрытия инфы