var isIESoDONT = false;
var numberLinks = 0;
var numberOfPics = 0;
var formDataArray = new Array();
var globalLangID = 1;
var globalLangCode = "de";

var changeBodyClassTo = "";

var page_Adress = "";
var page_Adress_postfix = "";
function setLangLink(langLArr) {
    var llength = langLArr.length;
    for (var xx = 0; xx < llength; xx++) {
        document.getElementById('main_lang_sel_' + langLArr[xx][1]).href = 'http://' + page_Adress + langLArr[xx][1] + '/' + langLArr[xx][0] + page_Adress_postfix
    }
}
var AjaxIEFrameOBJ = null;

function sets(that, theLevel, bodyClassName, ajHash, langLArr) {
    allLinks = document.getElementById('cms_navigation').getElementsByTagName('a');
    
    
    
    if (bodyClassName != '') changeBodyClassTo = bodyClassName;
    else changeBodyClassTo = '';
    
    
    var allCount = allLinks.length;
    if (that != null) {
        for (var i = 0; i < allCount; i++) {
            if (allLinks[i].className == 'act')
                allLinks[i].className = 'notact'
        }
    }
    window.location.hash = "#" + ajHash;
    var detect = navigator.userAgent.toLowerCase();
    if (detect.indexOf("msie") > -1 && AjaxIEFrameOBJ == null) {
        document.getElementsByTagName('body')[0].innerHTML += '<iframe id="AjaxIEFrame" style="display:none;" src="blank.html">Iframe</iframe>';
        AjaxIEFrameOBJ = document.getElementById('AjaxIEFrame')
        }
    if (detect.indexOf("msie") > -1)
        AjaxIEFrameOBJ.src = 'blank.html?' + ajHash;
    if (that != null) {
        that.className = 'act';
        level = 0
    }
    var level = parseInt(theLevel, 10);
    if (level > 0) {
        for (var j = level; j > 0; j--) {
            that = that.parentNode.parentNode.parentNode.getElementsByTagName('a')[0];
            that.className = 'act'
        }
    } else if (level == "-1") {
        if (that.parentNode.parentNode != null) {
            var parentNN = that.parentNode.parentNode;
            while (parentNN.id != "cms_navigation") {
                that = that.parentNode.parentNode.parentNode.getElementsByTagName('a')[0];
                that.className = 'act';
                if (that.parentNode.parentNode != null)
                    parentNN = that.parentNode.parentNode;
                else
                    break
            }
        }
    }
    if (langLArr != "" && langLArr != undefined)
        setLangLink(langLArr)
    }

function setsSub(subnav_container, that, theLevel, bodyClassName, ajHash, langLArr) {
    allLinks = document.getElementById(subnav_container).getElementsByTagName('a');
    if (bodyClassName != '')
        document.getElementsByTagName('body')[0].className = bodyClassName;
    var allCount = allLinks.length;
    if (that != null) {
        for (var i = 0; i < allCount; i++) {
            if (allLinks[i].className == 'act')
                allLinks[i].className = 'notact'
        }
    }
    window.location.hash = "#" + ajHash;
    var detect = navigator.userAgent.toLowerCase();
    if (detect.indexOf("msie") > -1 && AjaxIEFrameOBJ == null) {
        document.getElementsByTagName('body')[0].innerHTML += '<iframe id="AjaxIEFrame" style="display:none;" src="blank.html">Iframe</iframe>';
        AjaxIEFrameOBJ = document.getElementById('AjaxIEFrame')
        }
    if (detect.indexOf("msie") > -1)
        AjaxIEFrameOBJ.src = 'blank.html?' + ajHash;
    if (that != null) {
        that.className = 'act';
        level = 0
    }
    var level = parseInt(theLevel, 10);
    if (level > 0) {
        for (var j = level; j > 0; j--) {
            that = that.parentNode.parentNode.parentNode.getElementsByTagName('a')[0];
            that.className = 'act'
        }
    } else if (level == "-1") {
        if (that.parentNode.parentNode != null) {
            var parentNN = that.parentNode.parentNode;
            while (parentNN.id != "cms_navigation") {
                that = that.parentNode.parentNode.parentNode.getElementsByTagName('a')[0];
                that.className = 'act';
                if (that.parentNode.parentNode != null)
                    parentNN = that.parentNode.parentNode;
                else
                    break
            }
        }
    }
    if (langLArr != "" && langLArr != undefined)
        setLangLink(langLArr)
    }

function toggle(thats) {
    var that = thats.parentNode.getElementsByTagName('ul')[0];
    if (that.style.display == 'none' || that.style.display == '')
        that.style.display = 'block';
    else
        that.style.display = 'none'
}
function doverflow(thats) {
    var that = thats.parentNode;
    if (that.className == 'acp_advanced' || that.className == 'acp_advanced')
        that.className = 'acp_advanced_visbile';
    else
        that.className = 'acp_advanced'
}
function hideContainer(objName, classHide, classDisp, itsThis) {
    if (itsThis == true)
        var obj = objName;
    else
        var obj = document.getElementById(objName);
    var tem = new RegExp(classDisp);
    if (obj.className.search(tem) == -1) {
        var tem = new RegExp(classHide);
        obj.className = obj.className.replace(tem, classDisp)
        } else {
        obj.className = obj.className.replace(tem, classHide)
        }
}
function changeClass(object, newClass, metaNodes, replaceClass) {
    var objectS;
    if (metaNodes == 'obj')
        objectS = document.getElementById(object);
    else if (metaNodes == 1)
        objectS = object.parentNode;
    else if (metaNodes == 2)
        objectS = object.parentNode.parentNode;
    else if (metaNodes == 3)
        objectS = object.parentNode.parentNode.parentNode;
    else if (metaNodes == 4)
        objectS = object.parentNode.parentNode.parentNode.parentNode;
    else if (metaNodes == 5)
        objectS = object.parentNode.parentNode.parentNode.parentNode.parentNode;
    else
        objectS = object;
    if (replaceClass) {
        var tem = new RegExp(replaceClass);
        objectS.className = objectS.className.replace(tem, newClass)
        } else {
        objectS.className = newClass
    }
}
var http_request = false;
var outputTarget,
actt = true;
var ajaxResponse = "";
var functionAfterwards = "";
var ajaxReturnText = "";
var lastUrl = "";
var lastOpt = "";
var lastAct = true;
var lastSendString = "";

var CSWspeed = 11;
var CSWtimer = 0;

function changeText(resptext) {
    document.getElementById(outputTarget).innerHTML = my_replace(resptext);

}

function cemptyText(resptext) {
    document.getElementById(outputTarget).innerHTML = '';
}

function hideWhiteContentOVerlayer() {
    document.getElementById('weeeeeiss').style.display = 'none';
}

var theLastErrorstring = "";
var nowReadddyy = false;

function getRequest(url, sendString, opTarget, actii, ladeBalken, functionAfterwardsi) {
    http_request = false;
    functionAfterwards = functionAfterwardsi;

    actt = true;
    outputTarget = opTarget;
    if (actii == "checkCaptcha")
        actt = "checkcaptcha";
    else if (actii == "return")
        actt = "return";
    else if (actii === false)
        actt = false;
    else if (actii == "func")
        actt = "func";
    else
        actt = true;

    if (actt === true || actt == 'func') {

        if (INACPMODE == false)
            $('.main_real_content').slideUp(770, function() {
            nowReadddyy = true;
        });
        else
            nowReadddyy = true;

    }

    if (url === false) {
        if (lastUrl != "") {
            url = lastUrl;
            opTarget = lastOpt;
            actii = lastAct;
            sendString = lastSendString
        } else
            return false
    } else {
        lastUrl = url;
        lastOpt = opTarget;
        lastAct = actii;
        lastSendString = sendString
    }
    lastSendStringInvisible = location.hash.substring(1);
    if (window.XMLHttpRequest) {
        http_request = new XMLHttpRequest();
        if (http_request.overrideMimeType) {
            http_request.overrideMimeType('text/html')
            }
    } else if (window.ActiveXObject) {
        try {
            http_request = new ActiveXObject("Msxml2.XMLHTTP")
            } catch(e) {
            try {
                http_request = new ActiveXObject("Microsoft.XMLHTTP")
                } catch(e) {}
        }
    }
    if (!http_request) {
        alert('Ende :( Kann keine XMLHTTP-Instanz erzeugen');
        return false
    }
    if (actt == "ret")
        http_request.onreadystatechange = checkCaptcha;
    else
        http_request.onreadystatechange = alertInhalt;
    if (window.ActiveXObject) {} else {}
    http_request.open("POST", url, true);
    http_request.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
    http_request.setRequestHeader("Pragma", "no-cache");
    http_request.setRequestHeader("Cache-Control", "must-revalidate");
    http_request.send(sendString)
    }
var INACPMODE = false;
var lastSendStringInvisible = "";

function load_data() {
    if (INACPMODE == false) {
        var hashh = location.hash.substring(1);
        window.setTimeout("load_data()", 200);
        if (hashh != "post-action") {
            if (location.hash.length > 1 && hashh != lastSendString && hashh != "undefined") {
                if (theLastErrorstring == hashh)
                    return false;
                theLastErrorstring = hashh;

                // reload website
                var sAID = hashh.match(/&page=(.*?)&lang=(\w*)(.*?)$/);
                if (sAID[1] != '') {
                    var locat = '/cont/' + sAID[2] + '/' + sAID[1] + '.html';
                    if (sAID[3] != '')
                        locat += '?' + sAID[3].substring(1);
                    window.location.href = locat;
                }

            } else {
                return false
            }
        }
    }
}

function loadLightboxImages() {
    jQuery(function($) {
        $("a[rel^='lightbox']").slimbox({
            /* Put custom options here */
            }, null, function(el) {
            return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
        });
    });
}

function alertInhalt() {
    if (http_request.readyState == 4) {
        if (http_request.status == 200) {
            if (!document.getElementById(outputTarget))
                alert('Das Objekt existiert nicht');

            if (nowReadddyy !== true) {
                window.setTimeout('alertInhalt()', 4);
                return false;
            } else
                nowReadddyy = false;

            document.getElementById(outputTarget).innerHTML = my_replace(http_request.responseText);

            if (INACPMODE == false)
             {
                if(changeBodyClassTo != '')document.getElementsByTagName('body')[0].className = changeBodyClassTo;
                $('.main_real_content').slideDown(660);
             }

            document.getElementById('InfoBox').innerHTML = "";
            if (actt === true) {

                var imageid = 'content_white_layer';

            } else if (actt == "func") {
                document.getElementById(outputTarget).innerHTML = my_replace(http_request.responseText);
                eval(functionAfterwards + "();")
                } else if (actt == "return") {
                ajaxReturnText = my_replace(http_request.responseText)
                } else if (actt == "checkcaptcha") {
                checkCaptcha()
                } else {
                document.getElementById(outputTarget).innerHTML = document.getElementById(outputTarget).innerHTML + ' ' + my_replace(http_request.responseText)
                }
            jQuery(function($) {
                $("a[rel^='lightbox']").slimbox({}, null, function(el) {
                    return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel))
                    })
                });
            if (actt == "return")
                ajaxReturnText = my_replace(http_request.responseText)
            } else {
            alert('Bei Ihrer Anfrage ist ein Fehler aufgetreten.\nBitte aktualisiern Sie die Seite. (F5)')
            }
    } else {}
}

function my_replace(txt) {
    var jsCode = "";
    var matchExp = new RegExp('(?:<script.*?>)((\n|\r|.)*?)(?:\</script>)', 'img');
    var jsMatch = new RegExp('(?:<.*?script.*?>)', 'img');
    var searchResults = txt.match(matchExp);
    if (searchResults) {
        for (var i = 0; i < searchResults.length; i++) {
            var c = searchResults[i].replace(jsMatch, '');
            jsCode += c;
            txt = txt.replace(matchExp, '')
            }
        if (document.uniqueID) {
            eval(jsCode)
            } else {
            newObj = document.createElement('script');
            newObj.appendChild(document.createTextNode(jsCode));
            document.getElementsByTagName('head')[0].appendChild(newObj)
            }
    }
    return txt
}






(function($) {

	$.fn.easySlider = function(options){
	  
		// default configuration properties
		var defaults = {			
			prevId: 		'prevBtn',
			prevText: 		'Previous',
			nextId: 		'nextBtn',	
			nextText: 		'Next',
			controlsShow:	true,
			controlsBefore:	'',
			controlsAfter:	'',	
			controlsFade:	true,
			firstId: 		'firstBtn',
			firstText: 		'First',
			firstShow:		false,
			lastId: 		'lastBtn',	
			lastText: 		'Last',
			lastShow:		false,				
			vertical:		false,
			speed: 			800,
			auto:			false,
			pause:			2000,
			continuous:		false, 
			numeric: 		false,
			numericId: 		'controls'
		}; 
		
		var options = $.extend(defaults, options);  
				
		this.each(function() {  
			var obj = $(this); 				
			var s = $("li", obj).length;
			var w = options.width; 
			var h = options.height; 
			var clickable = true;
			obj.width(w); 
			obj.height(h); 
			obj.css("overflow","hidden");
			var ts = s-1;
			var t = 0;
			$("ul", obj).css('width',s*w);			
			
			if(options.continuous){
				$("ul", obj).prepend($("ul li:last-child", obj).clone().css("margin-left","-"+ w +"px"));
				$("ul", obj).append($("ul li:nth-child(2)", obj).clone());
				$("ul", obj).css('width',(s+1)*w);
			};				
			
			if(!options.vertical) $("li", obj).css('float','left');
								
			if(options.controlsShow){
				var html = options.controlsBefore;				
				if(options.numeric){
					html += '<ol id="'+ options.numericId +'"></ol>';
				} else {
					if(options.firstShow) html += '<span id="'+ options.firstId +'"><a href=\"javascript:void(0);\">'+ options.firstText +'</a></span>';
					html += ' <span id="'+ options.prevId +'"><a href=\"javascript:void(0);\">'+ options.prevText +'</a></span>';
					html += ' <span id="'+ options.nextId +'"><a href=\"javascript:void(0);\">'+ options.nextText +'</a></span>';
					if(options.lastShow) html += ' <span id="'+ options.lastId +'"><a href=\"javascript:void(0);\">'+ options.lastText +'</a></span>';				
				};
				
				html += options.controlsAfter;						
				$(obj).after(html);										
			};
			
			if(options.numeric){									
				for(var i=0;i<s;i++){						
					$(document.createElement("li"))
						.attr('id',options.numericId + (i+1))
						.html('<a rel='+ i +' href=\"javascript:void(0);\">'+ (i+1) +'</a>')
						.appendTo($("#"+ options.numericId))
						.click(function(){							
							animate($("a",$(this)).attr('rel'),true);
						}); 												
				};							
			} else {
				$("a","#"+options.nextId).click(function(){		
					animate("next",true);
				});
				$("a","#"+options.prevId).click(function(){		
					animate("prev",true);				
				});	
				$("a","#"+options.firstId).click(function(){		
					animate("first",true);
				});				
				$("a","#"+options.lastId).click(function(){		
					animate("last",true);				
				});				
			};
			
			function setCurrent(i){
				i = parseInt(i)+1;
				$("li", "#" + options.numericId).removeClass("current");
				$("li#" + options.numericId + i).addClass("current");
			};
			
			function adjust(){
				if(t>ts) t=0;		
				if(t<0) t=ts;	
				if(!options.vertical) {
					$("ul",obj).css("margin-left",(t*w*-1));
				} else {
					$("ul",obj).css("margin-left",(t*h*-1));
				}
				clickable = true;
				if(options.numeric) setCurrent(t);
			};
			
			function animate(dir,clicked){
				if (clickable){
					clickable = false;
					var ot = t;				
					switch(dir){
						case "next":
							t = (ot>=ts) ? (options.continuous ? t+1 : ts) : t+1;						
							break; 
						case "prev":
							t = (t<=0) ? (options.continuous ? t-1 : 0) : t-1;
							break; 
						case "first":
							t = 0;
							break; 
						case "last":
							t = ts;
							break; 
						default:
							t = dir;
							break; 
					};	
					var diff = Math.abs(ot-t);
					var speed = diff*options.speed;						
					if(!options.vertical) {
						p = (t*w*-1);
						$("ul",obj).animate(
							{ marginLeft: p }, 
							{ queue:false, duration:speed, complete:adjust }
						);				
					} else {
						p = (t*h*-1);
						$("ul",obj).animate(
							{ marginTop: p }, 
							{ queue:false, duration:speed, complete:adjust }
						);					
					};
					
					if(!options.continuous && options.controlsFade){					
						if(t==ts){
							$("a","#"+options.nextId).hide();
							$("a","#"+options.lastId).hide();
						} else {
							$("a","#"+options.nextId).show();
							$("a","#"+options.lastId).show();					
						};
						if(t==0){
							$("a","#"+options.prevId).hide();
							$("a","#"+options.firstId).hide();
						} else {
							$("a","#"+options.prevId).show();
							$("a","#"+options.firstId).show();
						};					
					};				
					
					if(clicked) clearTimeout(timeout);
					if(options.auto && dir=="next" && !clicked){;
						timeout = setTimeout(function(){
							animate("next",false);
						},diff*options.speed+options.pause);
					};
			
				};
				
			};
			// init
			var timeout;
			if(options.auto){;
				timeout = setTimeout(function(){
					animate("next",false);
				},options.pause);
			};		
			
			if(options.numeric) setCurrent(0);
		
			if(!options.continuous && options.controlsFade){					
				$("a","#"+options.prevId).hide();
				$("a","#"+options.firstId).hide();				
			};				
			
		});
	  
	};

})(jQuery);













   function startContentSlider(width, height, conPrefix)
    {
    
$(document).ready(function(){	
	  $("#"+ conPrefix +"_slider").easySlider({
	   	auto: false,
		   continuous: true,
		   width: width,
		   height:height,
     prevId: 		conPrefix +'_button_prev',
     prevText: 		'',
     nextId: 		conPrefix +'_button_next',	
     nextText: 		'',
     controlsShow:		true,
     speed: 		900,
     pause:			2000
  });
});    
    
    }



  function startCustomerContentSlider()
   {
     startContentSlider('315', '222', 'customer');
   }
















/*
  Slimbox v2.02 - The ultimate lightweight Lightbox clone for jQuery
  (c) 2007-2009 Christophe Beyls <http://www.digitalia.be>
  MIT-style license.
*/






(function(w){var E=w(window),u,g,F=-1,o,x,D,v,y,L,s,n=!window.XMLHttpRequest,e=window.opera&&(document.compatMode=="CSS1Compat")&&(w.browser.version>=9.3),m=document.documentElement,l={},t=new Image(),J=new Image(),H,a,h,q,I,d,G,c,A,K;w(function(){w("body").append(w([H=w('<div id="lbOverlay" />')[0],a=w('<div id="lbCenter" />')[0],G=w('<div id="lbBottomContainer" />')[0]]).css("display","none"));h=w('<div id="lbImage" />').appendTo(a).append(q=w('<div style="position: relative;" />').append([I=w('<a id="lbPrevLink" href="#" />').click(B)[0],d=w('<a id="lbNextLink" href="#" />').click(f)[0]])[0])[0];c=w('<div id="lbBottom" />').appendTo(G).append([w('<a id="lbCloseLink" href="#" />').add(H).click(C)[0],A=w('<div id="lbCaption" />')[0],K=w('<div id="lbNumber" />')[0],w('<div style="clear: both;" />')[0]])[0]});w.slimbox=function(O,N,M){u=w.extend({loop:false,overlayOpacity:0.8,overlayFadeDuration:400,resizeDuration:400,resizeEasing:"swing",initialWidth:250,initialHeight:250,imageFadeDuration:400,captionAnimationDuration:400,counterText:"Image {x} of {y}",closeKeys:[27,88,67],previousKeys:[37,80],nextKeys:[39,78]},M);if(typeof O=="string"){O=[[O,N]];N=0}y=E.scrollTop()+((e?m.clientHeight:E.height())/2);L=u.initialWidth;s=u.initialHeight;w(a).css({top:Math.max(0,y-(s/2)),width:L,height:s,marginLeft:-L/2}).show();v=n||(H.currentStyle&&(H.currentStyle.position!="fixed"));if(v){H.style.position="absolute"}w(H).css("opacity",u.overlayOpacity).fadeIn(u.overlayFadeDuration);z();k(1);g=O;u.loop=u.loop&&(g.length>1);return b(N)};w.fn.slimbox=function(M,P,O){P=P||function(Q){return[Q.href,Q.title]};O=O||function(){return true};var N=this;return N.unbind("click").click(function(){var S=this,U=0,T,Q=0,R;T=w.grep(N,function(W,V){return O.call(S,W,V)});for(R=T.length;Q<R;++Q){if(T[Q]==S){U=Q}T[Q]=P(T[Q],Q)}return w.slimbox(T,U,M)})};function z(){var N=E.scrollLeft(),M=e?m.clientWidth:E.width();w([a,G]).css("left",N+(M/2));if(v){w(H).css({left:N,top:E.scrollTop(),width:M,height:E.height()})}}function k(M){w("object").add(n?"select":"embed").each(function(O,P){if(M){w.data(P,"slimbox",P.style.visibility)}P.style.visibility=M?"hidden":w.data(P,"slimbox")});var N=M?"bind":"unbind";E[N]("scroll resize",z);w(document)[N]("keydown",p)}function p(O){var N=O.keyCode,M=w.inArray;return(M(N,u.closeKeys)>=0)?C():(M(N,u.nextKeys)>=0)?f():(M(N,u.previousKeys)>=0)?B():false}function B(){return b(x)}function f(){return b(D)}function b(M){if(M>=0){F=M;o=g[F][0];x=(F||(u.loop?g.length:0))-1;D=((F+1)%g.length)||(u.loop?0:-1);r();a.className="lbLoading";l=new Image();l.onload=j;l.src=o}return false}function j(){a.className="";w(h).css({backgroundImage:"url("+o+")",visibility:"hidden",display:""});w(q).width(l.width);w([q,I,d]).height(l.height);w(A).html(g[F][1]||"");w(K).html((((g.length>1)&&u.counterText)||"").replace(/{x}/,F+1).replace(/{y}/,g.length));if(x>=0){t.src=g[x][0]}if(D>=0){J.src=g[D][0]}L=h.offsetWidth;s=h.offsetHeight;var M=Math.max(0,y-(s/2));if(a.offsetHeight!=s){w(a).animate({height:s,top:M},u.resizeDuration,u.resizeEasing)}if(a.offsetWidth!=L){w(a).animate({width:L,marginLeft:-L/2},u.resizeDuration,u.resizeEasing)}w(a).queue(function(){w(G).css({width:L,top:M+s,marginLeft:-L/2,visibility:"hidden",display:""});w(h).css({display:"none",visibility:"",opacity:""}).fadeIn(u.imageFadeDuration,i)})}function i(){if(x>=0){w(I).show()}if(D>=0){w(d).show()}w(c).css("marginTop",-c.offsetHeight).animate({marginTop:0},u.captionAnimationDuration);G.style.visibility=""}function r(){l.onload=null;l.src=t.src=J.src=o;w([a,h,c]).stop(true);w([I,d,h,G]).hide()}function C(){if(F>=0){r();F=x=D=-1;w(a).hide();w(H).stop().fadeOut(u.overlayFadeDuration,k)}return false}})(jQuery);

// AUTOLOAD CODE BLOCK (MAY BE CHANGED OR REMOVED)
jQuery(function($) {
  $("a[rel^='lightbox']").slimbox({/* Put custom options here */}, null, function(el) {
    return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
  });
});








/* ########## TOGGLE TEASER TABLE ################## */

function slideDown()
 {
   $('.hp_tt_text').slideDown(900);
 }
 
function slideUp()
 {
   $('.hp_tt_text').slideUp(900);
 }



















/* #################### SWEET JUSTICE ######################## */

!function(){var h=6;var p={code:true,pre:true,abbr:true};function b(v){var c=v.childNodes;for(var e=0;e<c.length;e++){var y=c[e];switch(y.nodeType){case 3:y.nodeValue=d(y.nodeValue);break;case 1:if(!p[y.nodeName.toLowerCase()]&&y.className.indexOf("justice-denied")===-1){b(y)}break}}}var t=/[ \s\n\r\v\t]+/;function d(v){var e=v.split(t);for(var c=0;c<e.length;c++){if(n(e[c])){e[c]=q(e[c])}}return e.join(" ")}function n(c){return(/\w{6,}/.test(c))&&(!/^[0-9\&]|@|\-|\u00AD/.test(c))}var x="aeiouyAEIOUYẚÁáÀàĂăẮắẰằẴẵẲẳÂâẤấẦầẪẫẨẩǍǎÅåǺǻÄäǞǟÃãȦȧǠǡĄąĀāẢảȀȁȂȃẠạẶặẬậḀḁȺⱥǼǽǢǣÉƏƎǝéÈèĔĕÊêẾếỀềỄễỂểĚěËëẼẽĖėȨȩḜḝĘęĒēḖḗḔḕẺẻȄȅȆȇẸẹỆệḘḙḚḛɆɇɚɝÍíÌìĬĭÎîǏǐÏïḮḯĨĩİiĮįĪīỈỉȈȉȊȋỊịḬḭIıƗɨÓóÒòŎŏÔôỐốỒồỖỗỔổǑǒÖöȪȫŐőÕõṌṍṎṏȬȭȮȯȰȱØøǾǿǪǫǬǭŌōṒṓṐṑỎỏȌȍȎȏƠơỚớỜờỠỡỞởỢợỌọỘộƟɵÚúÙùŬŭÛûǓǔŮůÜüǗǘǛǜǙǚǕǖŰűŨũṸṹŲųŪūṺṻỦủȔȕȖȗƯưỨứỪừỮữỬửỰựỤụṲṳṶṷṴṵɄʉÝýỲỳŶŷY̊ẙŸÿỸỹẎẏȲȳỶỷỴỵʏɎɏƳƴ";var w="[^"+x+"]";var k="["+x+"]";var l=new RegExp("("+k+w+")("+w+k+")","g");var o=new RegExp("(.{2,4}"+k+")("+w+")","g");var m=/\u00AD(.?)|$\u00AD(.{0,2}\w+)$/;function a(c){return c.replace(l,"$1\u00AD$2").replace(o,"$1\u00AD$2").replace(m,"$1")}var g=/^(\W*)(anti|auto|ab|an|ax|al|as|bi|bet|be|contra|cat|cath|cir|cum|cog|col|com|con|cor|could|co|desk|de|dis|did|dif|di|eas|every|ever|extra|ex|end|en|em|epi|evi|func|fund|fin|hyst|hy|han|il|in|im|ir|just|jus|loc|lig|lit|li|mech|manu|man|mal|mis|mid|mono|multi|mem|micro|non|nano|ob|oc|of|opt|op|over|para|per|post|pre|peo|pro|retro|rea|re|rhy|should|some|semi|sen|sol|sub|suc|suf|super|sup|sur|sus|syn|sym|syl|tech|trans|tri|typo|type|uni|un|van|vert|with|would|won)?(.*?)(weens?|widths?|icals?|ables?|ings?|tions?|ions?|ies|isms?|ists?|ful|ness|ments?|ly|ify|ize|ise|ity|en|ers?|ences?|tures?|ples?|als?|phy|puts?|phies|ry|ries|cy|cies|mums?|ous|cents?)?(\W*)$/i;function q(v){var e=g.exec(v);var c=[];if(e[2]){c.push(e[2])}if(e[3]){c.push(e[3].replace(l,"$1\u00AD$2"))}if(e[4]){c.push(e[4])}return(e[1]||"")+c.join("\u00AD")+(e[5]||"")}function i(A){var v=document.getElementsByTagName("body")[0];var y=/(?:\u00AD|\&#173;|\&shy;)/g;var B=document.createElement("div");B.style.overflow="hidden";B.style.position="absolute";B.style.top="-5000px";B.style.height="1px";v.appendChild(B);if(typeof window.getSelection!=="undefined"){sel=window.getSelection();var z=sel.getRangeAt(0);B.appendChild(z.cloneContents());B.innerHTML=B.innerHTML.replace(y,"");sel.selectAllChildren(B);window.setTimeout(function(){B.parentNode.removeChild(B);if(typeof window.getSelection().setBaseAndExtent!=="undefined"){sel.setBaseAndExtent(z.startContainer,z.startOffset,z.endContainer,z.endOffset)}},0)}else{sel=document.selection;var z=sel.createRange();B.innerHTML=z.htmlText.replace(y,"");var c=v.createTextRange();c.moveToElementText(B);c.select();window.setTimeout(function(){B.parentNode.removeChild(B);if(z.text!==""){z.select()}},0)}return}function f(){jQuery(".sweet-justice, .sweet-hyphens").each(function(c,e){b(e)});jQuery("body").bind("copy",i)}function s(c){c.all(".sweet-justice, .sweet-hyphens").each(function(e){b(c.Node.getDOMNode(e))});c.Node.DOM_EVENTS.copy=1;c.one("body").on("copy",i)}try{var r=document.createElement("style");r.type="text/css";var j=".sweet-justice {text-align:justify;text-justify:distribute} .justice-denied {text-align:left;text-justify:normal}";if(!!(window.attachEvent&&!window.opera)){r.styleSheet.cssText=j}else{r.appendChild(document.createTextNode(j))}document.getElementsByTagName("head")[0].appendChild(r)}catch(u){}if(window.jQuery){jQuery(window).load(f)}else{if(window.YUI){YUI().use("node",function(c){s(c)})}}}();


