var isNS4=0;var isIE4=0;var isNS6=0;var isNew=0;var docObj,styleObj,currObj,cstyleObj;var str_agent=navigator.userAgent.toLowerCase();var brow=((navigator.appName)+(parseInt(navigator.appVersion)));if(parseInt(navigator.appVersion>=5)){isNew=1}else{if(brow=="Netscape4"){isNS4=1}else{if(brow=="Netscape5"){isNS6=1}else{if(brow=="Microsoft Internet Explorer4"){isIE4=1}}}}if(isNS4||isNS6||isIE4||isNew){if(isNS4){docObj="document."}else{if(isNS6){docObj="document.getElementById('"}else{docObj="document.all."}}if(isNS4){styleObj=""}else{if(isNS6){styleObj="').style"}else{styleObj=".style"}}if(isNS4){cstyleObj=""}else{if(isNS6){cstyleObj="').currentStyle"}else{cstyleObj=".currentStyle"}}}function getQuery(E){var A=location.search.substring(1,location.search.length);var D="";var B=A.indexOf(E+"=");var C=A.substring((B+(E.length+1)),A.length);if(B!=-1){if(C.indexOf("&")!=-1){D=C.substring(0,C.indexOf("&"))}else{D=C}}return D}function replaceSubstring(B,C,A){rtn="";flg=0;for(i=0;i<B.length;i++){if(B.substr(i,C.length)==C){rtn+=A;i+=(C.length-1)}else{rtn+=B.charAt(i)}}return(rtn)}function openPopup(B,D,C,A){window.open(B,D,"toolbar=no,location=no,width="+C+",height="+A+",status=yes,scrollbars=yes,scrolling=yes,menubar=no,resizable=yes")}function openPopupLocked(B,D,C,A){window.open(B,D,"toolbar=no,location=no,width="+C+",height="+A+",status=yes,scrollbars=yes,scrolling=yes,menubar=no,resizable=no")}function goPage(A){location.href=A}function layer_change(l,t,v){if(isNS4||isNS6||isIE4||isNew){eval(docObj+l+styleObj+"."+t+' = "'+v+'"')}}function inputover(B,A){if(A==1){if(document.getElementById){document.getElementById(B).src=document.getElementById(B).src.substring(0,document.getElementById(B).src.lastIndexOf("/")+1)+B+"_dn.gif"}}if(A==0){if(document.getElementById){document.getElementById(B).src=document.getElementById(B).src.substring(0,document.getElementById(B).src.lastIndexOf("/")+1)+B+"_up.gif"}}}function input_numover(C,B,A){if(A==1){if(document.getElementById){document.getElementById(C+B).src="/english/images/common/"+C+"_dn.gif"}}if(A==0){if(document.getElementById){document.getElementById(C+B).src="/english/images/common/"+C+"_up.gif"}}}function input_nameover(C,B,A){if(A==1){if(document.getElementById){document.getElementById(C).src="/images/"+B}}if(A==0){if(document.getElementById){document.getElementById(C).src="/images/"+B}}}function clearText(C,A,E){if(E==""){E=0}var D=document.forms[E];var B=D.elements[C].value;if(B==A){D.elements[C].value=""}}function get_property(C,A){var B;if(document.getElementById){B=document.getElementById(A);return B[C]}}var prevclass=new Array;prevclass.rollover1="";prevclass.rollover2="";prevclass.rollover3="";prevclass.rollover4="";prevclass.rollover5="";var rollovers=new Array("rollover1","rollover2","rollover3","rollover4","rollover5");var nav_menus=new Array("nav1","nav2","nav3","nav4","nav5");var roll_width=new Array();var var_rollover="";roll_width.rollover1=159;roll_width.rollover2=163;roll_width.rollover3=156;roll_width.rollover4=95;roll_width.rollover5=196;function numSort(B,A){return A-B}function show_menu(B,D){if(B==""&&var_rollover==""){var_rollover=B}else{if(B==var_rollover){hide_menu(B);var_rollover="";return }else{var_rollover=B}}var E="container";var I=document.getElementById(D);prevclass[B]=I.className;if(prevclass[B]=="item_js_sel"){prevclass[B]="item_sel"}if(document.getElementById){if(str_agent.indexOf("msie")>-1){var H=roll_width[B];H=H}else{var H=roll_width[B];H=H+3}layer_change(B,"marginLeft","0px");if(B=="rollover5"){if(str_agent.indexOf("msie")>-1){layer_change(B,"width",H+"px")}else{layer_change(B,"width",(H-3)+"px")}}else{if(B=="rollover2"){if(str_agent.indexOf("msie")>-1){layer_change(B,"width",(H+11)+"px")}else{layer_change(B,"width",(H+8)+"px")}}else{layer_change(B,"width",(H+3)+"px")}}var C=document.getElementById(B).getElementsByTagName("a");var A=Array();for(i=1;i<C.length;i++){A[i-1]=C[i].innerHTML.length}A=A.sort(numSort);if(A[0]>1){for(i=0;i<C.length;i++){var G=(A[0]*6.3);if(H<G){C[i].style.width=G+"px"}}}if(str_agent.indexOf("msie")>-1){if(B=="rollover1"){layer_change(B,"marginLeft","-"+(H+2)+"px")}else{if(B=="rollover2"){layer_change(B,"marginLeft","-"+(H+10)+"px")}else{if(B=="rollover3"){layer_change(B,"marginLeft","-"+(H-16)+"px")}else{if(B=="rollover5"){layer_change(B,"marginLeft","-"+(H-1)+"px")}else{layer_change(B,"marginLeft","-"+(H+1)+"px")}}}}}else{if(B=="rollover1"||B=="rollover2"){layer_change(B,"marginLeft","-1px")}else{if(B=="rollover5"){layer_change(B,"marginLeft","-1px")}else{layer_change(B,"marginLeft","-1px")}}}hide_menus();if(str_agent.indexOf("msie")>-1){if(str_agent.indexOf("7.0")<=-1){var F=document.getElementsByTagName("select");if(F.length>0){for(i=0;i<F.length;i++){F[i].style.visibility="hidden"}}}}I.className="item_js_sel";layer_change(B,"marginTop","22px");layer_change(B,"display","block")}}function hide_menu(A){if(document.getElementById){layer_change(A,"display","none")}}function hide_menus(){var B="";for(i=0;i<rollovers.length;i++){if(document.getElementById(rollovers[i])){if(document.getElementById(nav_menus[i]).className=="item_js_sel"&&prevclass[rollovers[i]]!="item_sel"){document.getElementById(nav_menus[i]).className="item"}layer_change(rollovers[i],"display","none");B="show"}}if(B=="show"){if(str_agent.indexOf("msie")>-1){if(str_agent.indexOf("7.0")<=-1){var A=document.getElementsByTagName("select");if(A.length>0){for(i=0;i<A.length;i++){A[i].style.visibility="visible"}}}}B=""}}document.onmouseup=hide_menus;function show_contacts(){layer_change("show_contacts","display","none");layer_change("contacts_block","display","block")}function hide_contacts(){layer_change("show_contacts","display","block");layer_change("contacts_block","display","none")}function show_organisations(B){var A=document.getElementById("web_form").getElementsByTagName("div");var C=1;for(i=0;i<A.length;i++){if(A[i].id.indexOf(B)>-1){if(document.getElementById(B+C+"a")){layer_change(B+"1","display","block");layer_change(B+C+"a","display","block");layer_change(B+C+"b","display","block");C++}}}}function show_events(B){var A=new Array("week","month","year");if(document.getElementById){var C=document.getElementById("events_"+B);for(i=0;i<A.length;i++){var D=document.getElementById("event_"+A[i]);layer_change("events_"+A[i],"display","none");if(A[i]==B){D.className="sel"}else{D.className=""}}layer_change("events_"+B,"display","block")}}function swapTab(A,B){document.getElementById(A).style.display="block";document.getElementById(B).style.display="none"}function launchEvent(C,B,A){}function hideSelect(){if(str_agent.indexOf("msie")>-1){if(str_agent.indexOf("7.0")<=-1){var A=document.getElementsByTagName("select");if(A.length>0){for(i=0;i<A.length;i++){A[i].style.visibility="hidden"}}}}}function showSelect(){if(str_agent.indexOf("msie")>-1){if(str_agent.indexOf("7.0")<=-1){var A=document.getElementsByTagName("select");if(A.length>0){for(i=0;i<A.length;i++){A[i].style.visibility="visible"}}}}}if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=function(){}}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs)};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true}}if(!document.getElementById&&document.all){document.getElementById=function(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

function scrpt_readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function jsRedirectForm(p_form, p_url, p_args) {
	if (p_args.length > 0 && p_url.length > 0)  {
		p_form.action = p_form.action = p_url + p_args;
		p_form.submit();
	}
	return false;
}
