var CopyrightNotice='Individual Widget Toggle script for Forumotion Boards by LGforum. Copyright © by AvacWeb. All Rights Reserved. Use and  modification of this script is not allowed without this entire copyright notice in the original, copied, or modified script. No distribution without consent.';$(function(){$('#page-header .navlinks a[href="/chatbox/index.forum?"]').remove();$('#page-header .navlinks a[href="/search"]').remove();$('#page-header .navlinks a[href="/faq"]').remove();$('#page-header .navlinks a[href="/gallery/index.htm"]').remove();$('#page-header .navlinks a[href="/memberlist"]').text("Members");$('#page-header .navlinks a[href="/groups"]').text("Groups");$('#page-header .navlinks a[href="/"]').text("Forum");$('#page-header .navlinks a[href="/calendar"]').text("Meets");var m=$('#right .module'),cookie=my_getcookie('widgets');for(i=0;i<m.length;i++){tog="-",idstr='widget'+String(i+1),m[i].id=idstr;if(cookie){if(cookie.indexOf(idstr+',')!=-1){m[i].lastChild.style.display="none";tog="+"}}var x=m[i].firstChild.firstChild.nextSibling;x.innerHTML+="<span style='float:right' onclick='toggleWid(this)'>"+tog+"</span>";$(m[i]).prepend(x);$(m[i]).prepend($(m[i]).find('.corners-top'))}});Code:var CopyrightNotice='Professional like/dislike bar for forumotion phpBB3 boards. Copyright © 2011 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';$(function(){if(document.getElementById('new-message')){document.getElementById('new-message').getElementsByTagName('li')[0].firstChild.innerHTML="<span>Feedback</span>"}$('#main-content').prepend('<style type="text/css">ul.profile-icons li.ddvote{height:20px;line-height:20px;background:#fff;color:#000;border:1px solid #a0b0c0;font-size:12px;font-weight:bold}ul.profile-icons li.ddvote a{display:inline}.postbody ul.profile-icons li.ddvote img{cursor:default;vertical-align:middle}.postbody ul.profile-icons li.ddvote a img{cursor:pointer}</style>');var x=$('.vote').get();for(i=x.length-1;i>=0;i--){var plus='0';var minus='0';var vplus='<img style="position:relative;top:-3px;margin-right:3px" title="Like" src="http://i591.photobucket.com/albums/ss356/tupac_healy/thumb-up.gif" />';var vminus='<img style="margin:0px 3px 0px 10px" title="Dislike" src="http://i591.photobucket.com/albums/ss356/tupac_healy/thumb.gif" />';var y=$(x[i]).find('.vote-button a').get();for(j=0;j<y.length;j++){if(y[j].innerHTML=='+'){vplus='<a href="'+y[j].href+'">'+vplus+'</a>'}else if(y[j].innerHTML=='-'){vminus='<a href="'+y[j].href+'">'+vminus+'</a>'}}var y=$(x[i]).find('.vote-bar')[0];if(y){var z=y.title.split(' ');var pct=parseInt(z[3].replace(/%/,''))/100;var num=parseInt(z[4].replace(/\(/,''));plus=String(Math.round(num*pct));minus=String(num-plus)}if(x[i].parentNode.parentNode.parentNode.className=='module row1'){$(x[i].parentNode).find('.profile-icons').prepend('<li class="ddvote">&nbsp;'+vplus+plus+vminus+minus+'&nbsp;<li>');$(x[i].parentNode).find('.h3').css('border','none')}else{$(x[i].parentNode.childNodes[0]).prepend('<li class="ddvote">&nbsp;'+vplus+plus+vminus+minus+'&nbsp;<li>')}x[i].parentNode.removeChild(x[i])}});var CopyrightNotice='Post profile toggle for forumotion phpBB3 boards. Copyright © 2011 by Dion Designs. All Rights Reserved. Use and/or modification of this script is allowed, provided this entire copyright notice remains in the original or modified script. Distribution is not allowed without written consent from Dion Designs.';function setprofile(loc){if(loc=='left'){$('.postprofile').css({'float':'left','border-left':'none','border-right':'1px solid #0F1516'});$('.postbody').css('float','right')}else{$('.postprofile').css({'float':'right','border-left':'1px solid #0F1516','border-right':'none'});$('.postbody').css('float','left')}}function toggleprofile(){var x=my_getcookie('prloc');if(x=='left'){x='right'}else{x='left'}my_setcookie('prloc',x,true);setprofile(x)}$(function(){if($('.addthis_button')[0]){$('.addthis_button').eq(0).before('<button class="button2" title="Toggle post profile location" onclick="toggleprofile();"><img style="padding:0px 2px;" src="http://illiweb.com/fa/edit.png" /></button>&nbsp;•&nbsp;');var x=my_getcookie('prloc');if(x==null){x='left'}my_setcookie('prloc',x,true);setprofile(x)}});
