<script type="text/javascript">
function awardsOpen(str)
{
var awardsn = new Array();
awardsn["moder"] = new Array("Модератору", "http://s48.radikal.ru/i122/1010/53/026418cae3a6.gif", "За модераторскую работу")
awardsn["helper"] = new Array("Помощник месяца", "http://s15.radikal.ru/i188/1010/91/dca211415516.png", "Неоценимая помощь форуму")
awardsn["money"] = new Array("Банкир форума", "http://ipicture.ru/uploads/101107/sy5TKl17Rk.gif", "За материальную помощь форуму")
awardsn["post"] = new Array("Автору", "http://i060.radikal.ru/1010/87/373eaaa911bb.gif", "За замечательный пост")
awardsn["admin"] = new Array("Админу", "http://i028.radikal.ru/1010/8e/7ec59e9fc447.gif", "За админскую работу")
awardsn["1mesto"] = new Array("1 место", "http://i003.radikal.ru/1010/a4/1efe365e3949.gif", "За 1 место в конкурсе")
awardsn["avtor"] = new Array("Признанный автор", "http://i003.radikal.ru/1010/a4/1efe365e3949.gif", "За интересные статьи и яркое творчество")
awardsn["2mesto"] = new Array("2 место", "http://s57.radikal.ru/i156/1010/92/e455ce612963.gif", "За 2 место в конкурсе")
awardsn["3mesto"] = new Array("3 место", "http://i004.radikal.ru/1010/25/556d0bc313e5.gif", "За 3 место в конкурсе")
awardsn["ideya"] = new Array("Идея", "http://s44.radikal.ru/i105/1010/a6/eeecb8ab2149.png", "За отличные идей")
awardsn["activ"] = new Array("Актив", "http://s46.radikal.ru/i112/1010/97/c7d320a6cda3.gif", "За активное участие в жизни форума")
str = str.split(",")
if(str[str.length-1].substring(str[str.length-1].length-1, str[str.length-1].length)==" "){str[str.length-1]=str[str.length-1].substring(0, str[str.length-1].length-1)}
var msg = new String("");
msg = "<head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\" /><link rel=\"stylesheet\" type=\"text/css\" href=\"http://forum.mybb.ru/style/"+BoardStyle+"/"+BoardStyle+".css\" /><title>Награды пользователя</title>"
msg+= "<style type=\"text/css\">html, body, #pun, #pun-main {background-image: none; margin: 2px 2px; width: 100%;}</style><body>"
msg+="<div id=\"pun\" class=\"punbb\"><div id=\"pun-main\" class=\"main\">"
msg+="<table class=\"container\"><tr><th width=\"25%\">Название</th><th width=\"25%\">Иконка</th><th>За что</th></tr>";
for(i=0;i<str.length;i++){
msg+="<tr><td align=\"center\"><span>"+awardsn[str[i]][0]+"</span></td><td align=\"center\"><img width=\"30%\" src=\""+awardsn[str[i]][1]+"\" /></td><td align=\"center\"><span>"+awardsn[str[i]][2]+"</span></td></tr>";
}
msg+="</table>";
msg+="</div></div></body></html>";
popup = window.open("", "", "height=200, width=400, top=300, left=300, scrollbars=1")
popup.document.write(msg)
popup.document.close()
return false
}
var li = document.getElementsByTagName("li");
for(z=0;z<li.length;z++){
if(li[z].className=="pa-fld1"){
nag = li[z].innerHTML.substring(li[z].innerHTML.indexOf(": ")+2)
nag1 = nag.split(",");
nag1 = nag1.length;
li[z].innerHTML = "Награды: <a href=\"javascript: //\" onclick=\"awardsOpen('"+nag+"');\" title=\"Показать награды пользователя\">"+nag1+"</a>"
}
}
</script>
<script type="text/javascript">
if (document.URL.indexOf("viewforum")!=-1)
{var trs=document.getElementById('pun-main').getElementsByTagName("table")[0].rows
var io=1
for (io=1; io<=(trs.length-1); io++)
{if ((trs[io].className.indexOf("isticky")!=-1)&&(io==1))
{var portant=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(1)
var im=portant.insertCell(0)
im.innerHTML="<b>Важные темы</b>"
im.style.color="#d2bb99"
im.style.backgroundColor="#42271c"
im.colSpan="4"}
else if ((trs[io].className.indexOf("isticky")!=-1)&&(trs[io+1].className.indexOf('isticky')==-1))
{var normal=document.getElementById('pun-main').getElementsByTagName("table")[0].insertRow(io+1)
var normal1=normal.insertCell(0)
normal1.innerHTML="<b>Темы форума</b>"
normal1.style.color="#d2bb99"
normal1.style.backgroundColor="#42271c"
normal1.colSpan="4"
}}}
</script>
<script type="text/javascript">
if(GroupID==1 || GroupID==2){
var dib = document.getElementsByTagName("li")
var ids = new Array();
var p = 0;
var typeDesc;
for(q=0;q<dib.length-1;q++)
{
if(dib[q].className.indexOf("pl-email")!=-1)
{
if(dib[q].innerHTML.indexOf("profile.php?id=")!=-1)
{
ids.push(dib[q].innerHTML.substring(dib[q].innerHTML.indexOf("?id=")+4, dib[q].innerHTML.indexOf("\">П")))
}
}
}
for(i=0;i<dib.length-1;i++)
{
if(dib[i].className=="pa-fld3")
{
dib[i].innerHTML+="%(<a target='AddVote' href='profile.php?section=fields&id="+ids[p]+"&type=plu#addVote' onclick='response(\"plu\")'>+10</a>/<a target='AddVote' href='profile.php?section=fields&id="+ids[p]+"&type=minus#addVote' onclick='response(\"minus\")'>-10</a>)"
p++
}
}
function response(type){
if(type=='plu')typeDesc="повышен"
else if(type=="minus")typeDesc="понижен"
alert('Уровень предупреждения '+typeDesc+' на 10%')
}
if(document.URL.indexOf("#addVote")!=-1)
{
var type=document.URL.substring(document.URL.indexOf("&type=")+6, document.URL.length-8)
var d = document.getElementsByName("form[fld3]")[0]
if(type=='plu')d.value = parseInt(d.value)+10
else if(type=="minus")d.value = parseInt(d.value)-10
document.getElementsByName("update")[0].click()
}
}
</script>
<script type="text/javascript">
if (document.getElementById('pun-status').innerHTML.indexOf("Гость")!=-1){
if (document.URL.indexOf("profile.php")!=-1){
document.getElementById('pun-status').innerHTML="<div id=pun-status class=section><p class=container><span class=item1>Не подглядывать! Сначала регистрация )))</span></p></div>"
document.getElementById('pun-main').style.display="none"
}}
</script>
<!-- Облако тегов -->
<script type="text/javascript" src="http://0pk.ru/f/ru/0pk/swfobject.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.mode = 'tags';
flashvars.minFontSize = '9';
flashvars.maxFontSize = '20';
flashvars.tcolor = '0xb22222';
flashvars.tcolor2 = '0xb22222';
flashvars.hicolor = '0x9400d3';
flashvars.distr = 'true';
flashvars.tspeed = '100';
eTagz = document.getElementById('yoblako').getElementsByTagName('A');
flashvars.tagcloud = '<tags>';
for (var i=0; eTagz[i]; ++i) flashvars.tagcloud += '<a href=\'' + eTagz[i].getAttribute('href')
+ '\' style=\'' + parseInt(eTagz[i].style.fontSize)
+ '\'>' + eTagz[i].innerHTML.replace(/&/i, '%26') + '</a>';
delete eTagz;
flashvars.tagcloud += '</tags>';
var params = {};
params.wmode = 'transparent';
params.bgcolor = '#FFFFFF';
params.allowscriptaccess = 'always';
var attributes = {};
attributes.id = 'yoblako';
attributes.name = 'tagcloud';
swfobject.embedSWF('http://neotech.3dn.ru/Tegs/tagcloud.swf', 'yoblako', '400', '200', '9.0.0', false, flashvars, params, attributes);
</script>
<!-- Конец облака тегов -->
<!--LiveInternet counter--><script type="text/javascript"><!--
document.write("<a href='http://www.liveinternet.ru/click' "+
"target=_blank><img src='//counter.yadro.ru/hit?t53.18;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: показано число просмотров и"+
" посетителей за 24 часа' "+
"border='0' width='88' height='31'><\/a>")
//--></script><!--/LiveInternet-->
<!-- begin of Top100 code -->
<script type="text/javascript" src="http://counter.rambler.ru/top100.jcn?2322058"></script>
<noscript> &amp;amp;lt;a href="http://top100.rambler.ru/navi/2322058/" mce_href="http://top100.rambler.ru/navi/2322058/"&amp;amp;gt; &amp;amp;lt;img src="http://counter.rambler.ru/top100.cnt?2322058" mce_src="http://counter.rambler.ru/top100.cnt?2322058" alt="Rambler's Top100" border="0" /&amp;amp;gt; &amp;amp;lt;/a&amp;amp;gt; </noscript><noscript>&lt;br /&gt;</noscript><noscript></noscript> <!-- end of Top100 code -->
<!-- ws.md v.7.13 -->
<script type="text/javascript" language="javascript"><!--
js="1.0";d=document;j="N";
if (self!=top){fr=1;r=escape(parent.document.referrer);}else{fr=0;r=escape(d.referrer);}
d.cookie="b=b"; c=0; if (d.cookie) { c=1; }
n=(navigator.appName.substring(0,2)=="Mi")?0:1;
z="&c="+c+"&fr="+fr+"&w="+window.innerWidth+"x"+window.innerHeight;
// --></script>
<script type="text/javascript" language="javascript1.1"><!--
js="1.1";j=navigator.javaEnabled()?"1":"0";z+="&j="+j;
// --></script>
<script type="text/javascript" language="javascript1.2"><!--
js="1.2";px=(n==0)?screen.colorDepth:screen.pixelDepth;z+="&s="+screen.width+'x'+screen.height+"&d="+px;
// --></script>
<script type="text/javascript" language="javascript1.3"><!--
js="1.3";
// --></script>
<script type="text/javascript" language="javascript"><!--
z+="&js="+js+"&i=1316&l="+escape(window.location.href)+"&r="+r;
link='<a href="http://ws.md/in/1316/" mce_href="http://ws.md/in/1316/" target=_blank><img src="http://b88x31c.ws.md/c.png?i=1316&p=1'+z+'" mce_src="http://b88x31c.ws.md/c.png?i=1316&p=1'+z+'" alt="Catalog-Moldova - Ranker, Statistics" border=0 width=88 height=31></a>';
d.write(link);
// --></script>
<!-- ws.md -->
<a href="http://www.kinder.ru" target="_blank"><img src="http://kinder.ru/buttons/kb2.asp?id=0&bg=2" border="0" alt="Каталог детских ресурсов KINDER.RU" width="88" height="31" /></a>
<a title="Каталог фэнтези сайтов Палантир" href='http://palantir.in/?from=11354' target='_blank'>
<script type="text/javascript">
Md=document;Mnv=navigator;
Mrn=Math.random();Mn=(Mnv.appName.substring(0,2)=="Mi")?0:1;Mp=0;Mz="p="+Mp+"&";
Ms=screen;Mz+="wh="+Ms.width+'x'+Ms.height;My="<img src='http://palantir.in/count.php?id=11354&cid=counter2007_20.png";My+="&cntc=none&rand="+Mrn+"&"+Mz+"&referer="+escape(Md.referrer)+'&pg='+escape(window.location.href);My+="' alt='Palantir' title='Каталог фэнтези сайтов Палантир' border='0' width='88px' height='31px'>";Md.write(My);</script>
<noscript><img src="http://palantir.in/count.php?id=11354&cid=counter2007_20.png" alt='Palantir' title="Каталог фэнтези сайтов Палантир" border=0 width="88px" height="31px"></noscript>
</a>
<style type="text/css">
#pun-navlinks * {
text-shadow: 5px 3px 8px #ABCDEF;
}
</style>
<script type="text/javascript">
<!--
// Copyright 2009 SiteNull.ru
var forsm = document.getElementById("main-reply");
var smilies = new Array(
'http://www.kolobok.us/smiles/standart/mosking.gif',
'http://www.kolobok.us/smiles/standart/grin.gif',
'http://www.kolobok.us/smiles/standart/smoke.gif',
'http://www.kolobok.us/smiles/standart/boast.gif',
'http://www.kolobok.us/smiles/standart/dirol.gif',
'http://www.kolobok.us/smiles/standart/pleasantry.gif',
'http://www.kolobok.us/smiles/standart/snooks.gif',
'http://www.kolobok.us/smiles/standart/no2.gif',
'http://www.kolobok.us/smiles/standart/secret.gif',
'http://www.kolobok.us/smiles/standart/aggressive.gif',
'http://www.kolobok.us/smiles/standart/not_i.gif',
'http://www.kolobok.us/smiles/standart/blush.gif',
'http://www.kolobok.us/smiles/standart/acute.gif',
'http://www.kolobok.us/smiles/standart/fool.gif',
'http://www.kolobok.us/smiles/standart/i-m_so_happy.gif',
'http://www.kolobok.us/smiles/standart/bad.gif',
'http://www.kolobok.us/smiles/standart/cray.gif',
'http://www.kolobok.us/smiles/standart/wink3.gif',
'http://www.kolobok.us/smiles/standart/sorry.gif',
'http://www.kolobok.us/smiles/standart/good.gif',
'http://www.kolobok.us/smiles/standart/pardon.gif',
'http://www.kolobok.us/smiles/standart/swoon2.gif',
'http://www.kolobok.us/smiles/standart/sad.gif',
'http://www.kolobok.us/smiles/standart/don-t_mention.gif',
'http://www.kolobok.us/smiles/standart/victory.gif',
'http://www.kolobok.us/smiles/standart/scare2.gif',
'http://www.kolobok.us/smiles/standart/yahoo.gif',
'http://www.kolobok.us/smiles/standart/nea.gif',
'http://www.kolobok.us/smiles/standart/rofl.gif',
'http://www.kolobok.us/smiles/standart/derisive.gif',
'http://www.kolobok.us/smiles/standart/lazy.gif',
'http://www.kolobok.us/smiles/standart/don-t_mention.gif',
'http://www.kolobok.us/smiles/standart/victory.gif',
'http://www.kolobok.us/smiles/standart/scare2.gif',
'http://www.kolobok.us/smiles/standart/yahoo.gif',
'http://www.kolobok.us/smiles/standart/nea.gif',
'http://www.kolobok.us/smiles/standart/rofl.gif',
'http://www.kolobok.us/smiles/standart/derisive.gif',
'http://www.kolobok.us/smiles/standart/lazy.gif',
'http://www.kolobok.us/smiles/standart/thank_you.gif',
'http://www.kolobok.us/smiles/standart/yes.gif',
'http://www.kolobok.us/smiles/standart/yes3.gif',
'http://www.kolobok.us/smiles/standart/drinks.gif',
'http://www.kolobok.us/smiles/standart/clapping.gif',
'http://www.kolobok.us/smiles/standart/blush2.gif',
'http://www.kolobok.us/smiles/standart/yes2.gif',
'http://www.kolobok.us/smiles/rpg/king.gif',
'http://www.kolobok.us/smiles/rpg/butcher.gif',
'http://www.kolobok.us/smiles/rpg/queen.gif',
'http://www.kolobok.us/smiles/rpg/king2.gif',
'http://www.kolobok.us/smiles/madhouse/suicide_fool-edit.gif',
'http://www.kolobok.us/smiles/madhouse/man_in_love.gif',
'http://www.kolobok.us/smiles/madhouse/girl_crazy.gif',
'http://www.kolobok.us/smiles/madhouse/girl_wacko.gif',
'http://www.kolobok.us/smiles/madhouse/dash2.gif',
'http://www.kolobok.us/smiles/madhouse/wacko2.gif',
'http://www.kolobok.us/smiles/madhouse/girl_hospital.gif',
'http://www.kolobok.us/smiles/madhouse/mail1.gif',
'http://www.kolobok.us/smiles/he_and_she/curtsey.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_blum2.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_witch.gif',
'http://www.kolobok.us/smiles/he_and_she/give_heart.gif',
'http://www.kolobok.us/smiles/he_and_she/hysteric.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_hide.gif',
'http://www.kolobok.us/smiles/he_and_she/parting.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_dance.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_cray.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_sigh.gif',
'http://www.kolobok.us/smiles/he_and_she/feminist.gif',
'http://www.kolobok.us/smiles/he_and_she/give_rose.gif',
'http://www.kolobok.us/smiles/he_and_she/first_move.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_in_love.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_haha.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_cray2.gif',
'http://www.kolobok.us/smiles/he_and_she/girl_impossible.gif',
'http://www.kolobok.us/smiles/he_and_she/spruce_up.gif',
'http://www.kolobok.us/smiles/light_skin/give_heart2.gif',
'http://www.kolobok.us/smiles/other/spam.gif',
'http://www.kolobok.us/smiles/big_madhouse/wacko3.gif',
'http://www.kolobok.us/smiles/artists/vishenka/l_hug.gif',
'http://www.kolobok.us/smiles/artists/vishenka/l_daisy.gif',
'http://www.kolobok.us/smiles/user/KidRock_01.gif',
'http://www.kolobok.us/smiles/user/KidRock_05.gif',
'http://www.kolobok.us/smiles/user/KidRock_04.gif',
'http://www.kolobok.us/smiles/user/moinmoin_01.gif',
'http://www.kolobok.us/smiles/user/KidRock_02.gif',
'http://www.kolobok.us/smiles/user/KidRock_07.gif',
'http://www.kolobok.us/smiles/user/Rulezzz_07.gif',
'http://www.kolobok.us/smiles/user/KidRock_06.gif',
'http://i.smiles2k.net/nations_smiles/3dflagsdotcom_russi_2faws.gif',
'http://www.kolobok.us/smiles/user/FinouCat_02.gif',
'http://www.kolobok.us/smiles/user/unknown_singer.gif',
'http://www.kolobok.us/smiles/user/FinouCat_03.gif',
'http://i019.radikal.ru/0802/f3/d401bcb531b6.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_thinking.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_goody.gif',
'http://www.kolobok.us/smiles/artists/just_cuz/JC_ThankYou.gif',
'http://www.kolobok.us/smiles/artists/laie/Laie_59.gif',
'http://www.kolobok.us/smiles/artists/laie/Laie_91B.gif',
'http://www.kolobok.us/smiles/artists/connie/connie_24.gif',
'http://s3.rimg.info/beaa699fcde2e3c4ca5c8f9b18456a5a.gif',
'http://s.rimg.info/f325950a4c405129073ea4913b1e50dc.gif',
'http://s.rimg.info/7db8d4a173121954ab1800219b0f4164.gif',
'http://s6.rimg.info/61f3eb871c0466af154c188f2142d161.gif',
'http://smailiki.nm.ru/text/mit10.gif',
'http://i.smiles2k.net/padre_smiles/samtakoj.gif',
'http://i.smiles2k.net/plakat_smiles/dura.gif',
'http://i.smiles2k.net/plakat_smiles/ubey_sebia.gif',
'http://i.smiles2k.net/plakat_smiles/ahuet.gif',
'http://i.smiles2k.net/plakat_smiles/admintutja.gif',
'http://i.smiles2k.net/admin_moder_smiles/img.gif',
'http://i.smiles2k.net/hello_byby_smiles/1_012.gif',
'http://s8.rimg.info/31de369cff30c8d259395fbd50f4e52f.gif',
'http://s8.rimg.info/c3ca2590ebd73942f5dad2754de1a374.gif',
'http://funportal.info/smiles/smile66.gif',
'http://s7.rimg.info/00d3b01c3604095f552bf20667af2e58.gif',
'http://s5.rimg.info/a871d0a789e1de16896c111b159d5d5d.gif',
'http://funportal.info/smiles/smile146.gif',
'http://s8.rimg.info/42e1a8deb81188c73bd6e2a4e74d32eb.gif',
'http://s9.rimg.info/a24fe349ad000250c34d1c3bff09b9a6.gif',
'http://s8.rimg.info/d2d9c61661288a3606417bb24dcc265b.gif',
'http://s9.rimg.info/ca92124f75f67cd09ab3ed9d4df29dfe.gif',
'http://s9.rimg.info/45d296af09b36683bdb03b306506e82e.gif',
'http://s.rimg.info/f904c4b040270ea61019c644838fb9cc.gif',
'http://s.rimg.info/76609ad7ca2d11817fa97bc5231b0965.gif',
'http://fun.nashcat.ru/smiles/msmile/action/m1601.gif',
'http://fun.nashcat.ru/smiles/tsmile/eat/m0598.gif',
'http://fun.nashcat.ru/smiles/csmile/goodbye/c0209.gif',
'http://fun.nashcat.ru/smiles/tsmile/say/t1409.gif',
'http://fun.nashcat.ru/smiles/tsmile/say/t1411.gif',
'http://fun.nashcat.ru/smiles/tsmile/say/t1426.gif',
'http://fun.nashcat.ru/smiles/msmile/card/m1540.gif'
)
forsm.style.height='210px';
smcontainer = forsm.parentNode;
smcnt = smcontainer.innerHTML;
smcontainer.innerHTML = "<table><tr><td valign='top'>"+smcnt+"</td><td valign='top' width='170'><div id='smcontain' align='center' style='width: 170px; height: 210px; border: 1px solid #999999; float: right; overflow: auto;'> </div></td></tr></table>";
for(i=0;i<smilies.length;i++){
document.getElementById("smcontain").innerHTML +="<img src='"+smilies[i]+"' alt='Smilies' title='Smilies' onclick='ins(this);' style='cursor: pointer;'> "
};
function ins(img){
smile('[img]'+img.src+'[/img]');
}
//-->
</script>