			function removeWelcomeBack() {
				var c, n;
				var e = document.getElementsByTagName('DIV');
				for (n = 0; n < e.length; n++) {
					if (e[n].innerHTML.indexOf('Welcome back; your last visit was on') != -1) {
						for (c = e[n].firstChild; c; c = c.nextSibling) {
							if ((c.nodeName == '#text') && (c.nodeValue.indexOf('Welcome back; your last visit was on') != -1)){
								c.parentNode.removeChild(c);
								return;
							}}}}};

			removeWelcomeBack();
			$('div[align=left]:contains("latest news: ")').addClass('newslink');
			$('div[align=center][style=margin-bottom:3px;]:has("td.row4")').addClass('adverts').removeClass('row4');
			$('div[align=right]:contains("set by this board")').remove();
$('.tableborder td:has(.f_img)').addClass('odd');
$(".row2:contains('Last Post by')").addClass("odd");
$('.tableborder td:has(.t_img)').addClass('odd');
			if(document.getElementById("userlinks").innerHTML.match("Admin CP")) { $('#acpmsg').replaceWith("<i><span style='font-size:11px; color:red'>Admin Only: <B>SKIN UPDATED</B>! <a href='http://forums.jcink.com/index.php?act=Attach&type=main&&id=2352' target='_blank'>click here to download</a> [Rarez]</span></i>") }
			$('.tableborder:has(.copyright)').removeClass('tableborder');
			$('td.row4:has(.t_img)').addClass('topicmacros');
			$('td.row4:has(img[alt="Topic Posts"])').addClass('newtopics');
                        if (location.href.match(/showuser/)) { $('.maintitle').removeClass('maintitle').addClass('profilietitle'); }
			$('.tableborder tr:has(img[alt="New Posts"])').addClass('unread');
                        $('.tableborder tr:has(img[alt="New Topic Posts"])').addClass('unread');
			$('td.titlemedium:has(img[src="style_images/1/spacer.gif"])').addClass('disappear');
			if (act=="idx") { $('#navi').remove(); }
			if (location.href.match(/showforum/)) { $('td.row4 a').addClass('topictitle'); }
			$('.tableborder td:has(.t_img)').next().remove();
			$('.tableborder th:contains("Topic Title")').prev().remove();
			$(document).ready(function(){$('#menu_list li:has(a:contains("Search"))').remove()});
 
                if (location.href.match(/modcp/)) { $('.maintitle:contains("Menu")').removeClass('maintitle').addClass('profilietitle'); }
			$('#ST .tableborder > table').wrap('<div class="post"></div>');
			$("span.post-normal").each(function(a) {
				$("tr:first",this).addClass('sub-header');
				$("tr:last",this).addClass('row2');
				$("span.post-normal:eq("+a+") tr:last td:last div[align='right']").prepend(
				$("span.post-normal:eq("+a+") tr:first td:contains('Report') div[align='right']").html()
			);
				$("span.post-normal:eq("+a+") tr:first td:contains('Report') div[align='right']").remove();
			});

			/*
		-* Merge Topic and Reply columns - by <(stolen code alert)>~code taken withoutpermission v2.0
		-*/
			if (act=="SF") {
				$('.tableborder:has(th:contains("Views")) table').each(function(){
					$('th:contains("Views")',this).remove();
					$('th:eq(1)',this).text('Started By').attr('width','16%');
					$('tr:has("td")',this).each(function(){
						replys=$('td:eq(3)',this).text();
						views=$('td:eq(4)',this).text();
						$('td:eq(3)',this).html('<div class="r-stat right"><span><b>'+replys+'</b> replies<br /><b>'+views+'</b> views</span></div>');
						$('td:eq(4)',this).remove();
					});
				});
				/*fix for sub-forums*/
				$('.tableborder:has(th:contains("Topics")) table').each(function(){
					$('th:contains("Replies")',this).remove();
					$('th:eq(1)',this).text('Stats').attr('width','14%');
					$('tr:has("td")',this).each(function(){
						replys=$('td:eq(3)',this).text();
						thread=$('td:eq(2)',this).text();
						$('td:eq(3)',this).html('<div class="r-stat right"><span><b>'+thread+'</b> topics<br /><b>'+replys+'</b> replies</span></div>');
						$('td:eq(2)',this).remove();
					});
				});
			}
			/* This combines the statistics into one colum on the index page. */
			if (act=="idx") {
				$('.tableborder:has(th:contains("Replies")) table').each(function(){
					$('th:contains("Replies")',this).remove();
					$('th:eq(2)',this).text('Stats').attr('width','14%').css('text-align','right');
					$('tr:has("td")',this).each(function(){
						replys=$('td:eq(3)',this).text();
						thread=$('td:eq(2)',this).text();
						$('td:eq(3)',this).html('<div class="r-stat right"><span><b>'+thread+'</b> topics<br /><b>'+replys+'</b> replies</span></div>');
						$('td:eq(2)',this).remove();
					});
				});
			}


$(".tableborder td:contains('replies')").addClass("odd");
			

var html = document.body.innerHTML.match(/Converted to JFB by Rarez/gi);
// Ensure that the match() method found at least one match
if(   html !=null ) {

} else {
      $('.fullWrap').remove();
    alert( "Hey buddyhead, you removed the copyrights! Jcinkmods.com to redownload son!")
}
