/* <![CDATA[ */
var sx__si,sx__li,sx__lo,sx__tt,sx__th,sx__ts,sx__la,sx__ic,sx__ib;
var qp="parentNode";
var qc="className";
var qi="id";
var sx__t=navigator.userAgent;
var sx__o=sx__t.indexOf("Opera")+1;
var sx__s=sx__t.indexOf("afari")+1;
var sx__s2=sx__s&&sx__t.indexOf("ersion/2")+1;
var sx__s3=sx__s&&sx__t.indexOf("ersion/3")+1;
var sx__n=sx__t.indexOf("Netscape")+1;
var sx__v=parseFloat(navigator.vendorSub);;
function sx__create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){
var w="onmouseover";
var ww=w;
var e="onclick";
if(oc){
	if(oc=="all"||(oc=="lev2"&&l>=2)){
	w=e;ts=0;
	}
	if(oc=="all"||oc=="main"){
	ww=e;th=0;
	}
}

if(!l){
l=1;
sx__th=th;
sd=document.getElementById("sx_"+sd);
	if(window.sx__pure)sd=sx__pure(sd);
	sd[w]=function(e){sx__kille(e)};
	document[ww]=sx__bo;
		if(oc=="main"){
		sx__ib=true;sd[e]=function(event){sx__ic=true;sx__oo(new Object(),sx__la,1);sx__kille(event)};
		document.onmouseover=function(){sx__la=null;clearTimeout(sx__tt);sx__tt=null;};
		}
	sd.style.zoom=1;
	if(sh)x2("sx_sh",sd,1);
	if(!v)sd.ch=1;}else  if(sh)sd.ch=1;if(oc)sd.oc=oc;if(sh)sd.sh=1;if(fl)sd.fl=1;if(ft)sd.ft=1;if(rl)sd.rl=1;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;
	
	for(var i=0;i<sp.length;i++){
	var b=sp[i];
		if(b.tagName=="A"){
		lsp=b;b[w]=sx__oo;
			if(w==e){b.onmouseover=function(event){clearTimeout(sx__tt);sx__tt=null;sx__la=null;sx__kille(event);}}
			b.sx_ts=ts;
				if(l==1&&v){
				b.style.styleFloat="none";
				b.style.cssFloat="none";
				}
			}else  if(b.tagName=="DIV"){
				if(window.showHelp&&!window.XMLHttpRequest)sp[i].insertAdjacentHTML("afterBegin","<span class='sx_clear'>&nbsp;</span>");x2("sx_parent",lsp,1);lsp.cdiv=b;b.idiv=lsp;if(sx__n&&sx__v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new sx__create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1);
				}
			}
	};
	
	
function sx__bo(e){sx__ic=false;sx__la=null;clearTimeout(sx__tt);sx__tt=null;if(sx__li)sx__tt=setTimeout("x0()",sx__th);};function x0(){var a;if((a=sx__li)){do{sx__uo(a);}while((a=a[qp])&&!sx__a(a))}sx__li=null;};
function sx__a(a){if(a[qc].indexOf("sx_mc")+1) return 1;};
function sx__uo(a,go){if(!go&&a.sx_tree)return;if(window.sx_ad&&sx_ad.bhide)eval(sx_ad.bhide);a.style.visibility="";x2("sx_active",a.idiv);};;
function sx__oo(e,o,nt){showChapter(this.id);  if(!o)o=this;if(sx__la==o&&!nt)return;if(window.sx_v_a&&!nt)sx_v_a(o);if(window.sx_wait){sx__kille(e); return; }
clearTimeout(sx__tt);
sx__tt=null;
sx__la=o;
if(!nt&&o.sx_ts){sx__si=o;sx__tt=setTimeout("sx__oo(new Object(),sx__si,1)",o.sx_ts);return;}
var a=o;
if(a[qp].isrun){sx__kille(e);return;}
if(sx__ib&&!sx__ic)return;
var go=true;
while((a=a[qp])&&!sx__a(a)){
	if(a==sx__li)go=false;
}
if(sx__li&&go){
	a=o;
	if((!a.cdiv)||(a.cdiv&&a.cdiv!=sx__li))sx__uo(sx__li);
	a=sx__li;
	while((a=a[qp])&&!sx__a(a)){
		if(a!=o[qp]&&a!=o.cdiv)sx__uo(a);else break;
	}
}
var b=o;
var c=o.cdiv;
if(b.cdiv){
	var aw=b.offsetWidth;
	var ah=b.offsetHeight;
	var ax=b.offsetLeft;
	var ay=b.offsetTop;
	if(c[qp].ch){
		aw=0;
		if(c.fl)ax=0;
	}else {
		if(c.ft)ay=0;
		if(c.rl){
			ax=ax-c.offsetWidth;
			aw=0;
		}
		ah=0;
	}
	if(sx__o){
		ax-=b[qp].clientLeft;
		ay-=b[qp].clientTop;
	}
	if(sx__s2&&!sx__s3){
		ax-=sx__gcs(b[qp],"border-left-width","borderLeftWidth");
		ay-=sx__gcs(b[qp],"border-top-width","borderTopWidth");
	}
	if(!c.ismove){
		c.style.left=(ax+aw)+"px";
		c.style.top=(ay+ah)+"px";
	}
	x2("sx_active",o,1);
	if(window.sx_ad&&sx_ad.bvis)eval(sx_ad.bvis);
	c.style.visibility="inherit";sx__li=c;
	}else  if(!sx__a(b[qp]))sx__li=b[qp];else sx__li=null;sx__kille(e);};function sx__gcs(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(v&&!isNaN(v=parseInt(v)))return v;else return 0;};
	function x2(name,b,add){var a=b[qc];if(add){if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;}else {b[qc]=a.replace(" "+name,"");b[qc]=b[qc].replace(name,"");}};function sx__kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation&&!(sx__s&&e.type=="click"))e.stopPropagation();};function sx__pure(sd){if(sd.tagName=="UL"){var nd=document.createElement("DIV");nd.sx_pure=1;var c;if(c=sd.style.cssText)nd.style.cssText=c;sx__convert(sd,nd);var csp=document.createElement("SPAN");csp.className="sx_clear";csp.innerHTML="&nbsp;";nd.appendChild(csp);sd=sd[qp].replaceChild(nd,sd);sd=nd;}return sd;};function sx__convert(a,bm,l){if(!l)bm[qc]=a[qc];bm.id=a.id;var ch=a.childNodes;for(var i=0;i<ch.length;i++){if(ch[i].tagName=="LI"){var sh=ch[i].childNodes;for(var j=0;j<sh.length;j++){if(sh[j]&&(sh[j].tagName=="A"||sh[j].tagName=="SPAN"))bm.appendChild(ch[i].removeChild(sh[j]));if(sh[j]&&sh[j].tagName=="UL"){var na=document.createElement("DIV");var c;if(c=sh[j].style.cssText)na.style.cssText=c;if(c=sh[j].className)na.className=c;na=bm.appendChild(na);new sx__convert(sh[j],na,1)}}}}}

var sx_ad = new Object();
sx_ad.bvis="";
sx_ad.bhide="";
var a = sx_ad.sx_0 = new Object();
a.slide_animation_frames = 15;

//animation
sx_ad.slide=new Object();
if(sx_ad.bvis.indexOf("sx__slide_a(b.cdiv);")==-1)sx_ad.bvis+="sx__slide_a(b.cdiv);";
if(sx_ad.bhide.indexOf("sx__slide_a(a,1);")==-1)sx_ad.bhide+="sx__slide_a(a,1);";
sx_ad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;
sx_ad.br_version=parseFloat(navigator.vendorSub);
sx_ad.br_oldnav=sx_ad.br_navigator&&sx_ad.br_version<7.1;
sx_ad.br_ie=window.showHelp;
sx_ad.br_mac=navigator.userAgent.indexOf("Mac")+1;
sx_ad.br_old_safari=navigator.userAgent.indexOf("afari")+1&&!window.XMLHttpRequest;
sx_ad.slide_off=sx_ad.br_oldnav||(sx_ad.br_mac&&sx_ad.br_ie)||sx_ad.br_old_safari;;
function sx__slide_a(a,hide){var z;if((a.style.visibility=="inherit"&&!hide)||(sx_ad.slide_off)||((z=window.sx_v)&&(z=z.addons)&&(z=z.slide_effect)&&!z["on"+sx__index(a)]))return;var ss;if(!a.settingsid){var v=a;while((v=v.parentNode)){if(v.className.indexOf("sx_mc")+1){a.settingsid=v.id;break;}}}ss=sx_ad[a.settingsid];if(!ss)return;if(!ss.slide_animation_frames)return;var steps=ss.slide_animation_frames;var b=new Object();b.obj=a;b.offy=ss.slide_offxy;b.left_right=ss.slide_left_right;b.sub_subs_left_right=ss.slide_sub_subs_left_right;b.drop_subs=ss.slide_drop_subs;if(!b.offy)b.offy=0;if(b.sub_subs_left_right&&a.parentNode.className.indexOf("sx_mc")==-1)b.left_right=true;if(b.left_right)b.drop_subs=false;b.drop_subs_height=ss.slide_drop_subs_height;b.drop_subs_disappear=ss.slide_drop_subs_disappear;b.accelerator=ss.slide_accelerator;if(b.drop_subs&&!b.accelerator)b.accelerator=1;if(!b.accelerator)b.accelerator=0;b.tb="top";b.wh="Height";if(b.left_right){b.tb="left";b.wh="Width";}b.stepy=a["offset"+b.wh]/steps;b.top=parseInt(a.style[b.tb]);if(!hide)a.style[b.tb]=(b.top - a["offset"+b.wh])+"px";else {b.stepy=-b.stepy;x2("sx_fv",a,1);}a.isrun=true;sx__slide_ai(sx__slide_am(b,hide),hide);};
function sx__slide_ai(id,hide){var a=sx_ad.slide["_"+id];if(!a)return;var cy=parseInt(a.obj.style[a.tb]);if(a.drop_subs)a.stepy+=a.accelerator;else {if(hide)a.stepy -=a.accelerator;else a.stepy+=a.accelerator;}if((!hide&&cy+a.stepy<a.top)||(hide&&!a.drop_subs&&cy+a.stepy>a.top-a.obj["offset"+a.wh])||(hide&&a.drop_subs&&cy<a.drop_subs_height)){var bc=2000;if(hide&&a.drop_subs&&!a.drop_subs_disappear&&cy+a.stepy+a.obj["offset"+a.wh]>a.drop_subs_height)bc=a.drop_subs_height-cy+a.stepy;
var tc=Math.round(a.top-(cy+a.stepy)+a.offy);
if(a.left_right)a.obj.style.clip="rect(auto 2000px 2000px "+tc+"px)";
else a.obj.style.clip="rect("+tc+"px 2000px "+bc+"px auto)";
a.obj.style[a.tb]=Math.round(cy+a.stepy)+"px";
a.timer=setTimeout("sx__slide_ai("+id+","+hide+")",10);}else {a.obj.style[a.tb]=a.top+"px";a.obj.style.clip="rect(0 auto auto auto)";
if(a.obj.style.removeAttribute)a.obj.style.removeAttribute("clip");
else a.obj.style.clip="auto";
if(!window.showHelp)a.obj.style.clip="";
if(hide){x2("sx_fv",a.obj);
if(sx_ad.br_ie&&!a.obj.style.visibility){a.obj.style.visibility="hidden";a.obj.style.visibility="";	 
}
}
sx_ad.slide["_"+id]=null;a.obj.isrun=false;
}
};
function sx__slide_am(obj,hide){
var k;
for(k in sx_ad.slide){
if(sx_ad.slide[k]&&obj.obj==sx_ad.slide[k].obj){
	if(sx_ad.slide[k].timer){clearTimeout(sx_ad.slide[k].timer);sx_ad.slide[k].timer=null;}obj.top=sx_ad.slide[k].top;sx_ad.slide[k].obj.isrun=false;sx_ad.slide[k]=null;
	}
}
var i=0;
while(sx_ad.slide["_"+i])i++;sx_ad.slide["_"+i]=obj;return i;
}


function getCityLangs(cityid,lang,mycity){
	http_request = false;
	if (window.XMLHttpRequest) {
	http_request = new XMLHttpRequest();
	} 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.overrideMimeType){
	http_request.overrideMimeType('text/xml');
	}
	var zeit = new Date();
	var uid = zeit.getHours()+zeit.getMinutes()+zeit.getSeconds()+zeit.getMilliseconds();
	http_request.onreadystatechange = showCityLangs;
	http_request.open('POST', "../../global/skript/sitemap.php", true);
	http_request.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
	vars = "qaction=get_city_langs";
	vars += "&cityid="+cityid;
	vars += "&lang="+lang;
	vars += "&mycity="+mycity;
	http_request.send(vars+"&uid="+uid);
}
function showCityLangs(){
if (http_request.readyState == 4) {
if (http_request.status == 200) {
document.getElementById('cnav').innerHTML = http_request.responseText;
}
}
}
/* ]]> */