function $(v,node) {if(!v||v.length<2)return false;if(!node)node=document;switch(v.substr(0,1)) {case "#":return node.getElementById(v.substr(1));case "<":if (o=node.getElementById(v.substr(1))) return o.parentNode; else return false;default:return citysam.DOM.getElementsByClass(v.substr(1),node);}}
 var clientPC = navigator.userAgent.toLowerCase();var is_gecko = ((clientPC.indexOf('gecko')!=-1) && (clientPC.indexOf('spoofer')==-1)&& (clientPC.indexOf('khtml') == -1) && (clientPC.indexOf('netscape/7.0')==-1));var is_safari = ((clientPC.indexOf('AppleWebKit')!=-1) && (clientPC.indexOf('spoofer')==-1));var is_khtml = (navigator.vendor == 'KDE' || (document.childNodes && !document.all && !navigator.taintEnabled ));if (clientPC.indexOf('opera') != -1) {var is_opera = true;var is_opera_preseven = (window.opera && !document.childNodes);var is_opera_seven = (window.opera && document.childNodes);}
 var mouse_pos_x = 0;var mouse_pos_y = 0;var screen_x = 0;var screen_y = 0;  var docEl = (typeof document.compatMode != "undefined" && document.compatMode != "BackCompat") ? "documentElement" : "body";if ((typeof citysam) != "object") {var citysam = {};var Citysam=citysam;citysam.getBrowser=(function() {var cache=null;return function(){if(cache==null){var check=[["window.postMessage","window.XMLHttpRequest&&(document.postMessage||window.external)","document.compatMode","(document.detachEvent||document.contentType)"],["window.execScript","window.pkcs11","window.opera","window.navigator&&window.navigator.vendor"],[[{b:"IE",v:8},{b:"FF",v:3},{b:"OP",v:9.5},{b:"KDE",v:0}],[{b:"IE",v:7},{b:"FF",v:2},{b:"OP",v:9},{b:"KDE",v:0}],[{b:"IE",v:6},{b:"FF",v:1.5},{b:"OP",v:8},{b:"SAF",v:3}],[{b:"IE",v:5},{b:"NN",v:7},{b:"OP",v:7},{b:"KON",v:3}]]];var j,b,i;for(i=0;i<check[1].length;i++){if(!eval(check[1][i])==0)b=i;}for(i=check[0].length;i>-1;i--){if(!eval(check[0][i])==0)j=i;}cache=((j>-1&&b>-1)?check[2][j][b]:{b:"U",v:0});}return cache;};})();citysam.DOM = (function() {return {bindEvent : function(m,o,f,id,co) {if(!o)return;if (typeof o.cF=="undefined" || typeof o.cF[m]=="undefined") { var oldf=o[m]; if (typeof o.cF=="undefined") o.cF=[];  o.cF[m]=[]; o[m]=(function() {var o2=o; var m2=m; return function(e) {var r;for(i in o2.cF[m2]) { var p=o2.cF[m2][i].apply(o2,[e]); if (r!==false || p===false) { r=p; }}return r;};}());if (typeof oldf=="function") { o.cF[m][0]=oldf; }}if(co){ var _f=f,f=function(e){return _f.apply(co,[e]);};}if (!id) {o.cF[m].push(f); } else {o.cF[m][id]=f; }},deleteEvents : function(m,o,id) {if (typeof o.cF=="undefined" || typeof o.cF[m]=="undefined") return;if (!id) {o.cF[m]=[];} else {delete(o.cF[m][id]);}},getElementsByClass : function(klasse,knoten,tag) {var classElements = new Array();if ( knoten == null )knoten = document;if ( tag == null )tag = '*';var el = knoten.getElementsByTagName(tag);var elLen = el.length;var pattern = new RegExp("(^|\\s)" + klasse + "(\\s|$)");for (i = 0, j = 0; i < elLen; i++) {if ( pattern.test(el[i].className) ) {classElements[j] = el[i];j++;}}return classElements;},getElementPos : function(el,d) { var coords={x:0,y:0};var i=0;var element=(typeof el!="object")?$("#"+el):el; while(element) {coords.x+=element.offsetLeft;coords.y+=element.offsetTop;element=element.offsetParent;if(typeof d&&++i>=d)break;				   }return coords;},isChild : function(p,c) {while(c) {if (p===c) {return true;}c=c.parentNode;}return false;},getCookie : function(n) {var v="";if(document.cookie != "") {var s=document.cookie.indexOf(n+"=");if(s >= 0) {s=s+n.length+1;var l=document.cookie.indexOf(";", s);if(l < 0)l=document.cookie.length;v=document.cookie.substring(s, l);v=decodeURIComponent(v);v=v.replace(/\+/, " ");}}return v;},setCookie : function(n,v,ex) {var ed=new Date();ed.setDate(ed.getDate()+parseInt(ex));document.cookie=n+"="+encodeURIComponent(v)+";expires="+ed.toGMTString()+";path=/";},getSCoo : function(n) { var c=citysam.DOM.getCookie("kfu4zh"); if (!c) return false; var sp=c.split("|"); n+="=";var v=false; for(i in sp) { if (sp[i].substr(0,n.length)==n) { v=sp[i].substr(n.length); break; }}return v; },setSCoo : function(n,v) { var c=citysam.DOM.getCookie("kfu4zh"); var sp=c.split("|"); n+="=";var nrv="";for(i in sp) { if (!sp[i]) continue; if (sp[i].substr(0,n.length)!=n) { nrv+=sp[i]+"|"; }}nrv+=n+v; citysam.DOM.setCookie("kfu4zh",nrv,"365"); }};})();citysam.gui = (function() {var selSt=new Array(),winScrW=0;return {hintText : function(t,o,c,x,y) { var h = document.createElement("div");h.innerHTML=t;h.className=c;h.style.position="absolute";if (!x) x=o.offsetLeft+20;if (!y) y=o.offsetTop-20;h.style.left=x + "px";h.style.top=y + "px";h.style.zIndex="999";f = (function() {var obj=o;var dh=h;var id="i"+x;return function() {dh.parentNode.removeChild(dh);citysam.DOM.deleteEvents("onmouseout", obj);citysam.gui.showSel(id);};})();o.parentNode.appendChild(h);citysam.gui.hideSelP("i"+x, h);citysam.DOM.bindEvent("onmouseout",o,f);},showD : function(n) {if (o=document.getElementById(n)) {  o.style.display="block";o.style.opacity=1.0;o.style.filter="Alpha(opacity=100, finishopacity=100, style=2)";if (o.timeout) { window.clearTimeout(o.timeout);}}},showE : function(o,t,cb,cbp) {if (o) {if(t){o.style.visibility="visible";}else{o.style.display="block";}if (o.timeout) { window.clearTimeout(o.timeout);}if(cb){ if(typeof cb=="function"){cb(cbp); }else{cb[1].apply(cb[0],[cbp]);}}}},hideD : function(n) {var o=false;if (o=document.getElementById(n)) {var f=function() {o.style.display="none";};var t=window.setTimeout(f, 10); o.timeout=t; }},hideE : function(o,t,cb,cbp) {if (o) {var f=function() {if(t){o.style.visibility="hidden";}else{o.style.display="none";}if(cb){ if(typeof cb=="function"){cb(cbp); }else{cb[1].apply(cb[0],[cbp]);}}};if(citysam.getBrowser().b=="IE"){o.timeout=window.setTimeout(f, 10);  }else{f();}}},hideSel : function(id) { if (!document.all) return false;if (selSt[id]) return false;selSt[id]=true;var t;for(i=0;i<document.getElementsByTagName("select").length;i++) {var sel=document.getElementsByTagName("select")[i];if (typeof sel == "object") {if (sel.style) {t=sel.style.visibility;} else {t="visible";}if (typeof sel.tvsbl=="undefined") {sel.tvsbl=t;}sel.style.visibility="hidden";}}},getEPosWH : function(o) { var p=citysam.DOM.getElementPos(o);return {x:p.x,y:p.y,w:o.offsetWidth,h:o.offsetHeight};},getEWH : function(o) { return {w:o.offsetWidth,h:o.offsetHeight};},pInArea : function(a,x,y) { return (x>=a.x && x<=a.x+a.w && y>=a.y && y<=a.y+a.h);},liXArea : function(a,y1,y2,x1,x2) { return (((a.y<=y1 && a.y+a.h>=y1) || (a.y<=y2 && a.y+a.h>=y2)) && x1<a.x && x2>a.x+a.w);},cInArea : function(a,p) { return (a.x<=p.x && a.x+a.w>=p.x+p.w && a.y<=p.y && a.y+a.h>=p.y+p.h);},oInArea : function(a,o) { var p=citysam.gui.getEPosWH(o);return (citysam.gui.pInArea(a,p.x,p.y) || citysam.gui.pInArea(a,p.x+p.w,p.y) || citysam.gui.pInArea(a,p.x,p.y+p.h) || citysam.gui.pInArea(a,p.x+p.w,p.y+p.h) || citysam.gui.liXArea(a,p.y,p.y+p.h,p.x,p.x+p.w));},getWinDim : function() { if (document.all) {return {x:document.body.scrollLeft,y:document.body.scrollTop,w:document.documentElement.clientWidth,h:document.documentElement.clientHeight};} else {return {x:window.pageXOffset,y:window.pageYOffset,w:window.innerWidth-citysam.gui.getWinScrW(),h:window.innerHeight};}},getWinScrW : function() { return 17;},hideSelP : function(id, o) { if (citysam.getBrowser().b!="IE") return false;if (selSt[id]) return false;var op=citysam.gui.getEPosWH(o);var t,i,f=false;for(i=0;i<document.getElementsByTagName("select").length;i++) {var sel=document.getElementsByTagName("select")[i];if (typeof sel.tvsbl=="undefined") {if (sel.style) {t=sel.style.visibility;} else {t="visible";}sel.tvsbl=t;}if (citysam.gui.oInArea(op,sel) && !citysam.DOM.isChild(o,sel)) {sel.style.visibility="hidden";f=true;}}if(f)selSt[id]=true;},showSel : function(id) { if (!document.all) return false;if (!selSt[id]) return true;selSt[id]=false;for (i in selSt) {if (selSt[i]) return false;}for(i=0;i<document.getElementsByTagName("select").length;i++) {sel=document.getElementsByTagName("select")[i];if (typeof sel.tvsbl!="undefined" && sel.style) {sel.style.visibility=sel.tvsbl;}}},updateMousePos : function(e) { if (self.pageYOffset) {screen_x = self.pageXOffset;screen_y = self.pageYOffset;}else if (document.documentElement && document.documentElement.scrollTop) {screen_x = document.documentElement.scrollLeft;screen_y = document.documentElement.scrollTop;}else if (document.body) {screen_x = document.body.scrollLeft;screen_y = document.body.scrollTop;}if (document.all) {mouse_pos_x = window.event.clientX + document[docEl].scrollLeft;mouse_pos_y = window.event.clientY + document[docEl].scrollTop;} else {mouse_pos_x = e.pageX;mouse_pos_y = e.pageY;}},popImg : function(o,im,c,a,t,ta) { if (o.cImg) { if (o.cITi) window.clearTimeout(o.cITi); return;} var d=document.createElement("div"); d.className=c; d.style.position="absolute";var p=citysam.gui.getEPosWH(a?a:o);d.style.left=(p.x+(p.w / 3 * 2)) + "px"; d.style.top=(p.y+(p.h / 3 * 2)) + "px";var i=document.createElement("img"); i.src=im;citysam.DOM.bindEvent("onload", i, function() {citysam.gui.posImg(a?a:o,d);if((e=o.getElementsByTagName("span")) && e[0]) { e[0].style.width=i.width + "px";}}); d.appendChild(i);if (t) { var s=document.createElement("span");s.innerHTML=t;if (l=s.getElementsByTagName("a")) { var target = ta?ta:"_blank";for (var j=0; j<l.length;j++) {citysam.DOM.bindEvent("onclick", l[j], function(){window.open(this.href, target);});}}d.appendChild(s);}o.appendChild(d);o.cImg=d;citysam.gui.posImg(a?a:o,d); if((e=o.getElementsByTagName("span")) && e[0]) { e[0].style.width=i.width + "px";}},posImg : function(o,d) { var p=citysam.gui.getEPosWH(d); var b=citysam.gui.getWinDim(); if (citysam.gui.cInArea(b,p)) return; var po=citysam.gui.getEPosWH(o); var m={x:po.x+po.w/2,y:po.y+po.h/2}; var yu=(b.y+b.h>=m.y+p.h); var yo=(b.y<=m.y-p.h); var xl=(b.x<=m.x-p.w); var xr=(b.x+b.w>=m.x+p.w); var n;if (yu&&xr) { n={x:m.x,y:m.y};} else if(yu&&xl) { n={x:m.x-p.w,y:m.y};} else if (yo&&xr) { n={x:m.x,y:m.y-p.h};} else if (yo&&xl) { n={x:m.x-p.w,y:m.y-p.h};} else { n={x:b.x+5,y:b.y+5};if (yo) n.y=m.y-p.h;if (yu) n.y=m.y;if (xl) n.x=m.x-p.w;if (xr) n.x=m.x;}d.style.left=n.x+"px";d.style.top=n.y+"px";},shImg : function(o) { if (o.cITi) window.clearTimeout(o.cITi);o.cITi=window.setTimeout(function() {citysam.gui.hImg(o);},10);},hImg : function(o) { if (!o.cImg) return; o.removeChild(o.cImg); o.cImg=false;},fade : function(o, cb, a) { if (!a)  o.fadeStatus = "fadeIn";if (!o.style.opacity) o.style.opacity=1.0; if (o.fadeStatus != "fadeIn") return true;o.style.opacity-=0.05; if (document.all) {var v=o.style.opacity*100; o.style.filter="Alpha(opacity="+v+", finishopacity="+v+", style=2)";} if (o.style.opacity<=0) { o.style.display="none";if (typeof cb=="function") cb(o);return true;}var f=(function() {var oo=o;var ocb=cb;return function() {citysam.gui.fade(oo,ocb,1);};})();window.setTimeout(f, 50); return false;},fadeIn : function(o, cb, a) { if (!a)  o.fadeStatus = "fadeOut";if (o.style.display == "none") { o.style.display=""; }  if (typeof o.style.opacity == "undefined" || o.style.opacity == "") o.style.opacity=0; if (o.fadeStatus != "fadeOut") return true;o.style.opacity= parseFloat(o.style.opacity) + 0.05; if (document.all) {var v=o.style.opacity*100; o.style.filter="Alpha(opacity="+v+", finishopacity="+v+", style=2)";} if (o.style.opacity>=1) { if (typeof cb=="function") cb(o);return true;}var f=(function() {var oo=o;var ocb=cb;return function() {citysam.gui.fadeIn(oo,ocb,1);};})();window.setTimeout(f, 50); return false;},alignByO : function(d, o, x, y) { var p=citysam.gui.getEPosWH(o);d.style.position="absolute";d.style.left=(parseInt(p.x)+parseInt(x))+"px";d.style.top=(parseInt(p.y)+parseInt(y))+"px";},addShadow : function(o,v,z,o2) { if (typeof o.csShdw!="undefined" && o.csShdw!="") return; if (!v) v=5; var p=citysam.gui.getEPosWH(o); var s=document.createElement("div"); s.style.width=p.w+"px"; s.style.height=p.h+"px";s.style.opacity=0.3;if (z) s.style.zIndex=z;if (document.all) s.style.filter="Alpha(opacity=30, finishopacity=30, style=2)"; s.style.backgroundColor="#000000";citysam.gui.alignByO(s,o,v,v); o.csShdw=s; if (!o2)document[docEl].insertBefore(s,document[docEl].firstChild); else o2.insertBefore(s,o2.firstChild);},rmShadow : function(o) { if (typeof o.csShdw=="undefined" || o.csShdw=="") return; document[docEl].removeChild(o.csShdw); o.csShdw = ""; },rzShadow : function(o,v) { if (typeof o.csShdw=="undefined" || o.csShdw=="") return; if (!v) v=5; var p=citysam.gui.getEPosWH(o);o.csShdw.style.width=p.w+"px"; o.csShdw.style.height=p.h+"px"; citysam.gui.alignByO(o.csShdw,o,v,v); },toggle:function(v,c) { var o=$(v);if (typeof o=="undefined") return;var f=c?function(p){var cN=p.className.split(" "),i,g=false,nCN="";for(i=0;i<cN.length;i++){if(!cN[i])continue;if(cN[i]==c){g=true;}else{nCN+=cN[i]+" ";}}p.className=nCN+(g?"":c);}:function(p){p.style.display=(p.style.display=="none")?"":"none";};if (v.substr(0,1)=="#"||v.substr(0,1)=="<") {f(o);}else {for (var i=0; i<o.length; i++) {f(o[i]);}}}, getStyle:function(oElm,strCssRule){var strValue = "";if(document.defaultView && document.defaultView.getComputedStyle){strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);}else if(oElm.currentStyle){try{strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){return p1.toUpperCase();});strValue = oElm.currentStyle[strCssRule];}catch(e){ }}return strValue;},rePos : function(m,c,k,p,q) {var ro,ri,lo,li,to,ti,bo,bi,roX,riX,loX,liX,toY,tiY,boY,biY,x,y,b;if(k.w-m.R>c.w+p){ro=true;roX=m.R-q;}if(k.w-m.L>c.w+p){ri=true;riX=m.L;}if(m.L>c.w+p){lo=true;loX=m.L-c.w+q;}if(m.R>c.w+p){li=true;liX=m.R-c.w;}if(m.T>c.h+p){to=true;toY=m.T-c.h+q;}if(m.B>c.h+p){ti=true;tiY=m.B-c.h;}if(k.h-m.B>c.h+p){bo=true;boY=m.B-q;}if(k.h-m.T>c.h+p){bi=true;biY=m.T;}if     (ro&&(ti||bi)){x=roX;y=bi?biY:tiY;b=2;}else if(ri&&(to||bo)){x=riX;y=bo?boY:toY;b=bo?3:1;}else if(lo&&(ti||bi)){x=loX;y=bi?biY:tiY;b=4;}else if(li&&(to||bo)){x=liX;y=bo?boY:toY;b=bo?3:1;}else {x=(k.w-m.R>m.L)?m.R-q:m.L-c.w+q;y=(m.B>k.h-m.T)?m.B-c.h:m.T;b=(k.w-m.R>m.L)?2:4;}return {x:x,y:y,b:b};},mt : { i : function(a,ai,ca,cz,cp) { var hb=document.getElementsByName(a);var i,d,id,c;for(i=0;i<hb.length;i++) {d=$("#"+hb[i].id+"d");id=hb[i].id.substr(ai.length);citysam.DOM.bindEvent("onclick",hb[i].parentNode,(function() {var _d=d;var _i=id;var _ca=ca;var _cz=cz;var _cp=cp;return function() {citysam.gui.mt.s(this,_d,_i,_ca,_cz,_cp);};})());citysam.DOM.bindEvent("mtS",hb[i],(function() {var _d=d;var _i=id;var _ca=ca;var _cz=cz;var _cp=cp;return function(v) {citysam.gui.mt.s(this.parentNode,_d,_i,_ca,_cz,_cp,v);};})());c=citysam.DOM.getSCoo("6"+cp+id);if (c!==false) citysam.gui.mt.s(hb[i].parentNode,d,id,ca,cz,cp,((c!=0)?true:false));}},s : function(h,d,id,ca,cz,cp,f) {var v;if (f===true||((typeof f!="boolean") && d.style.display=="none")) {d.style.display="";h.className=ca;v=1;} else {d.style.display="none";h.className=cz;v=0;}citysam.DOM.setSCoo("6"+cp+id,v);}},stt : (function() {return {add : function(o,t,xr,xl,c,ir,il,y,fl) { citysam.DOM.bindEvent("onmouseover",o,(function(){var _o=o;var _t=t;var _xr=xr;var _xl=xl;var _c=c;var _ir=ir;var _il=il;var _y=y;var _fl=fl;return function() {citysam.gui.stt.shw(_o,_t,_xr,_xl,_c,_ir,_il,_y,_fl);};})());citysam.DOM.bindEvent("onmouseout",o,(function(){var _o=o;return function() {citysam.gui.stt.rm(_o);};})());},  shw : function(_o,_t,_xr,_xl,_c,_ir,_il,_y,_fl) {if (_o.sttD&&_o.sttD.style.display=="block") {if (_o.sttT) window.clearTimeout(_o.sttT);return;}_o.sttT=window.setTimeout((function() {var o,t,xr,xl,c,ir,il,y,fl;o=_o,t=_t,xr=_xr,xl=_xl,c=_c,ir=_ir,il=_il,y=_y,fl=_fl;return function() {var d,p,h,g,q,l,m,i,f,k;if (!o.sttD) {d=document.createElement("div");d.innerHTML=t?t:"&nbsp;";if (c) d.className=c;d.style.visibility="hidden";d.style.zIndex="3";d.style.position="absolute";o.appendChild(d);} else {d=o.sttD;d.style.visibility="hidden";d.style.display="block";d.style.position="absolute";}if (xr) d.style.left=xr+"px";p=citysam.gui.getEPosWH(d);h=23;if (ir&&p.h<h) {if (!document.all) {g=citysam.gui.cssBorPad(d);if (g&&g.h) h-=g.h;}d.style.height=h+"px";}p=citysam.gui.getEPosWH(o);if (!xr) d.style.left=(p.x+p.w+(ir?20:2))+"px";d.style.top=(p.y+p.h/2-13+(y?y:0))+"px";q=citysam.gui.getEPosWH(d);l,m;if (fl||(q.x+q.w+21>citysam.gui.getWinDim().w)) { d.style.left=(((!xl)?p.x:xl)-q.w-(ir?17:2))+"px";l=q.w-2;i=il;k=19;} else {l=-17;i=ir;k=17;}if (ir) {o.sttF=document.createElement("div");d.appendChild(o.sttF);o.sttF.style.cssText="background-image:url("+i+");width:"+k+"px;height:30px;position:absolute;top:-2px;left:"+l+"px;background-repeat:no-repeat;";if (document.all) o.sttF.className="mn4h2";}o.sttD=d;d.style.visibility="visible";d.style.display="block";citysam.gui.addShadow(d,4,2);citysam.gui.hideSelP(o.id?o.id:"-",d);};})(), 10);},rm : function(o) {if (o.sttT) window.clearTimeout(o.sttT);if (!o.sttD) return;o.sttT=window.setTimeout((function() {var _o=o;return function() {citysam.gui.showSel(_o.id?_o.id:"-");citysam.gui.rmShadow(_o.sttD);_o.sttD.style.display="none";if (_o.sttF){_o.sttD.removeChild(_o.sttF);_o.sttF=false;}_o.sttT=false;};})(), 10);},ma : function (n,a,t,xr,xl,c,ir,il,y) {var i,o;for(i=1;i<a;i++) {if (o=$("#"+n+a)) citysam.gui.stt.add(o,t,xr,xl,c,ir,il,y);}}};})(),cssProp : function(v,pn) { var c="."+((typeof v=="object")?v.className:v);var i,j,r;r=(document.all)?"rules":"cssRules";var fc=false;Sty:for(i=0;i<document.styleSheets.length;i++){if(!document.styleSheets[i][r]||!document.styleSheets[i][r].length)continue;for(j=0;j<document.styleSheets[i][r].length;j++){if (document.styleSheets[i][r][j].selectorText==c) {fc=document.styleSheets[i][r][j];break Sty;}}}if (fc) {return (!pn)?fc.style:(fc.style[pn])?fc.style[pn]:"";}},cssBorPad : function(o) { var s,r,i,j,p,v;s=citysam.gui.cssProp(o);r={w:0,h:0};p={w:["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],h:["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"]};for(i in p) {for(j=0;j<p[i].length;j++){if(s[p[i][j]]&&s[p[i][j]].substr(s[p[i][j]].length-2)=="px") {v=parseInt(s[p[i][j]].substr(0,s[p[i][j]].length-2));if (v)r[i]+=v;} else if (s[p[i][j]]) {return false;}}}return r;},btnPressed : function(b,e) { var br,a;if (!e) e=window.event;br=citysam.getBrowser();if (br.b=="IE"||br.b=="KON"){return b==e.button; }else{a=(br.b=="OP"&&br.v<8)?{1:1,2:2,4:3}:{1:0,2:2,4:1}; return a[b]==e.button;}},addBookmark : function(u,t) { if(!u)u=document.location.href;if(!t)t=document.title;if(window.sidebar){window.sidebar.addPanel(t,u,"");}else if(window.external){window.external.addFavorite(u,t);}else if(window.opera&&window.print){return true;}},showWI : function() { if (!$("#wicv1a")) {var wi = document.createElement("img");wi.src = "/aa1gr/mn3g4.gif";wi.id = "wicv1a";wi.style.zIndex = 10000;wi.style.position = "absolute";document.getElementsByTagName("body")[0].appendChild(wi);}$("#wicv1a").style.top = (mouse_pos_y - 16) + "px";$("#wicv1a").style.left = (mouse_pos_x - 16) + "px";$("#wicv1a").style.display = "";},hideWI : function() { $("#wicv1a").style.display = "none";}};})();citysam.usep = (function() {var cooN="cv1ahev2"; var cooE=365; return {chkC : function(cb) {if (!cb) return false;  var sc=citysam.DOM.getCookie("session_name() . '");if (!sc) return cb(0);var cv=citysam.DOM.getCookie(cooN);if (cv) {  var sp=cv.split("-");if (sp[1] == "gh34h") {cv=sp[0];} else {  cv=false;}}if (cv) {cb(cv); } else {var tcb = function(d) {var td=d.getElementsByTagName("c").item(0);var tcv=parseInt(td.attributes.getNamedItem("v").value);cb(tcv);};var tAj=new csAjax(false);tAj.getData("/a/csajf3.htm", "", tcb);}return false;  }};})(); citysam.script={data:{},load:function(url,id,cb,c){var script=document.createElement("script");script.type="text/javascript";script.src=url;script.id=id;if(c)cb=(function(){var _cb=cb,_c=c;return function(){_cb.apply(_c,arguments);};})(); script._cb=cb;document.getElementsByTagName("head")[0].appendChild(script);return true;},remove:function(id){var o;if(o=$("#"+id))o.parentNode.removeChild(o);},loaded:function(id){if(o=$("#"+id))var cb=o._cb;if(citysam.getBrowser().b!="IE")citysam.script.remove(id);cb(citysam.script.data[id], id);delete citysam.script.data[id];}},citysam.language={},citysam.vars={};}
 function pwWnd(url) {window.open(url, "new", "width=600,height=150,left=300,top=100");return false;}
 citysam.Class=function(){var Class=function(){this.initialize.apply(this,arguments);};var extended={},parent;for(var i=0,l=arguments.length;i<l;++i){if(typeof arguments[i]=="function"){parent=arguments[i].prototype;}else{parent=arguments[i];}citysam.Util.extend(extended,parent);}Class.prototype=extended;return Class;};
 citysam.Util={};
 citysam.Util.extend=function(d,s){d=d||{};if(s){for(var p in s){var v=s[p];d[p]=v;}var sIsE=typeof window.Event=="function"&&s instanceof window.Event;if(!sIsE&&s.hasOwnProperty&&s.hasOwnProperty("toString")){d.toString=s.toString;}}return d;};
 citysam.Util.createId=(function(){var counter=0;return function(name){return name+(++counter);};}
)();function cv1apopup(url) {window.open(url, "popup", "height=600,width=600,status=no,toolbar=no,scrollbars=yes");return false;}
 citysam.DOM.bindEvent("onmousemove", document, citysam.gui.updateMousePos);citysam.Design={ addShadow:function(o){var d=document.createElement("div");d.className="mn3c0";o.appendChild(d);d=document.createElement("div");d.className="mn3c1";o.appendChild(d);d=document.createElement("div");d.className="mn3c2";o.appendChild(d);d=document.createElement("div");d.className="mn3c3";o.appendChild(d);d=document.createElement("div");d.className="mn3c4";o.appendChild(d);d=document.createElement("div");d.className="mn3c5";o.appendChild(d);d=document.createElement("div");d.className="mn3c6";o.appendChild(d);d=document.createElement("div");d.className="mn3c7";o.appendChild(d);}};
  citysam.Tooltip=citysam.Class({id:null,text:null,layoutParent:null,div:null,contentDiv:null,cArrow:null,arrow:null,layout:null, initialize:function(text,p,cA,l){this.id=citysam.Util.createId(this.CLASS_NAME);this.text=text;this.layoutParent=p;this.cArrow=cA;this.layout=l||{};}, bind:function(o){if(!o)o=this.layoutParent;citysam.DOM.bindEvent("onmouseover",o,this.show,null,this);citysam.DOM.bindEvent("onmouseout",o,this.hide,null,this);}, show:function(){citysam.gui.showE(this.getDiv(),false,[this,this.onShow]);}, onShow:function(){this.align();this.div.style.visibility="";citysam.gui.hideSelP(this.id,this.div);}, hide:function(){citysam.gui.hideE(this.getDiv(),false,[this,this.onHide]);}, onHide:function(){this.div.style.visibility="hidden";citysam.gui.showSel(this.id);}, getDiv:function(){if(this.div===null){this.div=document.createElement("div");this.div.style.visibility="hidden";if(this.layout){if(this.layout.w)this.div.style.width=this.layout.w+"px";if(this.layout.h)this.div.style.height=this.layout.h+"px";}this.div.className="mn3bg";citysam.Design.addShadow(this.div);if(this.cArrow){this.arrow=document.createElement("div");this.arrow.className="mn3bi";this.div.appendChild(this.arrow);}this.contentDiv=document.createElement("div");this.contentDiv.className="mn3bh";if(typeof this.text=="object"){this.contentDiv.appendChild(this.text);} else {this.contentDiv.innerHTML=this.text;}this.div.appendChild(this.contentDiv);document.getElementsByTagName("body")[0].appendChild(this.div);citysam.DOM.bindEvent("onmouseover",this.div,this.show,null,this);citysam.DOM.bindEvent("onmouseout",this.div,this.hide,null,this);}return this.div;}, align:function(){var pL=citysam.gui.getEPosWH(this.layoutParent),w=citysam.gui.getWinDim(),p=citysam.gui.getEWH(this.div),l=this.layout;aL=l.aL,oX=oY=0; aL=aL? pL.x-p.w-(l.xL||l.x||0)>10: pL.x+pL.w+p.w+(this.layout.xR||this.layout.x||0)>w.w-10;  oX=this.layout[aL?"xL":"xR"]||this.layout.x||0;oY=this.layout.y||0; this.div.style.left=(pL.x+(aL?0-p.w:pL.w)+(aL?0-oX:oX))+"px";this.div.style.top=(pL.y+oY)+"px"; if(this.cArrow){var aCN=aL?"mn3bj":"mn3bi";if(this.arrow.className!=aCN)this.arrow.className=aCN;}},CLASS_NAME:"citysam.Tooltip" }
);citysam.PageOverview={a:null,ac:0,c:null,cc:null,init:function(){var o,i,c,l;if(o=$("#mn3bl")){c=0;for(i=0;i<o.childNodes.length;i++){if(o.childNodes[i].nodeName!="LI")continue;++c;l=o.childNodes[i];if(l.className=="mn3bq"){this.a=l;this.ac=$("#mn3bl"+c);}citysam.DOM.bindEvent("onmouseover",l.getElementsByTagName("a")[0],(function(){var _l=l,_c=c;return function(){this.hoverS(_l,_c);};})(),null,this);}}},hoverS:function(l,c){if(c==this.cc){return;}this.hoverE();this.a.className="";this.ac.className="mn3bn";this.c=l;this.cc=$("#mn3bl"+c);l.className="mn3bq";this.cc.className="mn3bn mn3bq";},hoverE:function(){if(!this.c)return;this.c.className="";this.cc.className="mn3bn";this.a.className="mn3bq";this.ac.className="mn3bn mn3bq";}};
 citysam.FooterActions={d:[],init:function(){var o,i,l,a;if(o=$("#mn39q")){for(i=0;i<o.childNodes.length;i++){l=o.childNodes[i];if(l.nodeName!="LI"||!l.id)continue;if((a=l.getElementsByTagName("a"))&&(a=a[0])){d=$("#"+l.id+"d");if(!d)continue;this.d[this.d.length]=d;citysam.DOM.bindEvent("onclick",a,(function(){var _d=d;return function(){this.toggle(_d);return false;};})(),null,this);}}}},toggle:function(d){var i;for(i in this.d){if(this.d[i]==d)continue;if(this.d[i].style.display)this.d[i].style.display=""; }d.style.display=d.style.display?"":"block";}};
 citysam.Menu={data:[],init:function(){var o;if(o=$("#mn5ij")){var p,i;this.data=[];if(p=$(".mn5ik",o))for(i=0;i<p.length;i++){this.data.push({html:p[i].innerHTML});}}if(!(o=$("#mn39a"))) {return;}var entries=o.getElementsByTagName("td"),i,c=0,d,f,dWH,eWH,oWH=citysam.gui.getEWH(o),l,eL;for(i in entries){if(entries[i].className!="mn39g") continue;if(!this.data[c]) break;if (this.data[c].html){d=document.createElement("div");d.className="mn3by";citysam.Design.addShadow(d);d.innerHTML+=this.data[c].html;o.parentNode.insertBefore(d, o.nextSibling);dWH=citysam.gui.getEWH(d);eWH=citysam.gui.getEWH(entries[i]);eL=entries[i].offsetLeft;l=eL+(eWH.w/2)-(dWH.w/2);if(l+dWH.w>oWH.w){l=oWH.w-dWH.w;}if(l<0){l=0;}d.style.left=l+"px";f=(function(){var _d=d;return function() {citysam.gui.showE(_d,true);};})();citysam.DOM.bindEvent("onmouseover", entries[i], f, null, this);citysam.DOM.bindEvent("onmouseover", d, f, null, this);f=(function(){var _d=d;return function() {citysam.gui.hideE(_d,true);};})();citysam.DOM.bindEvent("onmouseout", entries[i], f, null, this);citysam.DOM.bindEvent("onmouseout", d, f, null, this);}++c;}},onDShow:function(d){citysam.gui.addShadow(d,2,9999);},onDHide:function(d){citysam.gui.rmShadow(d);}};
 citysam.Login={username:"",init:function(){var u,a,o;if(o=$("#mn3cy")){a=o.getElementsByTagName("li")[0].getElementsByTagName("a")[0];citysam.DOM.bindEvent("onclick",a,this.tglLgnBox,null,this);}if(u=this.checkLogin()){if(o){o.className="mn3aq";}if(o=$("#mn3cz")){o.innerHTML=o.innerHTML.replace(/{{user}}/, this.username);o.className="";}if(o=$("#mn39v")){var s;if(s=o.getElementsByTagName("span")[0]){s.style.display="none";}}}else if(this.username&&(o=$("#mn39uU"))){o.value=this.username;}},checkLogin:function(){var u=citysam.DOM.getCookie("csslun"),p=citysam.DOM.getCookie("csslpw");if (u){this.username=u;}return u&&p;},tglLgnBox:function(){if(o=$("#mn39u")){if(o.className==""){o.className="mn3aq";}else{o.className="";}}if(o=$("#mn39uU")){try{o.focus();}catch(e){}}return false;}};
 citysam.LangPicker={init:function(){var o;if(o=$("#mn39v")){citysam.DOM.bindEvent("onmouseover",o,function(){citysam.gui.showE($("#mn39w"));});citysam.DOM.bindEvent("onmouseout",o,function(){citysam.gui.hideE($("#mn39w"));});}}};
 citysam.CurrentPage={init:function(){var s,o;citysam.PageOverview.init.apply(citysam.PageOverview);citysam.Login.init.apply(citysam.Login);citysam.LangPicker.init.apply(citysam.LangPicker);citysam.FooterActions.init.apply(citysam.FooterActions);citysam.Menu.init.apply(citysam.Menu);if((s=$("#mn399")) && (o=s.getElementsByTagName('input')[0])){citysam.DOM.bindEvent("onfocus",o,function(){this.select();});}}};
 citysam.DOM.bindEvent("onload",window,citysam.CurrentPage.init); function checkWallpaper() {try{if(typeof(adtype) != "undefined"){var a=$("#mn3cu");if(a)a.style.textAlign="right";if (adtype == "expwallpaper") {var b=$(".mn3cw")[0],c=$(".mn3cv")[0];a.style.position="relative";a.style.left=c.style.right=Citysam.gui.getEWH(b).w+"px";c.style.top=Citysam.gui.getEWH(a).h+"px";}}if((typeof(bgcolor)!="undefined"&&bgcolor!=null)||(typeof(bgimage)!="undefined"&&bgimage!=null)){var p=$("#mn38u"),c=$("#mn38t");if(p&&c){p.style.background="url(/aa1gr/mn3dt.gif) repeat-x #EDF6FF";if(typeof(bgimage)!="undefined"&&bgimage!=null){c.style.background="url("+bgimage+")";}else{c.style.backgroundColor=bgcolor;c.style.backgroundImage="none";}}}}catch(e){}}
 citysam.DOM.bindEvent("onload",window,checkWallpaper);