	$(document).ready(function(){
		$('.post-body p').filter(function () {
			return $(this).children('script').length == 0;
		}).wrapInner('<span class="tetext"></span>');
		$('h2,h3, .post-body li, .post-body th, .post-body td, ol.commentlist li, ol.commentlist li p, .ul-about li, .ul-archives li, .ul-cat li, #rc-block li, .header-menu li, .alignleft, .alignright, label, .igBar').wrapInner('<span class="tetext"></span>');
		$('p + h3').css('margin-top', '50px');
			
		var br = $.browser;
		if (br.OS == 'Mac' && br.firefox && br.version.major == 2) {
			$('#header-content').css('position', 'absolute');
		} else {
			$('.ul-link img').css('opacity', 0.7).hover(function () {
				$(this).css('opacity', 1);
			}, function () {
				$(this).css('opacity', 0.7);
			});
		}
		
		if (
			(br.OS == 'Win' &&
				(
					(br.msie && br.version.major >= 7)
					|| (br.firefox && br.version.major >= 2)
					|| (br.safari && br.version.major >= 500)
				)
			)
			|| (br.OS == 'Mac' &&
				(
					(br.firefox && br.version.major >= 2)
					|| (br.safari && br.version.major >= 500)
				)
			)
		) {
			
		}
		
		swfobject.embedSWF('http://www.rebirth-all.com/assets/swf/soundlib.swf', 'sound-swf', '0', '0', '8.0.0', false, {}, {
			allowScriptAccess: 'always'
		}, {
			id: 'soundlib'
		});
	});
	function onSoundlibLoaded() {
		$('a').mouseover(function () {
			soundPlay('2000hz', 10);
		}).mousedown(function () {
			soundPlay('click2', 50);
		});
	}
	function soundPlay(sid, vol) {
		getSwf("soundlib").playA(sid, vol);
    }
    function getSwf(swfname) {
        if (navigator.appName.indexOf("Microsoft") != -1) {
            return window[swfname];
        } else {
            return document[swfname];
        }
    }
