$(document).ready(function(){$('h5,#top5').appendTo('#leaderboard-hud');$('.agario-exp-bar.progress,.progress-bar-star').remove('')
$('head').append('<style>#top5{font-size: 14px;}</style>');$("h5").text("OGARio - Riroy");$("h5").css({'font-size':"25px"});$("h5").css({'text-align':"center"});$('h1').replaceWith('<div id="preview"><div id="img"></div></div>');$('#leaderboard-hud h4').html('Leaderboard');$('title').html('OGARio - Riroy');$('#mainPanel #img').css("opacity","0.9","background","url('"+$('#skin').val()+"')");$('.leaderboard-panel').html('<style>.leaderboard-panel{width: 85px;height: 300px;}#skinz{display: inline-block;-webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75); box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);cursor:pointer;width:50px;height:50px;maRgin:2px;border-radius:100000000px;}</style> <div id="skinz" style="opacity: 1;" class="1"></div> <div id="skinz" style="opacity: 1;" class="2"></div> <div id="skinz" style="opacity: 1;" class="3"></div><div id="skinz" style="opacity: 1;" class="4"></div><div id="skinz" style="opacity: 1;" class="5"></div>');for(var i=1;i<11;i++){if(localStorage.getItem('profile'+i)===null){localStorage.setItem('profile'+i,null);}}
$('.1,.2,.3,.4,.5').on('click',function(){var dd=$(this).attr('class');var skinzz=JSON.parse(localStorage["profile"+dd]);localStorage.setItem('activeprofile',dd);$('#clantag').val(skinzz[0]);$('#nick').val(skinzz[1]);$('#skin').val(skinzz[2]);$('#mainPanel #img').css("opacity","0");$('#mainPanel #img').css("background","url('"+$('#skin').val()+"')");$('#mainPanel #img').css("opacity","0.9");var p=localStorage.getItem('activeprofile');var profile1=new Array();profile1[0]=$('#clantag').val();profile1[1]=$('#nick').val();profile1[2]=$('#skin').val();localStorage["profile"+p]=JSON.stringify(profile1);});window.setProfile=function(x){var f=localStorage.getItem('activeprofile');if(x===0)f--;if(x===1)f++;if(f<1)f=10;if(f>10)f=1;localStorage.setItem('activeprofile',f);var data=JSON.parse(localStorage["profile"+f]);$('#clantag').val(data[0]);$('#nick').val(data[1]);$('#skin').val(data[2]);$('#mainPanel #img').css("opacity","0");$('#mainPanel #img').css("background","url('"+$('#skin').val()+"')");$('#mainPanel #img').css("opacity","0.9");};$('#clantag, #skin, #nick').on("input",function(){$('#mainPanel #img').css("background","url('"+$('#skin').val()+"')");var p=localStorage.getItem('activeprofile');var profile1=new Array();profile1[0]=$('#clantag').val();profile1[1]=$('#nick').val();profile1[2]=$('#skin').val();localStorage["profile"+p]=JSON.stringify(profile1);for(var i=1;i<11;i++){var skinz=JSON.parse(localStorage["profile"+i]);if(skinz!==null){$('.'+i).css("background","url('"+skinz[2]+"')");}}});$('#minimap-sectors').replaceWith('<img id="minimap-sectors" width="182" height="182" src="http://i.imgur.com/5VLl2UA.png">');$('head').append('<style>#img, #skinz{background-size: cover !important;}#mainPanel #img, #skinz{ -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75); -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75); box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);}#minimap-hud{border: 1px solid rgba(0, 0, 0, 0.15);}.hideskin{backgRound-coloR:#d43f3a !important;border-coloR:#d43f3a !important;cursor: pointer;}.showskin{cursor: pointer;background-color: #449d44 !important;border-color: #449d44 !important;}.btn-info{ color: #fff !important; background-color: #5c0b37 !important; border-color: #6f1045 !important;}#helloContainer{opacity: 0.9;} #leaderboard-hud h4{font-size:23px;}#mainPanel h1{margin: 5px 0 5PX 0;}.hud, .hud-b{text-align: left !important; margin-right: -5px}#leaderboard-info{margin-top: 5px;}#main-menu{border-bottom:none !important; }.ogario-yt-panel, #ogario-ad, #version{display:none !important;}.btn-group-justified>.btn, .btn-group-justified>.btn-group{background: rgb(16, 16, 16);color: #adadad;border-color: #f8f4f4;}.input-group-addon{background-color: rgba(255, 255, 255, 0.15);border: rgba(255, 255, 255, 0.15);}#mainPanel #img{transition: opacity .15s;margin: 0 60px;border-radius: 1000px;width:200px;height:200px;}.menu-tabs li.active{background-color: rgba(0, 0, 0, 0.65);border-radius: 2px;}.menu-tabs .active{color: #cd1751 !important;}a:focus, a:hover{text-decoration: none;}.menu-tabs{padding: 6px 22px 6px 25px !important;border-radius: 2px; background-color: rgba(255, 255, 255, 0.13);}.agario-panel, .btn, .form-control, .input-group-addon, .input-group-sm>.input-group-addon{border-radius: 2px;} .showskin, .btn-warning, .btn-success{background-color: #ae194c !important; border-color: #ae194c !important;}.btn-danger, .hideskin{backgRound-coloR: #9d0c3c !important;border-coloR: #9d0c3c !important;} .btn-info.active, .btn-info.focus, .btn-info:active, .btn-info:focus, .btn-info:hover, .open>.dropdown-toggle.btn-info{background-color: #5c0b38 !important;border-color: #5c0b38 !important;} .btn-danger.active, .btn-danger.focus, .btn-danger:active, .btn-danger:focus, .btn-danger:hover, .open>.dropdown-toggle.btn-danger, .hideskin:hover{ background-color: #6a1941 !important;border-color: #6a1941 !important;} .btn-shop, .btn-shop:active, .btn-shop:disabled{background-color: #530c37 !important;border-color: #010122 !important;} .btn-warning.active, .btn-warning.focus, .btn-warning:active, .btn-warning:focus, .btn-warning:hover, .open>.dropdown-toggle.btn-warning, .showskin:hover, .btn-success:hover{background-color: #c51b55 !important;border-color: #ae194c !important;}.agario-panel{background-color: #201b29;}.agario-panel input, .agario-panel select{background-color: rgba(255, 255, 255, 0.15);}</style>');$('.party-panel, .agario-party, .agario-party-0, .agario-party-1, .agario-party-2, .agario-party-3, .agario-party-4, .agario-party-5, .agario-party-6, .agario-panel-gifting').remove();$('.hud, .hud-b').css('border-radius','0px');$("#ogario-party").appendTo(".agario-profile-panel");$('h2').remove();$('#fps-hud').css("bottom","7px");$('.main-color').css("color","#ffffff");$('.agario-panel-freecoins,.agario-profile-picture,.agario-profile-name-container,.agario-shop-panel,.agario-exp-bar progress').remove('');$('#fps-hud').css("top","auto");$('head').append('<script>function hideUrl() {$("head").append(\'<style>#skin {text-indent: -999999px!important;}</style>\'); $(".hideskin").replaceWith(\'<span class="input-group-addon showskin" onclick="showUrl()"><img src="http://i.imgur.com/DKZXxbz.png" width="15px"/></span>\'); localStorage.setItem("S_skin_url","hidden"); } function showUrl() {$("head").append(\'<style>#skin {text-indent: 0px!important;}</style>\'); $(".showskin").replaceWith(\'<span class="input-group-addon hideskin" onclick="hideUrl()"><img src="http://i.imgur.com/DKZXxbz.png" width="15px"/></span>\'); localStorage.setItem("S_skin_url","shown"); } if (localStorage.getItem("S_skin_url") == "hidden") {$("head").append(\'<style>#skin {text-indent: -999999px!important;}</style>\'); $(".hideskin").replaceWith(\'<span class="input-group-addon showskin" onclick="showUrl()"><img src="http://i.imgur.com/DKZXxbz.png" width="15px"/></span>\'); } else {$("head").append(\'<style>#skin {text-indent: 0px!important;}</style>\'); } $(\'#mainPanel .input-group\').append(\'<span class="input-group-addon hideskin" onclick="hideUrl()"><img src="http://i.imgur.com/DKZXxbz.png" width="15px"/></span>\');</script>')
var f=localStorage.getItem('activeprofile');var data=JSON.parse(localStorage["profile"+f]);$('#clantag').val(data[0]);$('#nick').val(data[1]);$('#skin').val(data[2]);$('#mainPanel #img').css("background","url('"+$('#skin').val()+"')");$('#minimap-sectors').replaceWith('<img id="minimap-sectors" width="182" height="182" src="http://i.imgur.com/kNYRN3j.png">');for(var i=1;i<11;i++){var skinz=JSON.parse(localStorage["profile"+i]);if(skinz!==null){$('.'+i).css("background","url('"+skinz[2]+"')");}}});$("#overlays").append('<a target="_blank" href="https://new.vk.com/riroy"><img style="width: 50px;margin-left: 45%;margin-top:10px;" src="http://i.imgur.com/RXO3ASH.png"><span style="position: absolute;top: 65px;margin-left: -78px;font-size: 12px;"></span></a>')
var chatovodOnLoad=chatovodOnLoad||[];chatovodOnLoad.push(function(){chatovod.addChatButton({host:"http://vk.com/",align:"topLeft",width:600,height:380,defaultLanguage:"en"});});