/* basic i18n class with a dictionary and gettext function */

function I18N() {
	this.dict = new dojo.collections.Dictionary();
	this.gettext = function (msgid) {
		if(this.dict.contains(msgid)) {
			if(this.dict.item(msgid) != "" || this.dict.item(msgid) != "undefined") return this.dict.item(msgid);
			else return msgid;
		}
		else return "NO TRANSLATION for '"+msgid+"'. Add msgid to NEUI18N.js";
	};
}

/* extension of I18N for neu.de, contains the translations */

function NEUI18N() {
	this.base = I18N;
	/* add your js msgid here to have it translated by php's gettext */
	this.dict.add("jc_delete_user", "Mitglied lÃ¶schen?");
this.dict.add("neuprofile_online_notice", "Du hast GlÃ¼ck!");
this.dict.add("jc_status_standard", "Ich bin anwesend.");
this.dict.add("jc_status_readytoflirt", "Bin zum Flirten aufgelegt.");
this.dict.add("jc_status_dontdisturb", "Bitte nicht stÃ¶ren.");
this.dict.add("jc_visitors_none", "Dein Profil wurde noch nicht besucht");
this.dict.add("jc_fans_none", "Es hat Dich noch niemand als Favorit gespeichert.");
this.dict.add("Friends", "Freunde");
this.dict.add("Favorites", "Favoriten");
this.dict.add("jc_mood", "Stimmung");
this.dict.add("jc_watchprofile", "Profil ansehen");
this.dict.add("jc_sendmessage", "Flirtmessage senden");
this.dict.add("jc_startchat", "Chatten");
this.dict.add("jc_showusergallery", "Fotoalbum anzeigen");
this.dict.add("jc_added_friend_%{user}", "Du hast %{user} als Freund eingeladen.");
this.dict.add("jc_added_favorite_%{user}", "Du hast %{user} als Favorit gespeichert.");
this.dict.add("jc_addtofriends", "Als Freund einladen");
this.dict.add("jc_addtofriends_not_allowed", "Werde Premium-Mitglied, um Freunde einzuladen");
this.dict.add("jc_addtofavorites", "Als Favorit hinzufÃ¼gen");
this.dict.add("jc_neude_alreadyopened_%{portalname}", "Du hast derzeit mehrere Fenster von %{portalname} geÃ¶ffnet.<br />Alles, was auf %{portalname} Â»liveÂ« passiert - Nachrichten, Chats, Freunde einladen, Benachrichtigungen Ã¼ber Profilbesuche - kannst Du nur im Hauptfenster nutzen.");
this.dict.add("jc_chatwith_%{user}", "mit %{user} chatten");
this.dict.add("jc_invitation_deny", "Ablehnen");
this.dict.add("jc_invitation_accept", "annehmen");
this.dict.add("jc_showfulllist_%{group}", "Alle %{group} anzeigen");
this.dict.add("jc_hidefulllist_%{group}", "Nur Online-%{group}");
this.dict.add("jc_hide", "ausblenden");
this.dict.add("jc_invitation_denied_%{nick}", "%{nick} hat Deine Einladung abgelehnt.");
this.dict.add("jc_recipientnotexist_%{recipient}", "Die Flirtmessage an %{recipient} konnte nicht zugestellt werden, der EmpfÃ¤nger existiert nicht.");
this.dict.add("jc_listfull_%{no}", "Sorry, Du kannst nur maximal %{no} Freunde und Favoriten speichern. Entferne Freunde oder Favoriten, um neue hinzufÃ¼gen zu kÃ¶nnen.");
this.dict.add("jc_friendshipended_%{nick}", "%{nick} hat Dir die Freundschaft gekÃ¼ndigt.");
this.dict.add("available", "online");
this.dict.add("unavailable", "offline");
this.dict.add("jc_noentriesyet_%{group}", "Noch keine %{group}.");
this.dict.add("jc_nobodyonline_%{group}", "Keine %{group} online.");
this.dict.add("jc_bandialog_confirm_%{user}", "Wenn Du JA wÃ¤hlst, kann Dir %{user} keine Nachrichten mehr senden!<br />MÃ¶chtest Du das wirklich?");
this.dict.add("jc_cancel", "Abbrechen");
this.dict.add("jc_banwait", "Blocken wird ausgefÃ¼hrt.");
this.dict.add("jc_banuser", "Benutzer blocken");
this.dict.add("jc_notify_abuse_user", "Benutzer melden");
this.dict.add("jc_bansuccess", "Benutzer erfolgreich geblockt.");
this.dict.add("jc_closenow", "schlieÃŸen");
this.dict.add("jc_deleting_blocked_user", "Blockade dieses Benutzers aufheben.");
this.dict.add("jc_bt_ban_cancel", "Lieber nicht.");
this.dict.add("jc_bt_ban_ok", "Ja!");
this.dict.add("jc_alreadyadded", "Du hast diese Person bereits geblockt.");
this.dict.add("jc_accept_chat", "Chatten");
this.dict.add("jc_deny_chat", "Chat ablehnen");
this.dict.add("jc_xyWantsToChat", "mÃ¶chte chatten");
this.dict.add("jc_show_profile", "Profil ansehen");
this.dict.add("jc_from", "von");
this.dict.add("jc_showprofileof_%{user}", "Profil von %{user} ansehen");
this.dict.add("zipwidget_no_zip", "Keine gÃ¼ltige Postleitzahl");
this.dict.add("zipwidget_ambiguous_select", "Es gibt mehrere Orte mit diesem Namen. Bitte klicke auf den richtigen Ort in der Liste.");
this.dict.add("zipwidget_zipnotindb", "Die Postleitzahl oder der Ort wurden nicht gefunden");
this.dict.add("jc_alttag_userpic", "[Bild]");
this.dict.add("NuJS_err_tryagain", "Erneut versuchen");
this.dict.add("jc_confirm_yes", "Ja");
this.dict.add("jc_confirm_no", "Nein");
this.dict.add("NEUSearch_js_deleteconfirm_%{search}", "Soll die Suche Â»%{search}Â« wirklich gelÃ¶scht werden?");
this.dict.add("NuJS_loading", "Ladevorgangâ€¦");
this.dict.add("jc_could_not_connect", "Es konnte keine Verbindung zum Server hergestellt werden. Bitte warte kurze Zeit und lade dann die Seite neu.");
this.dict.add("jc_removefriend", "Freundschaft kÃ¼ndigen");
this.dict.add("jc_removefavorite", "Als Favorit entfernen");
this.dict.add("visitors", "Besucher");
this.dict.add("fans", "Fans");
this.dict.add("male", "ein Mann");
this.dict.add("female", "eine Frau");
this.dict.add("jc_message_sent_successfully", "Nachricht erfolgreich verschickt.");
this.dict.add("is_required", "Dieses Feld muss ausgefÃ¼llt werden.");
this.dict.add("jc_open_message", "Flirtmessage Ã¶ffnen");
this.dict.add("jc_chat_dlg_closewindow", "Fenster zu");
this.dict.add("jc_mainclosed_%{portalname}", "Dieser Chat lÃ¤uft nur mit geÃ¶ffneter Hauptseite von %{portalname}.");
this.dict.add("jc_wronguser_%{portalname}", "Du bist nicht mehr bei %{portalname} eingeloggt.");
this.dict.add("jc_sessionout_%{portalname}", "Du bist nicht mehr bei %{portalname} eingeloggt.");
this.dict.add("quicksearch_agemax_error", "Die Eingabe in maximales Alter ist ungÃ¼ltig. Bitte gib eine Zahl kleiner als 130 ein.");
this.dict.add("quicksearch_agemin_error", "Die Eingabe in minimales Alter ist ungÃ¼ltig. Bitte gib eine Zahl ab 18 ein.");
this.dict.add("quicksearch_age_error", "Das eingegebene Mindestalter ist grÃ¶ÃŸer als das maximale Alter.");
this.dict.add("neuevent_bt_filtershow", "Termine anzeigen");
this.dict.add("jc_addedasfriend_explanation_%{friend}", "Du hast %{friend} eingeladen. Wenn %{friend} Deiner Einladung zustimmt, wird %{friend} in Deine Freundesliste aufgenommen.");
this.dict.add("neuevent_zip_or_city_label", "Stadt oder PLZ");
this.dict.add("jc_you_can_only_chat_with_activated_account", "Bitte aktiviere Dein Konto, um chatten und Flirtnachrichten senden zu kÃ¶nnen.");
this.dict.add("jc_tryreconnect", "Die Verbindung zum Server ist unterbrochen. Wir versuchen sie wieder aufzubauen.");
this.dict.add("jc_nocon_tryagain", "Sorry, der Server ist im momentan nicht erreichbar.");
this.dict.add("jc_retry", "Erneut versuchen");
this.dict.add("jc_user_unblocked_%{user}", "Du hast %{user} von der Liste der blockierten Benutzer entfernt. %{user} kann Dir jetzt wieder Nachrichten senden.");
this.dict.add("bt_title_delete_from_banlist", "von der Liste der geblockten Benutzer lÃ¶schen");
this.dict.add("link_remove_from_list", "lÃ¶schen");
this.dict.add("jc_failed_deleting_blocked_user", "LÃ¶schen der Person aus der Liste der geblockten Personen ist fehlgeschlagen. Probierâ€™s nochmal.");
this.dict.add("NuJS_err_err_occured", "Ein Fehler ist aufgetreten:");
this.dict.add("NuJS_err_ok", "Abbrechen");
this.dict.add("submit_statement", "Einreichen");
this.dict.add("nick_not_valid", "Kein EmpfÃ¤nger mit diesem Nickname vorhanden");
this.dict.add("messageview_showall", "Alle Nachrichten aufklappen");
this.dict.add("messageview_hideall", "Alle Nachrichten zuklappen");
this.dict.add("me", "Ich");
this.dict.add("img_alt_arrowdown_morelink", "auf- und zuklappen");
this.dict.add("jc_sendingmsg", "Flirtnachricht wird versendetâ€¦");
this.dict.add("jc_sentmsg", "Flirtmessage versendet");
this.dict.add("chatrequestpane_no_chatrequests", "Momentan mÃ¶chte niemand mit Dir chatten.<br /><br />An dieser Stelle kannst Du immer alle aktuellen Chat-Anfragen ansehen und annehmen.");
this.dict.add("jc_date_fans", "hat Dich am %{2} um %{3} hinzugefÃ¼gt");
this.dict.add("jc_date_visitors", "letzter Besuch am %{2} um %{3}");
this.dict.add("jc_openmessage", "Flirtmessage Ã¶ffnen");
this.dict.add("event_subscriptionresponse_interested", "Dein Interesse wird vorgemerkt");
this.dict.add("event_subscriptionresponse_attendance", "Deine Eintragung wird vorgemerkt");
this.dict.add("event_subscriptionresponse_unsubscribe", "Deine Eintragung wird gelÃ¶scht");
this.dict.add("neuevent_eventdetails_takepart", "An dieser Veranstaltung nehme ich teil.");
this.dict.add("neuevent_eventdetails_donottakepart", "Ich nehme doch nicht teil.");
this.dict.add("jc_removeuserdialog_confirm_%{user}", "MÃ¶chtest Du %{user} wirklich entfernen?");
this.dict.add("jc_bt_removeuser_ok", "Entfernen");
this.dict.add("report_reason_undefined", "Sonstiges");
this.dict.add("report_reason_title", "Was missfÃ¤llt Dir?");
this.dict.add("not_allowed_to_write_%{name}_%{url}", "Um %{name} eine Nachricht schreiben zu kÃ¶nnen musst Du Premium-Mitglied werden.");
this.dict.add("jc_uploading_attachment_failed", "Die Nachricht konnte nicht gesendet werden, da der Anhang nicht Ã¼bertragen werden konnte.");
this.dict.add("jc_uploading_attachment", "Der Anhang wird Ã¼bertragen und die Nachricht gesendet.");
this.dict.add("jc_bt_ok", "OK");
this.dict.add("messaging_message_has_attachment", "Bild angehÃ¤ngt");
this.dict.add("messaging_attachment_preview", "Vorschau");
this.dict.add("messaging_attachment_show_full", "Bild in voller GrÃ¶ÃŸe zeigen");
this.dict.add("jc_you_cannot_chat_with_%{user}", "Du darfst leider nicht mit %{user} chatten.");
this.dict.add("jc_become_certified_or_premium", "Werde geprÃ¼ftes Mitglied oder Premium-Mitglied.");
this.dict.add("jc_become_premium", "Werde Premium-Mitglied!");
this.dict.add("jc_checking_recipient", "EmpfÃ¤nger wird Ã¼berprÃ¼ftâ€¦");
this.dict.add("jc_message_notification_forbidden_%{recipient}_%{subject}_%{body}", "Die Nachricht an %{recipient} mit dem Betreff %{subject} konnte nicht zugestellt werden: Du darfst %{recipient} keine Nachrichten senden oder Dein tÃ¤gliches Nachrichtenlimit ist erreicht.");
this.dict.add("jc_remote_roster_exceeded_notification_%{remote_user}", "Du kannst %{remote_user} momentan nicht einladen, da %{remote_user} schon zu viele Einladungen erhalten hat oder zu viele Freunde hat.");
this.dict.add("jc_roster_exceeded_notification_%{remote_user}", "Du kannst %{remote_user} momentan nicht einladen, da Du zu viele Freunde auf Deiner Liste hast (max. %{MAX_NO_OF_FRIENDS}) oder zu viele unbeantwortete Einladungen.");
this.dict.add("agreement_images_uses_for_cooperations_alert_", "agreement_images_uses_for_cooperations_alert_");
this.dict.add("jc_msg_abuse_completed", "Gemeldet!");
this.dict.add("jc_msg_abuse_popup_desc_%{username}", "Du willst %{username} melden? WÃ¤hle im folgenden Auswahlfeld den Grund fÃ¼r Deine Beschwerde aus oder klicke auf Â»SonstigesÂ« um einen Text einzugeben.");
this.dict.add("jc_bt_abuse_ok", "Ja!");
this.dict.add("jc_bt_abuse_cancel", "Lieber nicht.");
this.dict.add("jc_doublelogin_boxheader", "ACHTUNG!");
this.dict.add("jc_doublelogin_infotext_", "jc_doublelogin_infotext_");
this.dict.add("quicksearch_age_error_ampexceeded", "Die Werte liegen zu weit auseinander, das maximale Alter wird korrigiert.");
this.dict.add("jc_chat_notification_forbidden", "Du darfst leider keine Nachrichten versenden. Werde <a href=\"#\" onclick=\"top.jwcMain.location.href=\'%{portal_url}/membership\';return false;\" class=\"underline\">Premium-Mitglied</a>, um unbegrenzt zu chatten und Nachrichten zu versenden.");
this.dict.add("jc_addtofavorites_not_allowed", "Du musst dein Konto aktivieren, um Favoriten hinzuzufÃ¼gen");
this.dict.add("jc_popupblocker_%{portalname}", "<strong>Achtung!</strong><br />Jemand mÃ¶chte Dir Nachrichten senden, die Du nicht erhalten kannst, da Du Popup-Blocker-Software benutzt. Um %{portalname} nutzen zu kÃ¶nnen, musst Du den Blocker bzw. die Software fÃ¼r %{portalname} deaktivieren. <a href=\"%{base_url}\" class=\"rightarrowWhiteRight  underline\" rel=\"external\" >Wir helfen Dir auch gerne dabei!</a>");
this.dict.add("neumessaging_person_removed", "Die Person wurde aus Deinen Kontakten entfernt.");
this.dict.add("She", "Sie");
this.dict.add("He", "Er");
this.dict.add("is", "ist");
this.dict.add("neuprofile_offline_notice", "Schade!");
this.dict.add("neuprofile_postcode", "Postleitzahl");
this.dict.add("neuuserprofile_zip_or_city_label", "PLZ (oder Ort)");
this.dict.add("neustats_welcome", "WÃ¤hle das gewÃ¼nschte Diagramm aus und klicke auf Â»ErstellenÂ«, um es anzuzeigen.");
this.dict.add("neustats_view", "Ansicht");
this.dict.add("neustats_name_choose", "Bitte wÃ¤hlenâ€¦");
this.dict.add("neustats_name_bar", "Balkendiagramm");
this.dict.add("neustats_name_pie", "Tortendiagramm");
this.dict.add("neustats_name_table", "Tabelle");
this.dict.add("neustats_view_not_available", "Keine Auswahl mÃ¶glich");
this.dict.add("neustats_error_out_of_range", "Statistiken fÃ¼r diesen Zeitraum sind nicht verfÃ¼gbar. Bitte Ã¤ndere Deine Auswahl!");
this.dict.add("neustats_error_larger_than_end", "Das Enddatum Deines Zeitraums liegt vor dem Startdatum. Bitte Ã¤ndere Deine Auswahl!");
this.dict.add("neustats_error_general", "Statistik kann nicht erstellt werden.<br />Bitte Ã¼berprÃ¼fe Deine Auswahl!");
this.dict.add("neuevent_evetdetails_noattendees", "Bisher nimmt kein Mitglied der Community an diesem Event teil.");
this.dict.add("neuevent_evetdetails_nointerested", "Bisher interessiert sich kein Mitglied der Community fÃ¼r dieses Event.");
this.dict.add("neusearch_active_recently", "In den letzten Minuten aktiv");
this.dict.add("neusearch_empty_nicksearch_error", "Du hast keinen Nickname angegeben. Bitte Ã¤ndere Deine Suche.");
this.dict.add("neuuserprofile_readonly_city_description", "wird ergÃ¤nztâ€¦");
}

NEUI18N.prototype = new I18N;
var NEUI18N = new NEUI18N();
function createCookie(_1,_2,_3){
 if(_3){
 var _4=new Date();
 _4.setTime(_4.getTime()+(_3*1000));
 var _5="; expires="+_4.toGMTString();
 }else{
 var _5="";
 }
 document.cookie=_1+"="+_2+_5+"; path=/";
 }
 function readCookie(_6){
 var _7=_6+"=";
 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(_7)==0){
 return c.substring(_7.length,c.length);
 }
 }
 return null;
 }
 function eraseCookie(_b){
 createCookie(_b,"",-1);
 }
 function NuPostcodeWidget(){
 this.busy=false;
 this.current_check=false;
 this.subform=false;
 this.quicksearch=false;
 this.zip_selected=false;
 this.check=function(_c){
 if(this.busy){
 return false;
 }
 dojo.hostenv.loadPath("dojo_extended.js");
 var pa=dojo.string.trim(document.getElementById("zip").value);
 loading_tools.setInputElementLoadingStatus("zip",1);
 if(_c){
 this.subform=_c;
 }else{
 this.subform=false;
 }
 var _e=dojo.string.trim(document.getElementById("country").value);
 if(pa==""){
 if(this.quicksearch){
 showInlinePopupError(dojo.byId("zip"),dojo.byId("zipresult"),NEUI18N.gettext("zipwidget_no_zip"));
 }else{
 document.getElementById("zipresult").innerHTML=NEUI18N.gettext("zipwidget_no_zip");
 dojo.html.setDisplay(dojo.byId("zipresult"),true);
 dojo.html.setOpacity(dojo.byId("zipresult"),true);
 }
 if(this.subform){
 showInlinePopupError(dojo.byId("zip"),dojo.byId("zipresult"),NEUI18N.gettext("zipwidget_no_zip"));
 }
 loading_tools.setInputElementLoadingStatus("zip",0);
 return;
 }
 if(dojo.lang.inArray(dojo.byId("country").value,countries_in_db)){
 this.current_check=false;
 if(!isNaN(pa)){
 this.current_check=pa;
 }
 var _f=encodeURI(base_url+"/api/findcitywithcountry/"+_e+"/"+pa+"/JSON");
 var _10={url:_f,method:"POST",error:function(_11,_12){
 this.busy=false;
 if(dojo.string.has(_12.message,"404")){
 showInlinePopupError(dojo.byId("zip"),dojo.byId("zipresult"),NEUI18N.gettext("zipwidget_no_zip"));
 }
 loading_tools.setInputElementLoadingStatus("zip",0);
 NEUXHRErrHandler.handle(_11,_12,_10);
 },load:function(_13,_14,evt){
 this.busy=true;
 NuPostcodeWidget.zipResponse(_13,_14,evt);
 },mimetype:"text/plain"};
 dojo.io.bind(_10);
 }
 };
 this.setActive=function(_16,zip,_18){
 if(zip.length==4&&_18=="DE"){
 zip="0"+zip;
 }
 dojo.byId("zipresult").style.display="none";
 document.getElementById("zip").value=zip;
 document.getElementById("main_zip").value=zip;
 document.getElementById("country").value=_18;
 var _19=document.getElementById("city");
 if(_19){
 _19.value=_16;
 }
 this.zip_selected=true;
 };
 this.zipResponse=function(_1a,_1b,evt){
 var _1d=eval("("+_1b+")");
 if(_1d.length){
 var _1e="";
 if(_1d.length==1){
 if(this.current_check){
 myzip=this.current_check;
 }else{
 myzip=_1d[0]["main_zip"];
 }
 var _1f=document.getElementById("city");
 if(_1f){
 _1f.value=_1d[0]["city"];
 }
 document.getElementById("zip").value=myzip;
 document.getElementById("main_zip").value=_1d[0]["main_zip"];
 document.getElementById("country").value=_1d[0]["countrycode"];
 document.getElementById("latitude").value=_1d[0]["latitude"];
 document.getElementById("longitude").value=_1d[0]["longitude"];
 this.zip_selected=true;
 if(this.subform){
 this.subform.submit();
 }else{
 if(this.quicksearch){
 dojo.byId("zipresult").style.visibility="hidden";
 }else{
 dojo.html.setDisplay(dojo.byId("zipresult"),false);
 }
 }
 }else{
 this.zip_selected=false;
 for(var c=0;c<_1d.length;c++){
 _1e+="<ul>";
 _1e+="<li><a style=\"display:block;width:100%;\" href=\"#\" onclick=\"NuPostcodeWidget.setActive('"+_1d[c]["city"]+"', '"+_1d[c]["main_zip"]+"', '"+_1d[c]["countrycode"]+"'); return false;\">"+_1d[c]["city"]+" ("+_1d[c]["main_zip"]+")</a></li>";
 _1e+="</ul>";
 }
 if(this.quicksearch){
 showInlinePopupError(dojo.byId("zip"),dojo.byId("zipresult"),NEUI18N.gettext("zipwidget_ambiguous_select")+"<br/><br/>"+_1e);
 }else{
 document.getElementById("zipresult").innerHTML=NEUI18N.gettext("zipwidget_ambiguous_select")+"<br/>"+_1e;
 dojo.html.setDisplay(dojo.byId("zipresult"),true);
 dojo.html.setOpacity(dojo.byId("zipresult"),true);
 }
 }
 }else{
 this.zip_selected=false;
 if(this.quicksearch){
 showInlinePopupError(dojo.byId("zip"),dojo.byId("zipresult"),NEUI18N.gettext("zipwidget_zipnotindb"));
 }else{
 document.getElementById("zipresult").innerHTML=NEUI18N.gettext("zipwidget_zipnotindb");
 dojo.html.setDisplay(dojo.byId("zipresult"),true);
 dojo.html.setOpacity(dojo.byId("zipresult"),true);
 }
 }
 loading_tools.setInputElementLoadingStatus("zip",0);
 this.busy=false;
 };
 dojo.event.connect(window,"onload",function(){
 if(dojo.byId("quicksearch")){
 NuPostcodeWidget.quicksearch=true;
 }
 });
 }
 var NuPostcodeWidget=new NuPostcodeWidget();
 function NuSlideshow(){
 this.step;
 this.speed;
 this.scrollwidthneg;
 this.scrollwidth;
 this.scrollheight;
 this.scroller1;
 this.scroller2;
 this.scrollers;
 this.active;
 this.pause;
 this.imgcount;
 this.imgelwidth;
 this.scroll=function(){
 if(!this.pause){
 for(var i=0;i<this.scrollers.length;i++){
 var _22=parseInt(this.scrollers[i].style.left);
 this.scrollers[i].style.left=_22-this.step+"px";
 if(_22<this.scrollwidthneg){
 this.scrollers[i].style.left=this.scrollwidth+"px";
 }
 }
 }
 window.setTimeout("slideshow.scroll()",this.speed);
 };
 this.stop=function(){
 this.pause=true;
 };
 this.play=function(){
 this.pause=false;
 };
 this.init=function(_23,_24,_25,_26,_27,_28){
 this.step=_25?_25:1;
 this.speed=_26?_26:40;
 this.imgcount=_28?_28:10;
 this.imgelwidth=_27?_27:109;
 this.scrollwidth=this.imgelwidth*this.imgcount;
 var tmp=dojo.byId(_24);
 this.scrollheight=tmp.offsetHeight*-1;
 this.scrollwidthneg=this.scrollwidth*-1;
 document.getElementById("scroller").style.left="0px";
 this.scroller1=document.getElementById("scroller");
 this.scroller1.style.width=this.scrollwidth+"px";
 this.scroller2=this.scroller1.cloneNode(true);
 this.scroller1.parentNode.appendChild(this.scroller2);
 with(this.scroller2){
 style.width=this.scrollwidth+"px";
 style.overflow="hidden";
 style.position="relative";
 style.top=this.scrollheight+"px";
 style.left=this.scrollwidth+"px";
 setAttribute("id","scroller2");
 }
 this.scrollers=new Array(this.scroller1,this.scroller2);
 var _2a=dojo.byId(_23);
 dojo.event.connect(_2a,"onmouseover",function(){
 slideshow.stop();
 });
 dojo.event.connect(_2a,"onmouseout",function(){
 slideshow.play();
 });
 this.pause=false;
 this.scroll();
 };
 }
 var slideshow=new NuSlideshow();
 function NEUDojoXHRErrorHandler(){
 this.bindArgs=new dojo.collections.Dictionary();
 this.dialogs=new dojo.collections.Dictionary();
 this.handle=function(_2b,_2c,_2d){
 NuLoadingScreen.hide();
 var uid=Date.parse(new Date());
 this.bindArgs.add(uid,_2d);
 if(dojo.string.has(_2c.message,"403")){
 if(stopJabberClient){
 stopJabberClient();
 }
 location.href=base_url+"/login/"+USER_GENDER+"session-out";
 }else{
 if(JS_XHR_ERRORS){
 var msg=NEUI18N.gettext("NuJS_err_err_occured")+": "+_2c.message;
 var _30=new Array();
 _30[0]=new Array(NEUI18N.gettext("NuJS_err_tryagain"),"NEUXHRErrHandler.dialogs.item('"+uid+"').hide(); dojo.io.bind(NEUXHRErrHandler.bindArgs.item('"+uid+"'))","redonlight");
 _30[1]=new Array(NEUI18N.gettext("NuJS_err_ok"),"","greyonlight");
 var _31=new NuLightboxDialog(msg,_30);
 this.dialogs.add(uid,_31);
 }
 }
 };
 }
 var NEUXHRErrHandler=new NEUDojoXHRErrorHandler();
 var global_dialogs;
 function getNuDialogBox(msg){
 return "<div class=\"NuDialogHeader\"></div><div class=\"NuDialog\">"+msg+"</div><div class=\"NuDialogFooter\"></div>";
 }
 function NuLightboxDialog(msg,_34){
 global_dialogs=new dojo.collections.Dictionary();
 dojo.hostenv.loadPath("dojo_widget.js");
 this.name;
 this.getButtons=function(_35){
 var msg="";
 msg+="<br/><br/><div style=\"text-align:right\">";
 for(var i=0;i<_35.length;i++){
 msg+="<div class=\"submitbutton\" style=\"padding-right: 0;display:inline;\"><input type=\"submit\" class=\"button "+_35[i][2]+"\" value=\""+_35[i][0]+"\" id=\"dialog_option_"+i+"\" onclick=\"";
 if(_35[i][1]){
 msg+=_35[i][1]+";";
 }
 if(!_35[i][1]){
 msg+="global_dialogs.item('"+this.name+"').hide();";
 }
 msg+="\" /></div>";
 if(i!=_35.length-1){
 msg+="&#160;&#160;";
 }
 }
 msg+="</div><br class=\"visualClear\" />";
 return msg;
 };
 this.update=function(msg,_39){
 var msg=msg;
 if(_39){
 msg+=this.getButtons(_39);
 }
 global_dialogs.item(this.name).setContent(getNuDialogBox(msg));
 buttonEndings();
 };
 this.hide=function(){
 global_dialogs.item(this.name).hide();
 };
 this.show=function(){
 global_dialogs.item(this.name).show();
 };
 this.destroy=function(){
 global_dialogs.item(this.name).destroy();
 };
 this.name=Date.parse(new Date());
 var _3a=dojo.widget.createWidget("dojo:Dialog",{bgcolor:"white",bgOpacity:0.4,toggle:"fade",toggleDuration:250});
 global_dialogs.add(this.name,_3a);
 if(_34){
 var msg=msg+=this.getButtons(_34);
 }
 global_dialogs.item(this.name).setContent(getNuDialogBox(msg));
 document.body.appendChild(global_dialogs.item(this.name).domNode);
 buttonEndings();
 global_dialogs.item(this.name).show();
 return this;
 }
 function NuLightboxLoadingScreen(){
 this.dialog;
 this.show=function(msg){
 dojo.hostenv.loadPath("dojo_widget.js");
 if(this.dialog){
 this.dialog.hide();
 this.dialog.destroy();
 }
 this.dialog=dojo.widget.createWidget("dojo:Dialog",{bgcolor:"white",bgOpacity:0.4,toggle:"fade",toggleDuration:250});
 if(!msg){
 var msg=NEUI18N.gettext("NuJS_loading");
 }
 msg+="<br/><br/><div style=\"text-align: center\"><img src=\""+base_url+"/static/img/general/loading.gif\" alt=\""+NEUI18N.gettext("NuJS_loading")+"\" /></div>";
 this.dialog.setContent(getNuDialogBox(msg));
 document.body.appendChild(this.dialog.domNode);
 this.dialog.show();
 };
 this.hide=function(){
 if(this.dialog){
 this.dialog.hide();
 this.dialog.destroy();
 this.dialog=false;
 }
 };
 }
 var NuLoadingScreen=new NuLightboxLoadingScreen();
 function sessionRelocate(url){
 var i=1;
 var _3e=new Object();
 while(i<sessionRelocate.arguments.length){
 _3e[sessionRelocate.arguments[i]]=sessionRelocate.arguments[i+1];
 i=i+2;
 }
 _3e["uniqId"]=UNIQ_ID;
 var _3f=encodeURI(base_url+"/api/setsession/JSON");
 dojo.io.bind({url:_3f,method:"post",content:_3e,error:function(_40,_41){
 window.location.href=url;
 return true;
 },load:function(_42,_43,evt){
 window.location.href=url;
 },mimetype:"text/plain"});
 }
 function getImageDir(_45){
 var res="";
 res+="vcard/"+_45+"/";
 return res;
 }
 function NuInlinePopup(_47,pos){
 this.shadow;
 this.mnode;
 this.ieHackSetSelects=function(_49){
 var pos=dojo.html.getAbsolutePosition(this.mnode,true);
 var _4b=pos.x;
 var _4c=pos.y;
 var _4d=dojo.html.getContentBox(this.mnode);
 var _4e=_4b+_4d.width;
 var _4f=_4c+_4d.height;
 if(dojo.render.html.ie&&!dojo.render.html.ie70){
 var _50=document.getElementsByTagName("SELECT");
 for(var i=0;i<_50.length;i++){
 var _52=dojo.html.getAbsolutePosition(_50[i],true);
 if(((_4b<_52.x)&&(_52.x<_4e)&&((_4c<_52.y)&&(_52.y<_4f)))){
 _50[i].style.visibility=_49;
 }
 }
 }
 };
 this.close=function(){
 this.mnode.style.visibility="hidden";
 this.ieHackSetSelects("visible");
 };
 this.setPos=function(pos){
 this.mnode.style.left=pos.x+"px";
 this.mnode.style.top=pos.y+"px";
 };
 this.setShadow=function(){
 this.shadow=new dojo.lfx.shadow(_47);
 this.shadow.size(dojo.html.getBorderBox(this.mnode).width,dojo.html.getBorderBox(this.mnode).height);
 };
 this.show=function(){
 this.ieHackSetSelects("hidden");
 dojo.html.setDisplay(this.mnode,true);
 dojo.html.setOpacity(this.mnode,true);
 dojo.html.setVisibility(this.mnode,true);
 this.setShadow();
 };
 this.setContent=function(_54){
 this.mnode.innerHTML=_54;
 };
 this.mnode=_47;
 if(pos){
 this.setPos(pos);
 }
 return this;
 }
 function showInlinePopupError(_55,_56,err){
 if((dojo.byId("startwrapper"))&&(dojo.html.hasClass(dojo.byId("startwrapper"),"ad"))){
 _56.style.left=dojo.html.getAbsolutePosition(_55,true).left+dojo.html.getContentBox(_55).width-245+"px";
 _56.style.top=dojo.html.getAbsolutePosition(_55,true).top-21+"px";
 }else{
 _56.style.left=dojo.html.getAbsolutePosition(_55,true).left+dojo.html.getContentBox(_55).width+10+"px";
 _56.style.top=dojo.html.getAbsolutePosition(_55,true).top-4+"px";
 }
 var tmp=new NuInlinePopup(_56);
 if(err){
 tmp.setContent(err);
 }
 tmp.show();
 return tmp;
 }
 function killCache(_59){
 var _5a=encodeURI(base_url+"/api/killcache/"+_59+"/JSON");
 dojo.io.bind({url:_5a,method:"POST",content:{uniqId:UNIQ_ID},error:function(_5b,_5c){
 NEUXHRErrHandler.handle(_5b,_5c,bindArgs);
 },mimetype:"text/plain"});
 }
 function toggleButton(_5d,_5e,_5f,_60,_61){
 node=dojo.byId(_5d);
 currclass=dojo.html.getClass(node);
 if(currclass==_5e){
 dojo.html.removeClass(node,_5e,true);
 dojo.html.addClass(node,_5f);
 node.innerHTML=_61;
 }else{
 dojo.html.removeClass(node,_5f,true);
 dojo.html.addClass(node,_5e);
 node.innerHTML=_60;
 }
 }
 function toggleElement(_62,_63,_64){
 if(_63==1){
 dojo.html.setDisplay(_62,"block");
 dojo.lfx.html.fadeShow(_62,_64).play();
 }else{
 dojo.lfx.html.fadeHide(_62,_64).play();
 dojo.html.setDisplay(_62,false);
 }
 }
 function copyArray(arr){
 var _66=new Array();
 for(var i=0;i<arr.length;i++){
 _66.push(arr[i]);
 }
 return _66;
 }
 function checkMissingSearchValue(_68){
 if(_68.value==""){
 var msg=NEUI18N.gettext("neusearch_empty_nicksearch_error");
 var _6a=new Array();
 _6a[0]=new Array(NEUI18N.gettext("jc_bt_ok"),"dialog.hide()","redonlight");
 dialog=new NuLightboxDialog(msg,_6a);
 return false;
 }else{
 return true;
 }
 }
 function toggleSearchPortlet(_6b){
 dojo.html.toggleShowing("nicksearch");
 dojo.html.toggleShowing("searchlist");
 (_6b=="n")?dojo.byId("firesearch").focus():dojo.byId("searchPortlet_nickname").focus();
 }
 function NuLoadingTools(){
 this.setInputElementLoadingStatus=function(_6c,_6d){
 var _6e=dojo.byId(_6c);
 if(!_6e){
 return;
 }
 if(_6d==1){
 dojo.html.addClass(_6e,"loading-state");
 }else{
 dojo.html.removeClass(_6e,"loading-state");
 }
 };
 this.setTextareaElementLoadingStatus=function(_6f,_70){
 var _71=dojo.byId(_6f);
 if(!_71){
 return;
 }
 if(_70==1){
 dojo.html.addClass(_71,"loading-state-bigwheel");
 }else{
 dojo.html.removeClass(_71,"loading-state-bigwheel");
 }
 };
 this.setSubmitButtonLoadingStatus=function(_72,_73,msg){
 var _75=dojo.byId(_72);
 if(!_75){
 return;
 }
 var _76=dojo.byId("submit-loading-info");
 if(_73==1){
 if(_76){
 return;
 }
 var _77=document.createElement("div");
 _77.setAttribute("id","submit-loading-info");
 _77.className="submit-loading-info";
 _77.innerHTML=msg;
 var _78=_75.nextSibling&&dojo.html.hasClass("buttonEnding",_75.nextSibling)?_75.nextSibling:_75;
 dojo.dom.insertAfter(_77,_78);
 }else{
 if(_76){
 _76.parentNode.removeChild(_76);
 }
 }
 };
 }
 var loading_tools=new NuLoadingTools();
 var Emoticon={openSelection:function(){
 if(dojo.html.hasClass(dojo.byId("emoticons"),"isChat")){
 if(dojo.html.isVisible(dojo.byId("emoticons"))){
 dojo.html.toggleVisibility(dojo.byId("emoticons"));
 window.resizeBy(0,-100);
 }else{
 dojo.io.bind({url:base_url+"/messages/smilies",load:function(_79,_7a,evt){
 dojo.byId("emoticons").innerHTML=_7a;
 window.resizeBy(0,100);
 dojo.html.toggleVisibility(dojo.byId("emoticons"));
 },mimetype:"text/html"});
 }
 }else{
 if(dojo.html.isDisplayed(dojo.byId("emoticons"))){
 toggleElement(dojo.byId("emoticons"),0,400);
 }else{
 dojo.io.bind({url:base_url+"/messages/smilies",load:function(_7c,_7d,evt){
 dojo.byId("emoticons").innerHTML=_7d;
 toggleElement(dojo.byId("emoticons"),1,200);
 },mimetype:"text/html"});
 }
 }
 },insert:function(_7f){
 var _80=(dojo.html.hasClass(dojo.byId("emoticons"),"isChat"))?"msgbox":"msgBody";
 var _81=_7f.getAttribute("alt");
 var _82=dojo.byId(_80).value;
 dojo.byId(_80).value=_82+" "+_81+" ";
 }};
 function switchAds(){
 if(dojo.render.html.moz&&dojo.render.os.mac){
 (dojo.html.isDisplayed("fillerbox2"))?dojo.html.setDisplay(dojo.byId("fillerbox2"),false):dojo.html.setDisplay(dojo.byId("fillerbox2"),true);
 }else{
 (dojo.html.isDisplayed("fillerbox2"))?dojo.lfx.html.fadeHide(dojo.byId("fillerbox2"),500).play():dojo.lfx.html.fadeShow(dojo.byId("fillerbox2"),500).play();
 }
 }
 dojo.event.connect(window,"onload",function(){
 if(dojo.byId("fillerbox2")){
 var _83=window.setInterval("switchAds()",10000);
 }
 });
 var JSTarget={init:function(att,val,_86){
 if(document.getElementById&&document.createElement&&document.appendChild){
 var _87=((typeof att=="undefined")||(att==null))?"class":att;
 var _88=((typeof val=="undefined")||(val==null))?"non-html":val;
 var _89=((typeof _86=="undefined")||(_86==null))?" (opens in a new window)":_86;
 var _8a;
 var _8b=document.getElementsByTagName("a");
 var _8c;
 var _8d=new RegExp("(^|\\s)"+_88+"(\\s|$)");
 for(var i=0;i<_8b.length;i++){
 _8c=_8b[i];
 if((_87=="class")&&(_8d.test(_8c.className))||(_8d.test(_8c.getAttribute(_87)))){
 _8a=document.createElement("em");
 _8a.appendChild(document.createTextNode(_89));
 _8c.appendChild(_8a);
 _8c.onclick=JSTarget.openWin;
 }
 _8a=null;
 }
 }
 },openWin:function(e){
 var _90=(!e)?window.event:e;
 if(_90.shiftKey||_90.altKey||_90.ctrlKey||_90.metaKey){
 return true;
 }else{
 var _91=window.open(this.getAttribute("href"),"_blank");
 if(_91){
 if(_91.focus){
 _91.focus();
 }
 return false;
 }
 _91=null;
 return true;
 }
 },addEvent:function(obj,_93,fn){
 if(obj.addEventListener){
 obj.addEventListener(_93,fn,false);
 }else{
 if(obj.attachEvent){
 obj["e"+_93+fn]=fn;
 obj[_93+fn]=function(){
 obj["e"+_93+fn](window.event);
 };
 obj.attachEvent("on"+_93,obj[_93+fn]);
 }
 }
 }};
 JSTarget.addEvent(window,"load",function(){
 JSTarget.init("rel","external","");
 });
 function NuTools(){
 }
 function NEUTools(){
 this.alert_messages=new function(){
 this.counter=1;
 this.showAlertMsg=function(msg,_96,ttl){
 var _98=dojo.byId("msgAlert");
 if(!_98){
 return false;
 }
 _98.innerHTML=msg;
 var _96=_96?_96:"watchout";
 dojo.html.setClass(_98,"alert-message-"+_96);
 dojo.html.setDisplay(_98,1);
 dojo.lfx.html.fadeShow(_98,100).play();
 var _99=dojo.html.getAbsolutePosition(_98,false).y;
 if(_99<0){
 location.href="#msgAlert";
 }
 if(ttl){
 window.setTimeout(function(){
 NEUTools.alert_messages.hideAlertMsg();
 },ttl*1000);
 }
 };
 this.hideAlertMsg=function(){
 var _9a=dojo.byId("msgAlert");
 if(!_9a){
 return false;
 }
 dojo.html.className="alert-message";
 dojo.lfx.html.fadeHide(_9a,100).play();
 };
 this.checkDisplayStatus=function(){
 var _9b=dojo.byId("msgAlert");
 if(!_9b){
 return false;
 }
 if(_9b.style.display=="none"){
 return false;
 }else{
 return true;
 }
 };
 this.addAdditionalAlertMsg=function(msg,_9d){
 var _9e=dojo.byId("msgAlert");
 if(!_9e){
 return false;
 }
 var _9d=_9d?_9d:"watchout";
 var _9f=_9e.cloneNode(true);
 _9f.className="alert-message  alert-message-"+_9d;
 _9f.innerHTML=msg;
 _9f.setAttribute("id","msgAlert"+String(this.counter));
 dojo.dom.insertAfter(_9f,_9e);
 dojo.html.setDisplay(_9f,1);
 dojo.lfx.html.fadeShow(_9f,300).play();
 this.counter++;
 };
 };
 }
 NEUTools.prototype=new NuTools();
 NEUTools=new NEUTools();
 function buttonEndings(){
 dojo.require("dojo.html.style");
 if(dojo.render.html.safari){
 var tmp=dojo.render.html.UA.split("AppleWebKit/")[1];
 var ver=parseFloat(tmp.split(" ")[0]);
 if(ver>=420){
 gt420=true;
 }
 }
 if((dojo.render.html.safari&&!gt420)||navigator.vendor=="Camino"||!document.getElementsByTagName){
 return false;
 }
 var _a2=dojo.html.getElementsByClass("button");
 for(i=0;i<_a2.length;i++){
 var div=document.createElement("div");
 var _a4=_a2[i].className.split(" ");
 div.className="buttonEnding"+" "+_a4[1]+"right";
 dojo.dom.insertAfter(div,_a2[i]);
 }
 }
 dojo.event.connect(window,"onload","buttonEndings");
 
