Добрый день. При вставке кода виджета одноклассников в код правой панели виджет одноклассников двойной. Как исправить положение? Помогите пожайлуста. Заранее спасибо за ответ. Вот этот код вместе с виджетом одноклассников и кодом правой панели:
<div id="Inf_block_Right" style="display:none">
<!--НАЧАЛО-->
<h3></h3>
<script language="JavaScript" type="text/javascript">(function(){var p='';var mbb={div_id:'myragon_rotator_59f2_'+Math.random(),
rotate: '59f211ed5123f3aa089dcd60b0a0e39e',
sa: '',
tag: ''
};
for (var i in mbb) p+=i+'='+mbb[i]+decodeURIComponent('%26');var src='http://a07.myragon.ru/banners.php?'+p;
var mb=document.createElement('script');mb.type='text/javascript';mb.async=true;
mb.src=src;var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(mb,s);
document.write('<'+'div id="'+mbb['div_id']+'"></'+'div>');
})();</script>
<h3></h3>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="160" height="300"><param name="movie" value="http://www.autopapyrus.ru/images/banners/2_160-300.swf?ClickTag=http://www.autopapyrus.ru/?partner=391">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<embed src="http://www.autopapyrus.ru/images/banners/2_160-300.swf?ClickTag=http://www.autopapyrus.ru/?partner=391" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="300" wmode="opaque"></object></a>
<h3></h3>
<script type="text/javascript" charset="windows-1251" src="http://my-shop.ru/shop/informer?partner=4081&category=2001&font_size_base=12"></script>
<div style="width:100%; text-align:right"><a href="http://my-shop.ru/">My-shop.ru</a></div>
<h3></h3>
<div id="ok_group_widget"></div>
<script>
!function (d, id, did, st) {
var js = d.createElement("script");
js.src = "http://connect.ok.ru/connect.js";
js.onload = js.onreadystatechange = function () {
if (!this.readyState || this.readyState == "loaded" || this.readyState == "complete") {
if (!this.executed) {
this.executed = true;
setTimeout(function () {
OK.CONNECT.insertGroupWidget(id,did,st);
}, 0);
}
}}
d.documentElement.appendChild(js);
}(document,"ok_group_widget","52834995535983","{width:250,height:335}");
</script>
<h3></h3>
<script type="text/javascript" src="//vk.com/js/api/openapi.js?112"></script>
<!-- VK Widget -->
<div id="vk_groups"></div>
<script type="text/javascript">
VK.Widgets.Group("vk_groups", {mode: 0, width: "220", height: "400", color1: 'FFFFFF', color2: '2B587A', color3: '5B7FA6'}, 60958576);
</script>
<h3></h3>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/ru_RU/sdk.js#xfbml=1&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="https://www.facebook.com/ClubAvtomaster" data-width="240" data-height="200" data-colorscheme="light" data-show-faces="true" data-header="true" data-stream="false" data-show-border="true"></div>
</div>
<div style="display:none">
<script type="text/javascript">
var L=$("#Inf_block_Left").html();$("#Inf_block_Left").html('');
var R=$("#Inf_block_Right").html();$("#Inf_block_Right").html('');
if($(".punbb").attr("id")=="pun-index"){
var LeftSUM='', RightSUM='',block1='<div class="container" style="text-align:center !important; padding:5px;" id=News_';
var block2="</div><br><br>";
if(L!=null){ var c = L.split(/<h3>|<\/h3>/igm);
for(i=1; i<c.length; i+=2){
LeftSUM+=block1+'L'+(i+1)/2+' >'+'<h3><center>'+c[i]+'</center></h3>'+c[i+1]+block2;
}LeftSUM='<td id=LeftNews width=170px valign=top>'+LeftSUM+'</td>';/*alert(LeftSUM);*/}
if(R!=null){ var c = R.split(/<h3>|<\/h3>/igm);
for(i=1; i<c.length; i+=2){
RightSUM+=block1+'R'+(i+1)/2+' >'+'<h3><center>'+c[i]+'</center></h3>'+c[i+1]+block2;
}RightSUM='<td id=RightNews width=320px valign=top>'+RightSUM+'</td>';/*alert(RightSUM);*/}
if(LeftSUM!='' || RightSUM!=''){ $("#pun-main").html('<table width=100% id="NEWS"><tr valign=top>'+LeftSUM+'<td>'+$("#pun-main").html()+'</td>'+RightSUM+'</tr></table>'); };}
</script>
</div>