/*
var css = document.getElementById('screen-css');
css.href += ('?' + new Date().getTime());
*/


/*
 *
 *	JELLY JavaScript Library by Peter Boere // v 1.006 // 
 *
 */
var JELLY=function(){var B={addClass:function(C,D){C.className+=C.className?" "+D:D},removeClass:function(C,E){var D=new RegExp("(^|\\s|\\b)"+E+"(\\s|$)","g");C.className=C.className.replace(D," ").normalize()},hasClass:function(C,E){var D=new RegExp("(^|\\s)"+E+"(\\s|$)");return D.test(C.className)},toggleClass:function(C,D){JELLY.hasClass(C,D)?JELLY.removeClass(C,D):JELLY.addClass(C,D)},createElement:function(F,C){var E=document.createElement(F);for(var D in C){switch(D){case"setHTML":E.innerHTML=C[D];break;case"class":E.className=C[D];break;case"style":E.style.cssText=C[D];break;default:E.setAttribute(D,C[D])}}return E},insertElement:function(E,C,D){D=D||"bottom";switch(D){case"before":return C.parentNode.insertBefore(E,C);case"after":return C.parentNode.insertBefore(E,C.nextSibling);case"top":return C.insertBefore(E,C.firstChild);default:return C.appendChild(E)}},replaceElement:function(D,C){return D.parentNode.replaceChild(C,D)},removeElement:function(C){return C.parentNode.removeChild(C)},getRelative:function(E,D,C){switch(D){case"next":return A(E,"sibling",{type:"next",factor:C});case"previous":return A(E,"sibling",{type:"previous",factor:C});case"first":return A(E,"child",{type:"first"});case"last":return A(E,"child",{type:"last"});case"parent":return A(E,"parent",{factor:C})}},getXY:function(C){var D=[0,0];while(C!=null){D[0]+=C.offsetLeft;D[1]+=C.offsetTop;C=C.offsetParent}return D},getStyle:function(E,G,C){var F;if(G=="opacity"){if(E.__opacity==undefined){E.__opacity=1}return E.__opacity}if(E.style[G]){F=E.style[G]}else{if(E.currentStyle){F=E.currentStyle[G]}else{if(document.defaultView&&document.defaultView.getComputedStyle){G=G.toCssCase();var D=document.defaultView.getComputedStyle(E,"");F=D?D.getPropertyValue(G):null}else{return null}}}if(G.toLowerCase().indexOf("color")!=-1){return F.cssColorToArray()}return C!==false?parseInt(F,10):F},setOpacity:function(C,D){if(C.filters){JELLY.setOpacity=function(E,F){if(E.__opacity==undefined){E.__opacity=1}E.style.filter=(F==1)?"":"alpha(opacity="+F*100+")";E.__opacity=F}}else{JELLY.setOpacity=function(E,F){if(E.__opacity==undefined){E.__opacity=1}E.style.opacity=E.__opacity=F}}JELLY.setOpacity(C,D)},getByClass:function(H,F){var D=[],F=F||document.getElementsByTagName("*"),G=new RegExp("(^|\\s)"+H+"(\\s|$)");for(var E=0,C=F.length;E<C;E++){if(G.test(F[E].className)){D[D.length]=F[E]}}return D},Q:function(R){var D=R,S=function(E){return document.getElementById(E)},H=function(W){var V,U=W.length,E=[];for(V=0;V<U;V++){E[V]=W[V]}return E},T=function(E,U){return H((U||document).getElementsByTagName(E))},Q=JELLY.getByClass;if(D.item&&typeof D.length!=undefined){return H(D)}else{D.normalize()}if(!D.has(" ")){if(D.has("#")){return S(D.split("#")[1])}if(!D.has(".")){return T(D)}else{if(D.split(".")[0]!=""){return Q(D.split(".")[1],T(D.split(".")[0]))}else{return Q(D.split(".")[1])}}}else{var F=D.split(" "),C=F[0].has("#")?C=S(F[0].split("#")[1]):false;if(C){if(!F[1].has(".")){return T(F[1],C)}else{if(F[1].split(".")[0]!=""){return Q(F[1].split(".")[1],T(F[1].split(".")[0],C))}else{return Q(F[1].split(".")[1],T("*",C))}}}else{var P,N,M=[],K=[];if(F[0].has(".")){P=F[0].split(".")[0]?Q(F[0].split(".")[1],T(F[0].split(".")[0])):Q(F[0].split(".")[1])}else{P=T(F[0])}N=!F[1].has(".")?"tag":F[1].split(".")[0]!=""?"tag.class":".class";var I=P.length,G=0,J,L,O;switch(N){case"tag":for(G;G<I;G++){J=T(F[1],P[G]);if(J.length!==0){K=K.concat(J)}}break;case"tag.class":L=F[1].split(".")[1];O=F[1].split(".")[0];for(G;G<I;G++){J=Q(L,T(O,P[G]));if(J.length!==0){K=K.concat(J)}}break;case".class":L=F[1].split(".")[1];for(G;G<I;G++){J=Q(L,T("*",P[G]));if(J.length!==0){K=K.concat(J)}}}while(K[0]){J=K.pop();if(J.__Q_marked==undefined){J.__Q_marked=true;M[M.length]=J}}for(G=0;M[G];G++){M[G].__Q_marked=undefined}return M}}},addEvent:function(E,G,H){var D=!!E.addEventListener,K=!!E.attachEvent,F=G.has("mouseenter"),I=G.has("mouseleave"),J=arguments.callee,C;if(K&&!D){C=function(L){L=JELLY.fixEvent(L);H.call(E,L)}}if(F||I){C=function(L){L=JELLY.fixEvent(L);if(!JELLY.mouseEnterLeave.call(E,L)){return }H.call(E,L)};G=F?"mouseover":"mouseout"}J.log=J.log||[];J.log.push([E,G,C||H]);if(D){return E.addEventListener(G,C||H,false)}if(K){return E.attachEvent("on"+G,C)}return false},removeEvent:function(E,D,C){!!E.removeEventListener?E.removeEventListener(D,C,false):E.detachEvent("on"+D,C)},purgeEventLog:function(){if(JELLY.addEvent.log.length>1){var C=JELLY.addEvent.log,D,E;for(D=0;C[D];D++){E=C[D];JELLY.removeEvent(E[0],E[1],E[2])}}},fixEvent:function(C){C=C||window.event;if(window.event&&!window.opera){C.target=C.srcElement;C.relatedTarget=function(){switch(C.type){case"mouseover":return C.fromElement;case"mouseout":return C.toElement}}();C.stopPropagation=function(){C.cancelBubble=true};C.preventDefault=function(){C.returnValue=false};C.pageX=C.clientX+document.documentElement.scrollLeft;C.pageY=C.clientY+document.documentElement.scrollTop}return C},mouseEnterLeave:function(F){var E,D;if(F.relatedTarget){E=F.relatedTarget;if(E.nodeType!=1||E==this){return false}var C=this.getElementsByTagName("*");for(D=0;C[D];D++){if(E==C[D]){return false}}}return true},stopEvent:function(C){C=JELLY.fixEvent(C);C.stopPropagation();C.preventDefault()},getViewport:function(){if(typeof window.innerWidth!="undefined"){return[window.innerWidth,window.innerHeight]}else{if(typeof document.documentElement!="undefined"&&typeof document.documentElement.clientWidth!="undefined"&&document.documentElement.clientWidth!=0){return[document.documentElement.clientWidth,document.documentElement.clientHeight]}else{return[document.body.clientWidth||0,document.body.clientHeight||0]}}},parseQueryString:function(){if(window.location.href.has("?")){var C=window.location.search.substring(1).split("&"),D=C.length-1,E={};do{var F=C[D].split("=");E[F[0]]=F[1]}while(D--);return E}return false},extend:function(F,C,D){var E;if(D!==false){for(E in C){F[E]=C[E]}}else{for(E in C){if(!F[E]){F[E]=C[E]}}}return F},createClass:function(){return function(){this.initialize.apply(this,arguments)}},browser:{ie:!!window.ActiveXObject,ie6:!!(window.ActiveXObject&&!window.XMLHttpRequest),ie7:!!(window.ActiveXObject&&window.XMLHttpRequest)},local:"for(var i in JELLY){if(i!='local')eval('var '+i+'=JELLY.'+i)};i=undefined;"};function A(E,F,D){var C=D.factor||1;switch(F){case"sibling":do{do{E=E[D.type+"Sibling"]}while(E&&E.nodeType!=1)}while(E&&--C);break;case"child":if(D.type=="first"){E=E.firstChild;while(E&&E.nodeType!=1){E=E.nextSibling}}else{if(D.type=="last"){E=E.lastChild;while(E&&E.nodeType!=1){E=E.previousSibling}}}break;case"parent":do{E=E.parentNode}while(E&&--C)}return E||false}return B}();JELLY.extend(Array.prototype,{forEach:function(C,D){for(var B=0,A=this.length;B<A;B++){C.call(D,this[B],B,this)}}},false);Array.prototype.each=Array.prototype.forEach;JELLY.extend(Function.prototype,{bind:function(A){var B=this;return function(){return B.apply(A,arguments)}}});JELLY.extend(String.prototype,{has:function(A){return this.indexOf(A)!=-1?true:false},trim:function(){return this.replace(/^\s+|\s+$/g,"")},normalize:function(){return this.replace(/\s{2,}/g," ").trim()},toCssCase:function(){return this.replace(/([A-Z])/g,"-$1").toLowerCase()},cssToCamelCase:function(){return this.replace(/-\D/gi,function(A){return A.charAt(A.length-1).toUpperCase()})},cssRgbToHex:function(){var A=this.match(/[\d]{1,3}/g),C=[],B;for(B=0;B<3;B++){var D=(A[B]-0).toString(16);C.push(D.length==1?"0"+D:D)}return"#"+C.join("")},cssHexToArray:function(){var C=this.match(/^#([\w]{1,2})([\w]{1,2})([\w]{1,2})$/),A=[],B;for(B=1;B<C.length;B++){if(C[B].length==1){C[B]+=C[B]}A.push(parseInt(C[B],16))}return A},cssColorToArray:function(){if(this.has("#")){return this.cssHexToArray()}return this.cssRgbToHex().cssHexToArray()}},false);if(JELLY.browser.ie6){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}JELLY.addClass(document.documentElement,"js");JELLY.addEvent(window,"unload",JELLY.purgeEventLog);
/*
 *
 * ANIMATION MODULE  
 * Credits : Moofx, Transition equations by Robert Penner.
 *
 */
JELLY.transitions={linear:function(H,E,F,G){return F*H/G+E},quadIn:function(H,E,F,G){return F*(H/=G)*H+E},quadOut:function(H,E,F,G){return -F*(H/=G)*(H-2)+E},quadInOut:function(H,E,F,G){if((H/=G/2)<1){return F/2*H*H+E}return -F/2*((--H)*(H-2)-1)+E},cubicIn:function(H,E,F,G){return F*(H/=G)*H*H+E},cubicOut:function(H,E,F,G){return F*((H=H/G-1)*H*H+1)+E},cubicInOut:function(H,E,F,G){if((H/=G/2)<1){return F/2*H*H*H+E}return F/2*((H-=2)*H*H+2)+E},quartIn:function(H,E,F,G){return F*(H/=G)*H*H*H+E},quartOut:function(H,E,F,G){return -F*((H=H/G-1)*H*H*H-1)+E},quartInOut:function(H,E,F,G){if((H/=G/2)<1){return F/2*H*H*H*H+E}return -F/2*((H-=2)*H*H*H-2)+E},quintIn:function(H,E,F,G){return F*(H/=G)*H*H*H*H+E},quintOut:function(H,E,F,G){return F*((H=H/G-1)*H*H*H*H+1)+E},quintInOut:function(H,E,F,G){if((H/=G/2)<1){return F/2*H*H*H*H*H+E}return F/2*((H-=2)*H*H*H*H+2)+E},sineIn:function(H,E,F,G){return -F*Math.cos(H/G*(Math.PI/2))+F+E},sineOut:function(H,E,F,G){return F*Math.sin(H/G*(Math.PI/2))+E},sineInOut:function(H,E,F,G){return -F/2*(Math.cos(Math.PI*H/G)-1)+E},expoIn:function(H,E,F,G){return(H==0)?E:F*Math.pow(2,10*(H/G-1))+E},expoOut:function(H,E,F,G){return(H==G)?E+F:F*(-Math.pow(2,-10*H/G)+1)+E},expoInOut:function(H,E,F,G){if(H==0){return E}if(H==G){return E+F}if((H/=G/2)<1){return F/2*Math.pow(2,10*(H-1))+E}return F/2*(-Math.pow(2,-10*--H)+2)+E},circIn:function(H,E,F,G){return -F*(Math.sqrt(1-(H/=G)*H)-1)+E},circOut:function(H,E,F,G){return F*Math.sqrt(1-(H=H/G-1)*H)+E},circInOut:function(H,E,F,G){if((H/=G/2)<1){return -F/2*(Math.sqrt(1-H*H)-1)+E}return F/2*(Math.sqrt(1-(H-=2)*H)+1)+E},elasticIn:function(M,H,I,J,N,K){if(M==0){return H}if((M/=J)==1){return H+I}if(!K){K=J*0.3}if(!N){N=1}if(N<Math.abs(I)){N=I;var L=K/4}else{var L=K/(2*Math.PI)*Math.asin(I/N)}return -(N*Math.pow(2,10*(M-=1))*Math.sin((M*J-L)*(2*Math.PI)/K))+H},elasticOut:function(M,H,I,J,N,K){if(M==0){return H}if((M/=J)==1){return H+I}if(!K){K=J*0.3}if(!N){N=1}if(N<Math.abs(I)){N=I;var L=K/4}else{var L=K/(2*Math.PI)*Math.asin(I/N)}return N*Math.pow(2,-10*M)*Math.sin((M*J-L)*(2*Math.PI)/K)+I+H},elasticInOut:function(M,H,I,J,N,K){if(M==0){return H}if((M/=J/2)==2){return H+I}if(!K){K=J*(0.3*1.5)}if(!N){N=1}if(N<Math.abs(I)){N=I;var L=K/4}else{var L=K/(2*Math.PI)*Math.asin(I/N)}if(M<1){return -0.5*(N*Math.pow(2,10*(M-=1))*Math.sin((M*J-L)*(2*Math.PI)/K))+H}return N*Math.pow(2,-10*(M-=1))*Math.sin((M*J-L)*(2*Math.PI)/K)*0.5+I+H},backOffset:1.70158,backIn:function(J,F,G,H,I){if(!I){I=JELLY.transitions.backOffset}return G*(J/=H)*J*((I+1)*J-I)+F},backOut:function(J,F,G,H,I){if(!I){I=JELLY.transitions.backOffset}return G*((J=J/H-1)*J*((I+1)*J+I)+1)+F},backInOut:function(J,F,G,H,I){if(!I){I=JELLY.transitions.backOffset}if((J/=H/2)<1){return G/2*(J*J*(((I*=(1.525))+1)*J-I))+F}return G/2*((J-=2)*J*(((I*=(1.525))+1)*J+I)+2)+F},bounceIn:function(H,E,F,G){return F-JELLY.transitions.bounceOut(G-H,0,F,G)+E},bounceOut:function(H,E,F,G){if((H/=G)<(1/2.75)){return F*(7.5625*H*H)+E}else{if(H<(2/2.75)){return F*(7.5625*(H-=(1.5/2.75))*H+0.75)+E}else{if(H<(2.5/2.75)){return F*(7.5625*(H-=(2.25/2.75))*H+0.9375)+E}else{return F*(7.5625*(H-=(2.625/2.75))*H+0.984375)+E}}}},bounceInOut:function(H,E,F,G){if(H<G/2){return JELLY.transitions.bounceIn(H*2,0,F,G)*0.5+E}return JELLY.transitions.bounceOut(H*2-G,0,F,G)*0.5+F*0.5+E}};JELLY.Tween=JELLY.createClass();JELLY.Tween.prototype={setOptions:function(A){this.options=JELLY.extend({onstart:function(){},oncomplete:function(){},transition:JELLY.transitions.sineInOut,duration:500,unit:"px",wait:false,speed:20},A||{})},initialize:function(B,A){this.element=typeof B=="string"?document.getElementById(B):B;this.setOptions(A)},step:function(){var A=new Date().getTime();if(A<this.time+this.options.duration){this.cTime=A-this.time}else{setTimeout(this.options.oncomplete.bind(this,this.element),10);this.clearTimer();this.tidyUp();return this.callChain()}this.increase()},increase:function(){var B=this.props.length-1,A;do{if(this.values[B].color){A=Math.round(this.compute(this.values[B][0][0],this.values[B][1][0]))+","+Math.round(this.compute(this.values[B][0][1],this.values[B][1][1]))+","+Math.round(this.compute(this.values[B][0][2],this.values[B][1][2]));this.setColor(this.props[B],A)}else{this.setStyle(this.props[B],this.compute(this.values[B][0],this.values[B][1]))}}while(B--)},tidyUp:function(){var B=this.props.length-1,A;do{if(this.values[B].color){A=[this.values[B][1][0],this.values[B][1][1],this.values[B][1][2]].join(",");this.setColor(this.props[B],A)}else{this.setStyle(this.props[B],this.values[B][1])}}while(B--)},compute:function(B,A){return this.options.transition(this.cTime,B,(A-B),this.options.duration)},clearTimer:function(){clearInterval(this.timer);this.timer=null;return this},start:function(C,A){if(!this.options.wait){this.clearTimer()}if(this.timer){return }setTimeout(this.options.onstart.bind(this,this.element),10);if(typeof C!="string"){this.props=C;this.values=A}else{this.props=[C];this.values=[A]}var B=this.values.length-1;do{this.props[B]=this.props[B].cssToCamelCase();if(this.props[B].toLowerCase().indexOf("color")!=-1){if(this.values[B].constructor!=Array){this.values[B]=[JELLY.getStyle(this.element,this.props[B]),this.values[B].cssHexToArray()]}else{this.values[B]=[this.values[B][0].cssHexToArray(),this.values[B][1].cssHexToArray()]}this.values[B].color=true}else{if(this.values[B].constructor!=Array){this.values[B]=[JELLY.getStyle(this.element,this.props[B]),this.values[B]]}}}while(B--);this.time=new Date().getTime();this.timer=setInterval(this.step.bind(this),this.options.speed);return this},setStyle:function(A,B){A=="opacity"?JELLY.setOpacity(this.element,B):this.element.style[A]=B+this.options.unit},setColor:function(A,B){this.element.style[A]="rgb("+B+")"},chain:function(A){this.chains=this.chains||[];this.chains.push(A);return this},callChain:function(){if(this.chains&&this.chains.length){var A=this;setTimeout(function(){A.chains.shift()()},10)}}};
/*
 *
 * SCROLL CLASS   
 *
 */
JELLY.Scroll=JELLY.createClass();JELLY.Scroll.prototype=JELLY.extend(new JELLY.Tween(),{start:function(A,C){if(!this.options.wait){this.clearTimer()}if(this.timer){return }setTimeout(this.options.onstart.bind(this,this.element),10);if(this.element==window){var B=this.getWindowScroll();if(A.constructor!=Array){A=[B[0],A]}if(C.constructor!=Array){C=[B[0],C]}this.increase=function(){this.element.scrollTo(this.compute(this.values[0][0],this.values[0][1]),this.compute(this.values[1][0],this.values[1][1]))}}else{if(A.constructor!=Array){A=[this.element.scrollLeft,A]}if(C.constructor!=Array){C=[this.element.scrollTop,C]}this.increase=function(){this.element.scrollLeft=this.compute(this.values[0][0],this.values[0][1]);this.element.scrollTop=this.compute(this.values[1][0],this.values[1][1])}}this.values=[A,C];this.time=new Date().getTime();this.timer=setInterval(this.step.bind(this),this.options.speed);return this},getWindowScroll:function(){var A=[0,0];if(typeof window.pageYOffset!="undefined"){A=[window.pageXOffset,window.pageYOffset]}else{if(typeof document.documentElement.scrollTop!="undefined"&&(document.documentElement.scrollTop>0||document.documentElement.scrollLeft>0)){A=[document.documentElement.scrollLeft,document.documentElement.scrollTop]}}return A},tidyUp:function(){if(this.element==window){this.element.scrollTo(this.values[0][1],this.values[1][1])}else{this.element.scrollLeft=this.values[0][1];this.element.scrollTop=this.values[1][1]}}});




function getHTTPObject() {
  var xhr = false;
  if (window.XMLHttpRequest) {
    xhr = new XMLHttpRequest();
  } else if (window.ActiveXObject) {
    try {
      xhr = new ActiveXObject("Msxml2.XMLHTTP");
    } catch(e) {
      try {
        xhr = new ActiveXObject("Microsoft.XMLHTTP");
      } catch(e) {
        xhr = false;
      }
    }
  }
  return xhr;
}

function grabFile(file, oncomplete) {
  var request = getHTTPObject();
  if (request) {

    request.onreadystatechange = function() {
		if (request.readyState == 4) {
			if (request.status == 200 || request.status == 304) {
				document.getElementById("update").innerHTML = request.responseText;
				oncomplete();
			}
 	 	}
    };
    request.open("GET", file, true);
    request.send(null);
	 return false;
  }  
  return true;
}

function fixHeight() {
	JELLY.addEvent(window, 'resize', heightFix);
	JELLY.addEvent(window, 'scroll', heightFix);
	var fixed_panel = JELLY.Q('#column2'), 
		 footer = JELLY.Q('#footer'); 

	if (JELLY.browser.ie6) {
		footer.style.bottom = 'auto';
	}

	function heightFix() {
		var calculated = JELLY.getViewport()[1] + 
							  JELLY.Scroll.prototype.getWindowScroll()[1];
		if (JELLY.browser.ie6) {
			fixed_panel.style.height = calculated + 'px';
			footer.style.top = (calculated - footer.offsetHeight) + 'px';
		} else {
			fixed_panel.style.minHeight = calculated + 'px';
		}
	}
	heightFix();
}


//JELLY.addEvent(window, 'scroll', fixHeight);







