/*
 G8 Profile: Version 4.0.13
*/
(function(){window.G8=window.G8||{};var Z=$(document),ta=$(window),qa=G8.ax_jqxtnd.prxy;jQuery.fn.extend({bindTglHoverClass:function(t,a,b){return this.bind("mouseenter",{show:true,cssClass:t,parentSelector:a,tglObjSelector:b},V.tglHoverClass).bind("mouseleave",{show:false,cssClass:t,parentSelector:a,tglObjSelector:b},V.tglHoverClass)},setAltText:function(t){return this.attr("alt",X.strToAlt(t))},getAltText:function(){return X.altToStr(this.attr("alt"))},disbl:function(t){return t?this.data("disabled",
true).removeClass("iActObj"):this.removeData("disabled").addClass("iActObj")},isDisbld:function(){return this.data("disabled")},isActImg:function(){return $Self("img.iRollover",this).srcF().hasStr("_act.")},setImgLo:function(){$Self("img.iRollover",this).switchSrc("_hi.","_lo.").switchSrc("_act.","_lo.");return this},setImgLo_HiOnly:function(){$Self("img.iRollover",this).switchSrc("_hi.","_lo.");return this},setImgHi:function(){$Self("img.iRollover",this).switchSrc("_lo.","_hi.").switchSrc("_act.",
"_hi.");return this},setImgAct:function(){$Self("img.iRollover",this).switchSrc("_lo.","_act.").switchSrc("_hi.","_act.");return this},hiliteSingleImg:function(t){t.not(this).setImgLo();this.setImgAct()}});(function t(){var a=G8.pageVars;a.maxDirectFriends=8;a.maxDirectComments=8;a.maxDirectMessages=8;a.maxDirectGalImgs=5;a.scriptPathUserpage="script.php";a.scriptPathShare="http://www.eightpage.com/script.php";a.maxGalPreviews=15;a.flashVersion=9;a.maxContents={totalImgsInGallery:100,totalImgsInBentry:10,
totalImgsInTextCb:10};a.Feed={intervalTime:30,maxGalImgs:3};a.PCMS={intervalTime:30};a.PCFR={intervalTime:30};a.siteViewMode="Edit";a.themeImgsPathSuffix="themes/"+a.profileData.currThemeId+"/img/";a.profileImgsPathSuffix="themes/profile/img/";a.staticResPaths=[a.profileData.resPath.replace("www.eightpage.com","static1.eightpage.com"),a.profileData.resPath.replace("www.eightpage.com","static2.eightpage.com"),a.profileData.resPath.replace("www.eightpage.com","static3.eightpage.com"),a.profileData.resPath.replace("www.eightpage.com",
"static4.eightpage.com"),a.profileData.resPath.replace("www.eightpage.com","static5.eightpage.com")];a.urlEightpage="http://www.eightpage.com";a.urlWorld="http://www.eightpageworld.com";a.urlCenter="https://center.eightpage.com";a.urlAdobeWorld="http://www.das-labor.net/_extern/adaaworld/";a.Preloading={maxTime:15,percentEssentialsLoadedBeforeContent:0.98};a.UL={maxFileSize:4194304,selectWinFilterExts:"*.jpg;*.jpeg;*.gif;*.png"};a.UserChronjob={intervalTime:120};a.Notify={autohideTime:10};a.fullscreenGallery=
{fadeTime:2,holdTime:4};a.alertAutohideTime=2})();G8.globalSubscriber=$({});var ia=function t(){function a(){s("CBPosition")}function b(v){v=$(v.target);if(v.isChildOf(d.FO_BarToggleAll)){r();return false}else if(v.isChildOf(d.FO_CoverAdd)){v=d.FO_CoverAdd.parents(".EE_friend");F(v);return false}else if(v.isChildOf(d.FO_CoverMsg)){v=d.FO_CoverMsg.parents(".EE_friend");z(v);return false}if(J.isInEditMode())if(v.isChildOf(d.FO_BarDelete)){v=d.FO_BarDelete.parents(".EE_friend");v.trigger("delete");G(v);
return false}if(v.isChildOf(".FO_idFInfo")){v=v.parents(".EE_friend");ba.gotoUrl("http://"+w.readObj("friendObj",v).url);return false}}function c(v,C){$Self(".EE_friend",C).each(function(){new Ra($(this))})}function g(){var v="";v+=e({id:"TAF_Pop",hid:true},e({cl:"TAF_contents"},e({cl:"BP_contHeadline"},"Tell a friend about my eightpage"),e({cl:"TAF_contCenter"},e({cl:"BP_label"},n("Label_TAF_to")),e({cl:"BP_boxInput"},ca({e:"inp",cl:"TAF_inpBig idSendTo Vali_email"})),e({cl:"BP_label"},n("Label_TAF_message")),
e({cl:"BP_boxInput"},ca({e:"txt",cl:"TAF_inptxtBig idMsg Vali_notEmpty"})),Q.getCaptchaMaster()),e({cl:"BP_contControls"},A("icon_taf_send_lo.png","idBtnOkVali iActObj",n("TT_TAF_send")),A("icon_taf_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel")))));if(K.isLogged()){v+=e({id:"FO_CoverMsg",pos:"absolute",hid:true},M("cover_theme_userthumb_msg.png","iActObj fixPNGImg",n("TT_GEN_writeMessage")));v+=e({id:"FO_CoverAdd",pos:"absolute",hid:true},M("cover_theme_userthumb_add.png","iActObj fixPNGImg",
n("TT_FCB_coverStartFriendship")));v+=e({id:"FO_BarDelete",pos:"absolute",hid:true},M("icon_gen_theme_delete_mini_lo.png","idBtnDelete iActObj",n("TT_deleteFriendship")))}v+=e({id:"FO_BarFriendsNavigator",hid:true},e({id:"FO_FriendSearch"},ca({e:"inp",id:"FO_FriendSearch_Input"}),M("infoicon_theme_search.png","FO_idBtnDoSearch"),M("icon_gen_theme_close_mini_lo.png","FO_idBtnClearSearch iActObj hidden",n("TT_FCB_clearSearch"))),M("icon_gen_theme_world_lo.png","idBtnNewFriends iActObj",!o.brandedMode?
K.isLogged()?n("TT_gotoWorld_logged"):n("TT_gotoWorld_notLogged"):o.brandedMode=="adobe"?K.isLogged()?n("TT_gotoAdobeWorld_logged"):n("TT_gotoAdobeWorld_notLogged"):""),!o.brandedMode?M("icon_gen_theme_tellafriend_lo.png","idBtnTellafriend iActObj",n("TT_FCB_TAF")):"",e({cl:"clr"}));v+=e({id:"FO_BarToggleAll",cl:"iActObj",hid:true},M("icon_gen_theme_toggle_collapsed_lo.png","tgl_idBtnTgl iActObj"),e({cl:"tgl_togglerText"},n("Text_FCB_Tgl_allFriends")));v+=e({id:"BoxMoreFriends",hid:true});v+=e({id:"BoxVisibleFriends"});
if(K.isLogged())v+=e({id:"FR_PopAddFriend",hid:true},fa.makeBP({size:"small",headline:n("HL_BP_FR_friendRequest"),content:e({cl:"idRequestMsg BP_infoText BP_centered"})+e({cl:"BP_label"},n("Label_BP_FR_to"))+e({cl:"BP_divSmallInp idUsername"})+e({cl:"BP_label"},n("Label_BP_FR_message"))+e({cl:"BP_boxInput"},ca({e:"txt",cl:"BP_inptxtSmall idMsg Vali_notEmpty"}))+Q.getCaptchaMaster(),controls:A("icon_bp_send_lo.png","idBtnOkVali iActObj",n("TT_BP_FR_invite"))+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",
n("TT_GEN_cancel"))}));o.initDOMString+=v}function j(){var v=["TAF_Pop","FO_CoverMsg","FO_CoverAdd","FO_BarDelete","FO_BarFriendsNavigator","FO_BarToggleAll","BoxMoreFriends","BoxVisibleFriends","FR_PopAddFriend"];J.setDOMReference(v);d.TAF_Pop.find(".idBtnOkVali").bind("click",h);d.FO_BarFriendsNavigator.find(".idBtnNewFriends").bind("click",m).end().find(".idBtnTellafriend").bind("click",k).end().find("#FO_FriendSearch_Input").bind("focus",{focus:true},l).bind("blur",{focus:false},l).end().find(".FO_idBtnClearSearch").bind("click",
p);d.FR_PopAddFriend.find(".idBtnOkVali").bind("click",q);$(".EE_CBFriends").find(".CB_cont>.idClr").before(d.FO_BarFriendsNavigator).before(d.BoxVisibleFriends).before(d.FO_BarToggleAll).before(d.BoxMoreFriends);Z.bind("click",b)}function h(){ka.validateForm(d.TAF_Pop,function(){var v=V.readFormVal(d.TAF_Pop,".idCaptcha"),C=V.readFormVal(d.TAF_Pop,".idSendTo"),D=V.readFormVal(d.TAF_Pop,".idMsg");O.post({action:37,captcha:v,mail:C,text:D,lang:o.loggedData.lang},{dontTrace:[1701],afterError:function(P){O.handleCaptchaError(P,
d.TAF_Pop)},afterSuccess:function(){ka.resetCaptchaError(d.TAF_Pop);Q.alertt({autoHide:true,headline:n("HL_BP_Success_mailSent"),msg:n("Text_BP_Success_mailSent",C)})}})})}function m(){ba.gotoUrl(o.brandedMode=="adobe"?o.urlAdobeWorld:o.urlWorld)}function k(){Q.refreshCaptcha(d.TAF_Pop);d.TAF_Pop.find(".idCaptcha,.idSendTo").val("").end().find(".idMsg").val(n("Input_TAF_message"));Q.tglAlert(true,d.TAF_Pop)}function l(v){v=v.data.focus;var C=$(this);v?C.bind("keyup",f):C.unbind("keyup",f)}function f(){var v=
y($(this).val());d.FO_BarFriendsNavigator.find(".FO_idBtnClearSearch").tgl(v!="");d.FO_BarFriendsNavigator.find(".FO_idBtnDoSearch").tgl(v=="");$(".EE_CBFriends").find(".EE_friend").each(function(){var C=$(this),D=w.readObj("friendObj",C),P=y(D.name);D=y(D.url);P.hasStr(v)||D.hasStr(v)?C.show():C.hide()});s("totalFriends")}function p(){$(this).hide();$("#FO_FriendSearch_Input").val("");f()}function q(){ka.validateForm(d.FR_PopAddFriend,function(){var v=d.FR_PopAddFriend.data("friendData"),C=V.readFormVal(d.FR_PopAddFriend,
".idMsg"),D=V.readFormVal(d.FR_PopAddFriend,".idCaptcha");O.post({action:13,id:v.id,request:C,captcha:D},{dontTrace:[1701],afterError:function(P){O.handleCaptchaError(P,d.FR_PopAddFriend)},afterSuccess:function(){ka.resetCaptchaError(d.FR_PopAddFriend);var P=$("dbFriend_"+v.id);P.length&&E(P,"Requested");Q.alertt({autoHide:true,headline:n("HL_BP_Success_friendRequested"),msg:n("Text_BP_Success_friendRequested",X.formatUser(v))});d.FR_PopAddFriend.removeData("friendData");Sa.handleFriendRelationChange(v.id,
2)}})})}function r(){if(d.BoxMoreFriends.data("expanded")){d.BoxMoreFriends.slideUp(300).data("expanded",false);ga.tglCollapseToggler("allFriends",$("#FO_BarToggleAll").find(".tgl_idBtnTgl"),false)}else{d.BoxMoreFriends.slideDown(300).data("expanded",true);ga.tglCollapseToggler("allFriends",$("#FO_BarToggleAll").find(".tgl_idBtnTgl"),true)}}function x(){d.BoxMoreFriends.slideUp(300).data("expanded",false);ga.tglCollapseToggler("allFriends",$("#FO_BarToggleAll").find(".tgl_idBtnTgl"),false)}function s(v){var C=
$(".EE_CBFriends");if(C.length){d.FO_BarFriendsNavigator.show();if(v=="totalFriends"||!v){var D=C.find(".CB_cont");D=D.find(".EE_friend");var P=D.filter(function(){return $(this).css("display")!="none"}),T=d.BoxVisibleFriends.find(">.idClr").length?d.BoxVisibleFriends.find(">.idClr"):e({cl:"idClr"});d.BoxVisibleFriends.append(P.filter(":lt("+o.maxDirectFriends+")")).append(T);if(P.length>o.maxDirectFriends){T=d.BoxMoreFriends.find(">.idClr").length?d.BoxMoreFriends.find(">.idClr"):e({cl:"idClr"});
d.BoxMoreFriends.append(P.filter(":gt("+(o.maxDirectFriends-1)+")")).append(T);d.FO_BarToggleAll.fadeIn(300)}else d.FO_BarToggleAll.fadeOut(300);D.length>o.maxDirectFriends?d.FO_BarFriendsNavigator.find("#FO_FriendSearch").fadeIn(300):d.FO_BarFriendsNavigator.find("#FO_FriendSearch").fadeOut(300);D=R("Contentblock",C);D.updateCBTotalItems()}if(v=="CBPosition"||!v){$(".FO_idFriendTrenner").remove();v=d.PageMaincontents.find(".EE_CB");if(v.filter(":not(.EE_CBFriends)").length)v.index(C)==0?C.after($("<div>").addClass("FO_idFriendTrenner")):
C.before($("<div>").addClass("FO_idFriendTrenner"))}}else $(".FO_idFriendTrenner").remove()}function u(v,C){Q.refreshCaptcha(d.FR_PopAddFriend);d.FR_PopAddFriend.data("friendData",v).find(".idRequestMsg").html(C).end().find(".idUsername").html(X.formatUser(v)).end().find(".idCaptcha").val("").end().find(".idMsg").val(n("Input_FR_message"));Q.tglAlert(true,d.FR_PopAddFriend)}function B(v,C){if(v=="add"){v=$(C.DOM);C=$(".EE_CBFriends");C.find(".CB_cont").prepend(v);$.event.trigger("extendEE",[v]);v=
R("Contentblock",C);v.preloadPreviewImgs();s("totalFriends")}else if(v=="delete"){v=C.id;v=$("#dbFriend_"+v);o.loggedData.totalFriends--;v.removeAni(300,function(){s("totalFriends")})}else if(v=="changeTotalFriendRequests"){v=C.totalFriendRequests;o.loggedData.totalFriendRequests=v;J.updateDisplayVal("MB_TotalFRequests");if(ha.isVisible()&&d.UB.data("currPane")=="FRequests"){J.updateDisplayVal("PCFR_Subline");o.loggedData.totalFriendRequests==0&&d.PC_Contents.find(".PC_contentsBody").html(e({cl:"PC_contentsBodyEmpty"},
n("Text_FR_noRequests")))}}}function G(v){L.tglObjToDelete(v,true);var C=w.readObj("friendObj",v);Q.confirmm({headline:n("HL_BP_Confirm_deleteFriendship"),contentText:n("Text_BP_Confirm_deleteFriendship"),okAction:function(){B("delete",{id:C.id});O.post({id:C.id,action:14,state:0})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete(v,false)}})}function F(v){v=w.readObj("friendObj",v);if(v.fState=="Requested")Q.alertt({headline:n("HL_BP_friendAlreadyRequested"),msg:n("Text_BP_friendAlreadyRequested",
X.formatUser(v))});else{var C="";u(v,C)}}function z(v){v=w.readObj("friendObj",v);Ca.showWriteMSPop({userDataArr:[v]})}function y(v){return $.trim(v.toLowerCase().replace("www.",""))}function I(v){return v=v.hasClass("idFstate_1")?"Friends":v.hasClass("idFstate_2")?"Requested":false}function E(v,C){C=C=="Requested"?2:1;v.removeClass("idFstate_1").removeClass("idFstate_2").addClass("idFstate_"+C)}G8.globalSubscriber.bind("initCreatePageDOMString",g).bind("initExtendPageDOM",j).bind("extendEE",c);return{hideAllFriends:x,
showPopAddFriend:u,handleFriendChange:B,getFriendFlag:I,fcbPositionChanged:a,updateFCBDesign:s}}(),Sa=function t(){function a(){K.isLogged()&&Z.bind("click",b)}function b(f){f=$(f.target);if(f.isChildOf(d.PC.find(".PCFR_requestBox .idBtnAccept"))){f=f.parents(".PCFR_requestBox");g(f);return false}else if(f.isChildOf(d.PC.find(".PCFR_requestBox .idBtnRefuse"))){f=f.parents(".PCFR_requestBox");j(f);return false}else if(f.isChildOf(d.PC.find(".PCFR_requestBox").find(".PC_userUrl,.PC_userName,.SHAF_imgUserThumb"))){f=
f.parents(".PCFR_requestBox").data("userData").url;ba.gotoUrl("http://"+f);return false}}function c(f){var p=$(e({cl:"PCFR_requestBox"},e({cl:"PC_colLeft"},e({cl:"SHAF_userThumb"},A(w.makeImgPathFromId("share",f.userData.imgId,"thumb"),"SHAF_imgUserThumb"))),e({cl:"PC_colRight"},e({cl:"PC_userName PCFR_UserName"},X.shortenText(f.userData.name,30)),e({cl:"PCFR_date"},A("infoicon_gen_fix_updated.png","PC_imgDate"),X.formatDate(f.date)),e({cl:"clr"}),e({cl:"PC_userUrl"},f.userData.url),e({cl:"PCFR_Msg"},
f.text),e({cl:"PCFR_Actions"},A("icon_gen_fix_ok_lo.png","iActObj idBtnAccept",n("TT_FR_acceptFriendship")),A("icon_gen_fix_cancel_lo.png","iActObj idBtnRefuse",n("TT_FR_refuseFriendship")))),e({cl:"clr"}),A("pc_trenner_big.png")));p.data("userData",f.userData).data("requestDate",f.date).find(".PC_userUrl,.PC_userName,.SHAF_imgUserThumb").bindTglHoverClass("GEN_domainHi",".PCFR_requestBox",".PC_userUrl");return p}function g(f){f.removeAni(300);var p=f.data("userData");O.post({id:p.id,action:14,state:1},
{afterSuccess:function(q){q=w.readObj("friendshipJ",q).DOM;h(p.id,1);ia.handleFriendChange("changeTotalFriendRequests",{totalFriendRequests:o.loggedData.totalFriendRequests-1});ia.handleFriendChange("add",{DOM:q})}})}function j(f){f.removeAni(300);var p=f.data("userData");O.post({id:p.id,action:14,state:0},{afterSuccess:function(){h(p.id,0);ia.handleFriendChange("changeTotalFriendRequests",{totalFriendRequests:o.loggedData.totalFriendRequests-1})}})}function h(f,p){if(f==o.parsedProfileUser.id){o.loggedData.upRelation=
p;Aa.updateFriendRelationBtn()}}function m(){if(ha.isVisible()&&d.UB.data("currPane")=="FRequests"){var f=d.PC_Contents.find(".PC_contentsBody"),p=f.find(".PCFR_requestBox:first"),q=p.length?p.data("requestDate"):0;O.post({action:15,fromTime:q},{afterSuccess:function(r){r=w.readObj("FRequestsJ",r);r.totalRequests!=o.loggedData.totalFriendRequests&&ia.handleFriendChange("changeTotalFriendRequests",{totalFriendRequests:r.totalRequests});J.updateDisplayVal("PCFR_Subline");if(r.requests){p.length||f.empty();
$.each(r.requests,function(x,s){x=w.readObj("FRequest",s);c(x).appendTo(f)})}L.extendHoverAndTt(d.PC_Contents)}})}else{clearInterval(o.PCFR.interval);o.PCFR.interval=false}}function k(){var f=d.PC_Contents.find(".PC_contentsBody");d.PC_Contents.find(".PC_contentsHeadColLeft").html(o.brandedMode=="adobe"?M("icon_pcbig_world_lo.png","iActObj idBtnWorld",n("TT_gotoAdobeWorld_logged")):A("icon_pcbig_world_lo.png","iActObj idBtnWorld",n("TT_gotoWorld_logged"))).end().find(".PC_contentsHeadHL").html(n("HL_PC_FR")).end().find(".idBtnWorld").bind("click",
l);J.updateDisplayVal("PCFR_Subline");O.post({action:15},{afterSuccess:function(p){p=w.readObj("FRequestsJ",p);p.totalRequests!=o.loggedData.totalFriendRequests&&ia.handleFriendChange("changeTotalFriendRequests",{totalFriendRequests:p.totalRequests});J.updateDisplayVal("PCFR_Subline");f.empty();p.requests?$.each(p.requests,function(q,r){q=w.readObj("FRequest",r);c(q).appendTo(f)}):f.html(e({cl:"PC_contentsBodyEmpty"},n("Text_FR_noRequests")));L.extendHoverAndTt(d.PC_Contents);o.PCFR.interval=setInterval(m,
o.PCFR.intervalTime*1E3)}})}function l(){ba.gotoUrl(o.brandedMode=="adobe"?o.urlAdobeWorld:o.urlWorld)}G8.globalSubscriber.bind("initExtendPageDOM",a);return{handleFriendRelationChange:h,fillPCFR:k}}(),Ra=function t(a){var b=this;K.isOwner()&&a.bind("mouseenter",{show:true},b._hov_tglBar).bind("mouseleave",{show:false},b._hov_tglBar);a.find(".FO_idFImg").bind("mouseenter",{show:true},b._hov_tglCover).bind("mouseleave",{show:false},b._hov_tglCover).end().find(".FO_idFInfo").bindTglHoverClass("FO_friendInfoHi").find(".FO_idFMod").prepend(M("infoicon_theme_updated.png")).end().find(".FO_idFName").each(function(){var c=
$(this);c.html(X.shortenText(c.html(),25))});L.extendHoverAndTt(a)};Ra.prototype={_hov_tglBar:function t(a){a=a.data.show;var b=$(this);if(J.isInEditMode())a?d.FO_BarDelete.appendTo(b).setPosTo(b.find(".FO_idFName"),["BOTTOMI",-3],["RIGHT",5]).tglFadeIn(300):d.FO_BarDelete.tglFadeOut(300)},_hov_tglCover:function t(a){if(K.isLogged()){a=a.data.show;var b=$(this),c=b.parents(".EE_friend"),g=K.isLoggedId(w.getEEId(c));if(!g){c=(c=K.isOwner()?true:ia.getFriendFlag(c)=="Friends"?true:false)?d.FO_CoverMsg:
d.FO_CoverAdd;a?c.appendTo(b).delay(200).tglFadeIn(300):c.tglFadeOut(250)}}}};var ra=function t(){function a(j){var h=false;if(K.isLogged()&&j==o.parsedLoggedUser.id)h=o.parsedLoggedUser;else $.each(o.adressList,function(m,k){if(k.id==j){h=k;return false}});return h}function b(j,h){var m=this,k=false;$.each(j,function(l,f){if(f!=undefined)if(!a(f)){k=true;return false}});k?m.updateAdressList(h):h.call()}function c(j){O.post({action:16,id:o.parsedLoggedUser.id},{afterSuccess:function(h){var m=[];$.each(w.readObj("friendsJ",
h).users,function(k,l){k=w.readObj("user",l);m.push(k)});o.adressList=m;j&&j.call()}})}function g(j){if(o.adressList.length){var h=true;$.each(o.adressList,function(m,k){m=k;if(m.id==j.id)h=false});o.adressList.push(j)}else o.adressList=[j]}return{getUserDataByIdFromList:a,handleAdressListUpdate:b,updateAdressList:c,addToAdresssList:g}}(),K=function t(){function a(h){o.loggedData.user[2]=o.profileData.user[2]=h;o.parsedLoggedUser=w.readObj("user",o.loggedData.user);o.parsedProfileUser=w.readObj("user",
o.profileData.user);J.updateDisplayVal("DocTitle");J.updateDisplayVal("UserName")}function b(){return w.readObj("auth",o.loggedData.userAuthedStatus)!="notLogged"}function c(){return w.readObj("auth",o.loggedData.userAuthedStatus)=="ownerLogged"}function g(h){return h==o.parsedLoggedUser.id}function j(){var h=o.loggedData.upRelation;return h=b()?c()?"isOwner":h==1?"isFriend":h==2?"isPending":"isNoFriend":"isNotLogged"}return{updateUserName:a,isLogged:b,isOwner:c,isLoggedId:g,getRelation:j}}(),na=
function t(){function a(){var s="";s+=e({id:"Log_Pop",hid:true},fa.makeBP({headline:"Login",content:e({cl:"idLoginMsg BP_centered BP_infoText"})+e({cl:"idPasswordForm"},e({cl:"BP_label idLabelDomain"},n("Label_Login_domain")),e({cl:"BP_boxInput"},ca({e:"inp",cl:"BP_inpSmall idDomain"})),e({cl:"BP_label idLabelPassword"},n("Label_Login_password")),e({cl:"BP_boxInput"},ca({e:"pw",cl:"BP_inpSmall idPW"})))+e({cl:"extLinks"},e({cl:"link idLinkPWForgot"},n("Link_Login_pwForgotten")))+(!o.brandedMode?e({cl:"Log_eightpageBadge"},
A("badge_loginpop_lo.png","iFadeImg noFadeMsie idBtnBadge",n("TT_GEN_iWantEightpage"))):"")+e({cl:"BP_contControls"},A("icon_bp_ok_lo.png","idBtnOk iActObj",n("TT_GEN_login"))+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel")))}));s+=e({id:"Log_PopPWRestore",hid:true},fa.makeBP({headline:"",content:e({cl:"BP_centered BP_infoText idInfoText"})+e({cl:"BP_label"},n("Label_PwRestore_domain"))+e({cl:"BP_boxInput"},ca({e:"inp",cl:"BP_inpSmall idDomain Vali_notEmpty"}))+e({cl:"BP_label"},
n("Label_PwRestore_email"))+e({cl:"BP_boxInput"},ca({e:"inp",cl:"BP_inpSmall idEmail Vali_email"}))+Q.getCaptchaMaster()+(!o.brandedMode?e({cl:"Log_eightpageBadge"},A("badge_loginpop_lo.png","iFadeImg noFadeMsie idBtnBadge",n("TT_GEN_iWantEightpage"))):"")+e({cl:"BP_contControls"},A("icon_bp_ok_lo.png","idBtnOkVali iActObj",n("TT_PwRestore_requestPassword"))+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel")))}));o.initDOMString+=s}function b(){var s=["Log_Pop","Log_PopPWRestore"];
J.setDOMReference(s);G8.isLocaltest||d.Log_Pop.find(".idPasswordForm").empty().append($("#Page_hiddenLoginForm").find(".idLabelDomain").html(n("Label_Login_domain")).end().find(".idLabelPassword").html(n("Label_Login_password")).end().find("input[name='UP']").val(o.parsedProfileUser.url).end().show());d.Log_Pop.find(".idDomain,.idPW").bind("focus",{start:true},j).bind("blur",{start:false},j).end().find(".idBtnOk").bind("click",m).end().find(".idLinkPWForgot").bind("click",f).end().find(".idBtnBadge").bind("click",
l);L.bindLinkStyle(d.Log_Pop.find(".idLinkPWForgot"));L.extendFadeImgs(d.Log_Pop);d.Log_PopPWRestore.find(".idBtnOkVali").bind("click",r).end().find(".idBtnBadge").bind("click",l);L.extendFadeImgs(d.Log_PopPWRestore)}function c(s){s?d.Log_Pop.find(".idLoginMsg").html(s).show():d.Log_Pop.find(".idLoginMsg").hide();Q.tglAlert(true,d.Log_Pop)}function g(){c();return false}function j(s){(s=s.data.start)?d.Log_Pop.bind("keypress",h):d.Log_Pop.unbind("keypress",h)}function h(s){s.which==13&&d.Log_Pop.find(".idBtnOk").trigger("click")}
function m(){Q.tglPreloader(true);d.Log_Pop.find(".idPW").val(V.readFormVal(d.Log_Pop,".idPW"));d.Log_Pop.find(".idDomain").val(V.readFormVal(d.Log_Pop,".idDomain").replace("www.","").replace("http://",""));V.readFormVal(d.Log_Pop,".idDomain");var s=$("#Page_hiddenLoginForm");if(window.location.search){var u=window.location.search;s.attr("action",s.attr("action")+u.replace("?","&"))}s.submit()}function k(){function s(){O.post({action:4},{afterSuccess:function(u){u=w.readObj("json",u);o.loggedData.userAuthedStatus=
u.authed;o.loggedData.loginError=u.stateError;o.loggedData.user=false;o.parsedLoggedUser=false;o.siteViewMode="View";$(".EE_CB").each(function(){var B=$(this);if(B.data("privacy")!=O.getAjaxConst("PRIVACY_FLAGS","ALL")){B.removeAni(300);B.hasClass(".EE_CBFriends")&&$(".FO_idFriendTrenner").remove()}});J.displayPage();x()}})}if(ha.isVisible()){d.UB.fadeOut(300);d.PC_Cover.fadeOut(300,function(){s()});d.UB.data("expanded",false);d.AllPageContents.add("#LB_Popup,#LB_Overlay").show()}else s()}function l(){ba.gotoUrl(o.urlEightpage)}
function f(){q("forgot")}function p(){q("restore")}function q(s){if(s=="forgot"){s=n("HL_PwRestore_passwordForgotten");var u=n("Text_PwRestore_passwordForgotten")}else{s=n("HL_PwRestore_passwordRestore");u=n("Text_PwRestore_passwordRestore")}Q.tglAlert(false,d.Log_Pop);Q.refreshCaptcha(d.Log_PopPWRestore);d.Log_PopPWRestore.find(".BP_contHeadline").html(s).end().find(".idInfoText").html(u).end().find(".idDomain").val("").end().find(".idCaptcha").val("");Q.tglAlert(true,d.Log_PopPWRestore)}function r(){ka.validateForm(d.Log_PopPWRestore,
function(){var s=V.readFormVal(d.Log_PopPWRestore,".idDomain"),u=V.readFormVal(d.Log_PopPWRestore,".idEmail");s.hasStr("www.")||(s="www."+s);var B=V.readFormVal(d.Log_PopPWRestore,".idCaptcha");O.post({action:35,domain:s,mail:u,captcha:B,lang:o.loggedData.lang},{dontTrace:[1701,2],afterError:function(G){O.handleCaptchaError(G,d.Log_PopPWRestore);O.handlePWRestoreEmailError(G,d.Log_PopPWRestore)},afterSuccess:function(){ka.resetCaptchaError(d.Log_PopPWRestore);Q.alertt({autoHide:true,headline:n("HL_BP_Success_passwordRequested"),
msg:n("Text_BP_Success_passwordRequested")})}})})}function x(){var s=o.loggedData.loginError;if(s==1)c(n("Text_Login_problemCookie"));else if(s==2&&K.isLogged())c(n("Text_Login_problemSession"));else if(s==3)c(n("Text_Login_problemPassword"));else if(s==4){c(n("Text_Login_problemLocked")+e({cl:"link idLinkPWRestore"},n("Link_Login_unlockPassword")));d.Log_Pop.find(".idLinkPWRestore").bind("click",p);L.bindLinkStyle(d.Log_Pop.find(".idLinkPWRestore"))}if(K.isLogged()){J.tglUserChronjob("logged",true);
J.tglUserChronjob("notLogged",false)}else{J.tglUserChronjob("logged",false);J.tglUserChronjob("notLogged",true)}}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{showLoginPop:c,clk_showLoginPop:g,clk_submitLogout:k,handleLoginState:x}}();(function t(){function a(){if(K.isLogged()){var g="";g+=e({id:"PCMS_CoverUserThumbMsg",pos:"absolute",hid:true},A("cover_fix_userthumb_msg.png","iActObj",n("TT_GEN_writeMessage")));o.initDOMString+=g}}function b(){if(K.isLogged()){var g=
["PCMS_CoverUserThumbMsg"];J.setDOMReference(g)}Z.bind("click",c)}function c(g){g=$(g.target);if(ha.isVisible())if(g.isChildOf(".PCMS_ToggleFullDialog")){g=g.parents(".PCMS_DialogBox");g=R("Dialog",g);g.tglFullDialog();return false}else if(g.isChildOf(".PCMS_ToggleDialog")){g=g.parents(".PCMS_DialogBox");g=R("Dialog",g);g.tglDialog();return false}else if(g.isChildOf(d.PCMS_CoverUserThumbMsg)){g=g.parents(".PCMS_DialogBox");g=R("Dialog",g);g.writeMessageToUser();return false}else if(g.isChildOf(".PCMS_userDialogPartner,.PC_userTitleRow")){g=
g.parents(".PCMS_DialogBox");g=R("Dialog",g);g.gotoDialogUser();return false}}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{}})();var va=function t(){function a(m){var k=m.messageData,l=m.totalMessages,f=m.totalNewMessages,p=m.totalMessagesDialog,q=m.totalNewMessagesDialog;g("changeTotals",{totalNewMessages:f,totalMessages:l});var r=K.isLoggedId(k.uidReci)?k.uidSend:k.uidReci;d.PC_Contents.find(".PC_contentsBodyEmpty").remove();var x=false,s=false;d.PC_Contents.find(".PCMS_DialogBox").each(function(){var u=
$(this);s=u.data("dialogUserData");if(s.id==r){x=u;return false}});ra.handleAdressListUpdate([r],function(){if(!x){var u={user:ra.getUserDataByIdFromList(r),totalNewMessages:0,totalMessages:0,messages:[]};s=u.user;u=new Ka(u);x=u.getJDomObj();x.data("dialogUserData",s);d.PC_Contents.find(".PC_contentsBody").prepend(x);L.extendHoverAndTt(x)}var B=x.find(".PCMS_DirectMessagesBox");k.userDataSend=K.isLoggedId(k.uidSend)?o.parsedLoggedUser:s;B.prepend((new La(k,u)).getJDomObj());c(x);o.loggedData.totalMessages=
l;o.loggedData.totalNewMessages=f;x.data("totalMessages",p);x.data("totalNewMessages",q);J.updateDisplayVal("PCMS_DialogHL",{dialogObj:x});J.updateDisplayVal("PCMS_Subline")})}function b(){if(ha.isVisible()&&d.UB.data("currPane")=="Messages"){var m=d.PC_Contents.find(".PC_contentsBody");m.find(".PCMS_MsgBox:first");m=o.latestMessageStamp;O.post({action:40,showDetails:true,lengthDialog:100,fromTime:m},{afterSuccess:function(k){var l=w.readObj("dialogsJ",k);$.each(l.dialogs,function(f,p){var q=w.readObj("dialog",
p);$.each(q.messages,function(r,x){r={messageData:w.readObj("message",x),totalMessages:l.totalMessages,totalNewMessages:l.totalNewMessages,totalMessagesDialog:q.totalMessages,totalNewMessagesDialog:q.totalNewMessages};a(r)})})}})}else{clearInterval(o.PCMS.interval);o.PCMS.interval=false}}function c(m){var k=m.find(".PCMS_MsgBox"),l=m.find(".PCMS_DirectMessagesBox"),f=m.find(".PCMS_FullDialogBox");if(k.length){m=m.find(".PCMS_ToggleFullDialog");k.filter(":lt("+o.maxDirectMessages+")").appendTo(l);
if(k.length>o.maxDirectMessages){m.show();k.filter(":gt("+(o.maxDirectMessages-1)+")").appendTo(f);k.filter(":last").find(".PCMS_imgTrennerSmall").remove()}else m.add(f).hide()}else m.removeAni(300)}function g(m,k){if(m=="changeTotals"){if(k.totalNewMessages!=undefined)o.loggedData.totalNewMessages=k.totalNewMessages;if(k.totalMessages!=undefined)o.loggedData.totalMessages=k.totalMessages;J.updateDisplayVal("MB_TotalMessages");if(ha.isVisible()&&d.UB.data("currPane")=="Messages"){J.updateDisplayVal("PCMS_Subline");
o.loggedData.totalMessages==0&&d.PC_Contents.find(".PC_contentsBody").html(e({cl:"PC_contentsBodyEmpty"},n("Text_MS_noMessages")))}}}function j(){o.parsedLoggedUser&&o.parsedLoggedUser.url=="www.eightpageteam.com"&&o.parsedProfileUser.url=="www.eightpageteam.com"?Ca.showWriteMSPop({writeToAllFriends:true}):Ca.showWriteMSPop()}function h(){var m=d.PC_Contents.find(".PC_contentsBody");d.PC_Contents.find(".PC_contentsHeadColLeft").html(A("icon_pcbig_writemsg_lo.png","iActObj idBtnWriteNew",n("TT_GEN_writeMessage"))).end().find(".PC_contentsHeadHL").html(n("HL_PC_MS")).end().find(".idBtnWriteNew").bind("click",
j);J.updateDisplayVal("PCMS_Subline");O.post({action:40,showDetails:true,lengthDialog:100},{afterSuccess:function(k){m.empty();k=w.readObj("dialogsJ",k);g("changeTotals",{totalNewMessages:k.totalNewMessages,totalMessages:k.totalMessages});if(k.dialogs){$.each(k.dialogs,function(l,f){l=w.readObj("dialog",f);f=(new Ka(l)).getJDomObj();m.append(f);c(f);ra.addToAdresssList(l.user)});L.extendHoverAndTt(d.PC_Contents)}else m.html(e({cl:"PC_contentsBodyEmpty"},n("Text_MS_noMessages")));o.PCMS.interval=setInterval(b,
o.PCMS.intervalTime*1E3)}})}return{fillPCMS:h,addMessage:a,handleMsgChange:g,updatePCMSDesign:c}}();(function t(){function a(g){g=$(g.target);if(ha.isVisible())if(g.isChildOf(".PCMS_ToggleReply")){g=g.parents(".PCMS_MsgBox");g=R("Message",g);g.tglReply();return false}else if(g.isChildOf(".PCMS_Subject")){g=g.parents(".PCMS_MsgBox");g=R("Message",g);g.tglMessage();return false}else if(g.isChildOf(".idBtnReply")){g=g.parents(".PCMS_MsgBox");g=R("Message",g);g.submitReply();return false}}function b(){if(K.isLogged()){var g=
"";g+=e({id:"PCMS_BtnMsgDelete",hid:true},A("icon_gen_fix_delete_mini_lo.png","idBtnDelete iActObj",n("TT_PC_MS_deleteMessage")));o.initDOMString+=g}}function c(){if(K.isLogged()){var g=["PCMS_BtnMsgDelete"];J.setDOMReference(g);Z.bind("click",a)}}G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c);return{}})();var Ca=function t(){function a(){if(K.isLogged()){var u="";u+=e({id:"WriteMS_Pop",hid:true},fa.makeBP({size:"big",headline:n("HL_BP_WriteMS_writeMessage"),content:e({cl:"BP_label"},
n("Label_BP_WriteMS_to"))+e({cl:"idSendToBoxes BP_boxInput"},e({cl:"BP_divBigInp WriteMS_adressInputBox"},ca({e:"inp",cl:"BP_inpInvisible idSendTo Vali_hasRecipient"})))+e({cl:"BP_label"},n("Label_BP_WriteMS_subject"))+e({cl:"BP_boxInput"},ca({e:"inp",cl:"BP_inpBig idSubject Vali_notEmpty"}))+e({cl:"BP_label"},n("Label_BP_WriteMS_message"))+e({cl:"BP_boxInput"},ca({e:"txt",cl:"BP_inptxtBig idMsg Vali_notEmpty"})),controls:A("icon_bp_send_lo.png","idBtnOkVali iActObj",n("TT_GEN_sendMessage"))+A("icon_bp_cancel_lo.png",
"idBtnCancel iActObj",n("TT_GEN_cancel"))}));u+=e({id:"WriteMS_AdressList",hid:true},e({hid:true,id:"WriteMS_AdressListPreview"},e({cl:"SHA_userMini"},A("preview_user_mini.png","SHA_imgUserMini idPreviewImg"))),e({cl:"WriteMS_adressListTop"}),e({cl:"WriteMS_adressListContents"}),e({cl:"WriteMS_adressListBot"}));o.initDOMString+=u}}function b(){if(K.isLogged()){var u=["WriteMS_Pop","WriteMS_AdressList","WriteMS_AdressListPreview"];J.setDOMReference(u);d.WriteMS_Pop.find(".idBtnOkVali").bind("click",
c).end().find(".idSendTo").bind("blur",j).bind("focus",g)}}function c(){ka.validateForm(d.WriteMS_Pop,function(){var u=[];d.WriteMS_Pop.data("writeToAllFriends")?$(".EE_friend").each(function(){var z=$(this);u.push({id:w.getEEId(z)})}):d.WriteMS_Pop.find(".WriteMS_idAdressObj").each(function(){u.push($(this).data("userData"))});var B=V.readFormVal(d.WriteMS_Pop,".idSubject"),G=V.readFormVal(d.WriteMS_Pop,".idMsg"),F=[];$.each(u,function(z,y){F.push(y.id)});O.post({action:19,"id[]":F,subject:B,text:G},
{afterSuccess:function(z){Q.alertt({autoHide:true,headline:n("HL_BP_Success_messageSent"),msg:n("Text_BP_Success_messageSent")});var y=w.readObj("dialogsJ",z);$.each(y.dialogs,function(I,E){I=w.readObj("dialog",E);I={messageData:w.readObj("message",I.messages[0]),totalMessages:y.totalMessages,totalNewMessages:y.totalNewMessages,totalMessagesDialog:I.totalMessages,totalNewMessagesDialog:I.totalNewMessages};va.addMessage(I)})}})})}function g(){$(this).bind("keyup",h)}function j(){$(this).unbind("keyup",
h).val("");d.WriteMS_AdressList.fadeOut(300)}function h(u){f(V.readFormVal(d.WriteMS_Pop.find(".idSendTo")));if(u.which==38)l("up");else if(u.which==40)l("down");else u.which==13&&k()}function m(){var u=$(this);u=u.data("userData");p(u)}function k(){var u=d.WriteMS_AdressList.find(".WriteMS_adressListEntryHi");if(u.length){u=u.data("userData");p(u)}}function l(u){if(d.WriteMS_AdressList.is(":visible")){var B=d.WriteMS_AdressList.find(".WriteMS_idAdressListEntry:visible"),G=B.index(d.WriteMS_AdressList.find(".WriteMS_adressListEntryHi"));
if(u=="down"&&G<B.length-1){B.eq(G).removeClass("WriteMS_adressListEntryHi").end().eq(G+1).addClass("WriteMS_adressListEntryHi");x(true,B.eq(G+1))}else if(u=="up"&&G>0){B.eq(G).removeClass("WriteMS_adressListEntryHi").end().eq(G-1).addClass("WriteMS_adressListEntryHi");x(true,B.eq(G-1))}}}function f(u){function B(y){var I=false;d.WriteMS_Pop.find(".WriteMS_idAdressObj").each(function(){if($(this).data("userData").id==y.id)I=true});return I}var G=d.WriteMS_Pop.find(".idSendTo"),F=o.adressList,z=d.WriteMS_AdressList.find(".WriteMS_adressListContents");
if(d.WriteMS_AdressList.is(":hidden")){z.empty();$.each(F,function(y,I){$(e({cl:"WriteMS_idAdressListEntry"},e({cl:"WriteMS_adressListEntryCont"},Y({cl:"WriteMS_idAdressEntryName"},X.shortenText(I.name,22)),Y({cl:"WriteMS_idAdressEntryUrl"},"["+I.url+"]")))).data("userData",I).bind("mouseenter",{show:true},r).bind("mouseleave",{show:false},r).bind("click",m).appendTo(z)});d.WriteMS_AdressList.setPosTo(G,"LEFTI","BOTTOM").fadeIn(300)}d.WriteMS_AdressList.find(".WriteMS_idAdressListEntry").each(function(){var y=
$(this),I=y.find(".WriteMS_idAdressEntryName"),E=y.find(".WriteMS_idAdressEntryUrl");if((I.text().hasStr(u)||E.text().hasStr(u))&&!B(y.data("userData"))){y.show();y=new RegExp(u,"i");I.html(I.text().replace(y,ca({e:"sp",cl:"WriteMS_adressEntryMatch"},u)));E.html(E.text().replace(y,ca({e:"sp",cl:"WriteMS_adressEntryMatch"},u)))}else{y.removeClass("WriteMS_adressListEntryHi").hide();x(false,y)}})}function p(u){var B=d.WriteMS_Pop.find(".idSendToBoxes"),G=B.find(".idSendTo"),F=G.parent();u=$(e({cl:"WriteMS_idAdressObj"},
X.formatUser(u))).data("userData",u);var z=$(e({cl:"BP_divBigInp WriteMS_adressInputBox"})),y=$(A("icon_gen_fix_delete_mini_lo.png","WriteMS_imgBtnDeleteAdress iActObj",n("TT_BP_WriteMS_removeAdress")));F.append(u).append(y);B.append(z.append(G));L.extendHoverAndTt(y);y.bind("click",q)}function q(){var u=$(this);u=u.parent();u.remove()}function r(u){u=u.data.show;var B=$(this),G=d.WriteMS_AdressList.find(".WriteMS_idAdressListEntry");if(u){G.filter(function(){return this!=B.get(0)}).removeClass("WriteMS_adressListEntryHi");
B.addClass("WriteMS_adressListEntryHi");x(true,B)}else{G.removeClass("WriteMS_adressListEntryHi");x(false,B)}}function x(u,B){u?d.WriteMS_AdressListPreview.find(".idPreviewImg").attr("src",w.makeImgPathFromId("share",B.data("userData").imgId,"mini")).end().setPosTo(B,["RIGHTI",-20],"BOTTOMI").tglFadeIn(300):d.WriteMS_AdressListPreview.tglFadeOut(300)}function s(u){u=u||{};d.WriteMS_Pop.find(".idSendTo,.idSubject,.idMsg").val("");d.WriteMS_Pop.find(".WriteMS_idAdressObj").each(function(){$(this).parent().remove()});
ra.updateAdressList();u.userDataArr&&$.each(u.userDataArr,function(B,G){p(G)});u.writeToAllFriends?d.WriteMS_Pop.data("writeToAllFriends",true).find(".idSendTo").val("MESSAGE ALL FRIENDS!!!").removeClass("Vali_hasRecipient"):d.WriteMS_Pop.data("writeToAllFriends",false).find(".idSendTo").addClass("Vali_hasRecipient");Q.tglAlert(true,d.WriteMS_Pop)}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{showWriteMSPop:s}}(),Ka=function t(a){var b=this,c=a.user,g=$(e({cl:"PCMS_DialogBox"},
e({cl:"PC_colLeft"},e({cl:"SHAF_userThumb idDialogUser"},A(w.makeImgPathFromId("share",c.imgId,"thumb"),"SHAF_imgUserThumb"))),e({cl:"PC_colRight"},e({cl:"PC_userTitleRow"},e({cl:"PC_userName"},X.shortenText(c.name,30)),e({cl:"PC_userUrl PCMS_UserUrl"},c.url)),e({cl:"PCMS_ToggleDialog"},A("icon_gen_fix_toggle_collapsed_lo.png","iActObj PCMS_imgToggler idTogglerDialog"),e({cl:"PCMS_DialogTotalMsgs tgl_togglerText"})),e({cl:"PCMS_DialogContents"},e({cl:"PCMS_DirectMessagesBox"}),e({cl:"PCMS_ToggleFullDialog"},
A("icon_gen_fix_toggle_collapsed_lo.png","iActObj PCMS_imgToggler idTogglerFullDialog"),n("Text_MS_Tgl_allMessages")),e({cl:"PCMS_FullDialogBox"}))),e({cl:"clr"}),A("pc_trenner_big.png")));g.data("totalNewMessages",a.totalNewMessages).data("totalMessages",a.totalMessages).data("dialogUserData",c).find(".PCMS_DialogContents").hide().end().find(".PCMS_FullDialogBox").hide().end().find(".idDialogUser").bind("mouseenter",{show:true},b._hov_tglCoverDialogUser).bind("mouseleave",{show:false},b._hov_tglCoverDialogUser).end().find(".PC_userTitleRow").addClass("iActObj").bindTglHoverClass("PCMS_userInfoHi");
J.updateDisplayVal("PCMS_DialogHL",{dialogObj:g});var j=g.find(".PCMS_FullDialogBox").empty();$.each(a.messages,function(h,m){h=w.readObj("message",m);h.userDataSend=K.isLoggedId(h.uidSend)?o.parsedLoggedUser:c;j.append((new La(h,b)).getJDomObj())});b._glo_jDomObj=g;la.setJDomToObjMapping("Dialog",g,b)};Ka.prototype={getJDomObj:function t(){var a=this;return a._glo_jDomObj},tglFullDialog:function t(){var a=this,b=a._glo_jDomObj;a=b.find(".PCMS_FullDialogBox");b=b.find(".idTogglerFullDialog");ga.tglBox(a,
b,"PCMS_FullDialog")},tglDialog:function t(){var a=this,b=a._glo_jDomObj;a=b.find(".PCMS_DialogContents");b=b.find(".idTogglerDialog");ga.tglBox(a,b,"PCMS_Dialog")},_hov_tglCoverDialogUser:function t(a){a=a.data.show;var b=$(this);a?d.PCMS_CoverUserThumbMsg.appendTo(b).tglFadeIn(300):d.PCMS_CoverUserThumbMsg.tglFadeOut(250)},writeMessageToUser:function t(){var a=this;a=a._glo_jDomObj.data("dialogUserData");Ca.showWriteMSPop({userDataArr:[a]})},gotoDialogUser:function t(){var a=this;a=a._glo_jDomObj.data("dialogUserData");
ba.gotoUrl("http://"+a.url)}};var La=function t(a,b){var c=this;c._glo_parentDialogObj=b;if(a.date>o.latestMessageStamp)o.latestMessageStamp=a.date;b=K.isLoggedId(a.uidSend);var g=$(e({cl:"PCMS_MsgBox"},e({cl:"SHAF_userMini PCMS_UserMini PC_userMiniLeft"},A(w.makeImgPathFromId("share",a.userDataSend.imgId,"mini"),"SHAF_imgUserMini")),e({cl:"PCMS_subjectRow"},e({cl:"PCMS_Subject"},A("icon_gen_fix_toggle_collapsed_lo.png","iActObj PCMS_imgToggler idTogglerMessage"),a.subject),e({cl:"PCMS_date"},A("infoicon_gen_fix_updated.png",
"PC_imgDate"),X.formatDate(a.date,"long")),e({cl:"clr"})),e({cl:"PCMS_MsgContents"},e({cl:"PCMS_Msg"},a.text),b?"":e({cl:"PCMS_ReplyBox"},e({cl:"PCMS_ToggleReply"},A("icon_gen_fix_toggle_collapsed_lo.png","iActObj PCMS_imgToggler idTogglerReply",n("TT_MS_Tgl_reply")),n("Text_MS_Tgl_reply")),e({cl:"PCMS_ReplayForm"}))),A("pc_trenner_small.png","PCMS_imgTrennerSmall")));g.data("messageData",a).find(".PCMS_MsgContents").hide().end().find(".PCMS_ReplayForm").hide().end().bind("mouseenter",{show:true,
thiss:c},c._hov_tglBtnDelete).bind("mouseleave",{show:false,thiss:c},c._hov_tglBtnDelete);c._isUnread(a)&&g.find(".PCMS_Subject").addClass("PCMS_Unread");b||g.find(".PCMS_UserMini").addClass("PCMS_userDialogPartner").find(".SHAF_imgUserMini").addClass("iActObj").setAltText(n("TT_MS_visitUser"));L.extendTextLinks(g.find(".PCMS_Msg"));L.extendHoverAndTt(g);c._glo_jDomObj=g;la.setJDomToObjMapping("Message",g,c)};La.prototype={getJDomObj:function t(){var a=this;return a._glo_jDomObj},_isUnread:function t(a){return a.state==
1},submitReply:function t(){var a=this;msgBox=a._glo_jDomObj;ka.validateForm(msgBox,function(){var b=msgBox.data("messageData").userDataSend,c=V.readFormVal(msgBox,".PCMS_ReplyFieldSubject"),g=V.readFormVal(msgBox,".PCMS_ReplyFieldMsg");b=[b.id];a.tglReply();O.post({action:19,"id[]":b,subject:c,text:g},{afterSuccess:function(j){Q.alertt({autoHide:true,headline:n("HL_BP_Success_messageSent"),msg:n("Text_BP_Success_messageSent")});var h=w.readObj("dialogsJ",j);$.each(h.dialogs,function(m,k){m=w.readObj("dialog",
k);m={messageData:w.readObj("message",m.messages[0]),totalMessages:h.totalMessages,totalNewMessages:h.totalNewMessages,totalMessagesDialog:m.totalMessages,totalNewMessagesDialog:m.totalNewMessages};va.addMessage(m)})}})})},tglMessage:function t(){var a=this,b=a._glo_jDomObj,c=b.find(".idTogglerMessage"),g=b.find(".PCMS_MsgContents");g.data("expanded")||a._isUnread(b.data("messageData"))&&a._markRead(b);ga.tglBox(g,c,"PCMS_Message")},_markRead:function t(a){a.find(".PCMS_Subject").removeClass("PCMS_Unread");
a.data("messageData").state=2;var b=a,c=a.parents(".PCMS_DialogBox");O.post({action:20,id:a.data("messageData").mid,state:2},{afterError:function(){b.find(".PCMS_Subject").addClass("PCMS_Unread");b.data("messageData").state=1},afterSuccess:function(g){g=w.readObj("dialogsJ",g);var j=w.readObj("dialog",g.dialogs[0]);c.data("totalMessages",j.totalMessages);c.data("totalNewMessages",j.totalNewMessages);va.handleMsgChange("changeTotals",{totalMessages:g.totalMessages,totalNewMessages:g.totalNewMessages});
J.updateDisplayVal("PCMS_DialogHL",{dialogObj:c})}})},tglReply:function t(){var a=this;msgObj=a._glo_jDomObj;a=msgObj.find(".idTogglerReply");var b=msgObj.find(".PCMS_ReplayForm");if(!b.data("expanded")){var c=e({cl:"BP_boxInput"},ca({e:"inp",cl:"PCMS_ReplyFieldSubject Vali_notEmpty"}))+e({cl:"BP_boxInput"},ca({e:"txt",cl:"PCMS_ReplyFieldMsg Vali_notEmpty"}))+e({cl:"PCMS_ReplyActions"},A("icon_gen_fix_send_lo.png","iActObj idBtnReply",n("TT_GEN_sendMessage")));b.html(c);b.find(".PCMS_ReplyFieldSubject").val("RE: "+
G8.ax_jqxtnd.unescapeHtml(msgObj.data("messageData").subject));L.extendHoverAndTt(b)}ga.tglBox(b,a,"PCMS_Reply")},_clk_btnDelete:function t(a){a=a.data.thiss;var b=a._glo_jDomObj,c=b.data("messageData");L.tglObjToDelete(b,true);Q.confirmm({headline:n("HL_BP_Confirm_deleteMessage"),okTitle:n("TT_GEN_delete"),okAction:function(){var g=b.parents(".PCMS_DialogBox");b.removeAni(300,function(){va.updatePCMSDesign(g)});O.post({id:c.mid,action:20,state:0},{afterSuccess:function(j){j=w.readObj("dialogsJ",
j);var h=w.readObj("dialog",j.dialogs[0]);g.data("totalMessages",h.totalMessages);g.data("totalNewMessages",h.totalNewMessages);va.handleMsgChange("changeTotals",{totalMessages:j.totalMessages,totalNewMessages:j.totalNewMessages});J.updateDisplayVal("PCMS_DialogHL",{dialogObj:g})}})},cancelAction:function(){L.tglObjToDelete(b,false)}});return false},_hov_tglBtnDelete:function t(a){var b=a.data.thiss,c=b._glo_jDomObj;if(a=a.data.show){d.PCMS_BtnMsgDelete.bind("click",{thiss:b},b._clk_btnDelete).appendTo(c).tglFadeInXB(300);
L.extendHoverAndTt(d.PCMS_BtnMsgDelete)}else d.PCMS_BtnMsgDelete.tglFadeOutXB(300)}};(function t(){function a(){Z.bind("click",b)}function b(c){c=$(c.target);if(ha.isVisible())if(c.isChildOf(".PCFeed_userInfo, .PCFeed_idImgNewsUser")){c=c.parents(".PCFeed_box");p_feedObj=R("FeedEntry",c);p_feedObj.gotoFeedUser();return false}else if(c.isChildOf(".PCNF_box .PCFeed_commentedUserHL,.PCNF_box .PC_userMiniLeft")){c=c.parents(".PCFeed_box");p_feedObj=R("FeedEntry",c);p_feedObj.gotoCommentedUser();return false}else if(c.isChildOf(".PCFeed_commentText")){c=
c.parents(".PCFeed_box");p_feedObj=R("FeedEntry",c);p_feedObj.gotoComment();return false}else if(c.isChildOf(".PCFeed_descHL,.PCFeed_itemBEntry,.PCFeed_itemText,.PCFeed_itemVideo,.PCFeed_itemGallery,.PCFeed_userMiniFriend,.PCFeed_itemProfile")){c=c.parents(".PCFeed_box");p_feedObj=R("FeedEntry",c);p_feedObj.gotoElement();return false}}G8.globalSubscriber.bind("initExtendPageDOM",a);return{}})();var Ma=function t(){function a(){if(ha.isVisible()&&d.UB.data("currPane")=="Comments"){var h=d.PC_Contents.find(".PC_contentsBody"),
m=h.find(".PCFeed_box:first"),k=m.length?R("FeedEntry",m).getTimestamp():0;O.post({action:41,fromTime:k},{afterSuccess:function(l){var f=w.readObj("commentsJ",l);if(f.comments.length){m.length||h.empty();var p=[];$.each(f.comments,function(q,r){p.push(w.readObj("comment",r).userData.uid)});ra.handleAdressListUpdate(p,function(){$.each(f.comments,function(q,r){q=w.readObj("comment",r);q=(new Da("commentfeed",q)).getJDomObj();m.length?m.before(q):h.append(q)})})}}})}else{clearInterval(o.Feed.intervalCF);
o.Feed.intervalCF=false}}function b(){if(ha.isVisible()&&d.UB.data("currPane")=="Newsfeed"){var h=d.PC_Contents.find(".PC_contentsBody"),m=h.find(".PCFeed_box:first"),k=m.length?R("FeedEntry",m).getTimestamp():0;O.post({action:42,withComments:true,fromTime:k},{afterSuccess:function(l){var f=w.readObj("friendsfeedJ",l);if(f.news.length){m.length||h.empty();var p=[];$.each(f.news,function(q,r){p.push(w.readObj("news",r).uid)});ra.handleAdressListUpdate(p,function(){$.each(f.news,function(q,r){q=w.readObj("news",
r);if(q.feedAction!="FRIEND"){q=(new Da("newsfeed",q)).getJDomObj();m.length?m.before(q):h.append(q)}})})}}})}else{clearInterval(o.Feed.intervalNF);o.Feed.intervalNF=false}}function c(){var h=d.PC_Contents.find(".PC_contentsBody");d.PC_Contents.find(".PC_contentsHeadColLeft").empty().end().find(".PC_contentsHeadHL").html(n("HL_PC_NF")).end();J.updateDisplayVal("PCNF_Subline");O.post({action:42,withComments:true},{afterSuccess:function(m){var k=w.readObj("friendsfeedJ",m);h.empty();if(k.news.length){var l=
[];$.each(k.news,function(f,p){l.push(w.readObj("news",p).uid)});ra.handleAdressListUpdate(l,function(){$.each(k.news,function(f,p){f=w.readObj("news",p);if(f.feedAction!="FRIEND"){f=(new Da("newsfeed",f)).getJDomObj();h.append(f)}})})}else h.html(e({cl:"PC_contentsBodyEmpty"},n("Text_NF_noFeeds")));L.extendHoverAndTt(d.PC_Contents);o.Feed.intervalNF=setInterval(b,o.Feed.intervalTime*1E3)}})}function g(h){o.loggedData.totalNewComments=h;J.updateDisplayVal("MB_TotalComments")}function j(){var h=d.PC_Contents.find(".PC_contentsBody");
d.PC_Contents.find(".PC_contentsHeadColLeft").empty().end().find(".PC_contentsHeadHL").html(n("HL_CF_Main")).end();J.updateDisplayVal("PCCF_Subline");O.post({action:41},{afterSuccess:function(m){var k=w.readObj("commentsJ",m);g(0);h.empty();if(k.comments.length){var l=[];$.each(k.comments,function(f,p){l.push(w.readObj("comment",p).userData.uid)});ra.handleAdressListUpdate(l,function(){$.each(k.comments,function(f,p){f=w.readObj("comment",p);f=(new Da("commentfeed",f)).getJDomObj();h.append(f)})})}else h.html(e({cl:"PC_contentsBodyEmpty"},
n("Text_CF_noComments")));L.extendHoverAndTt(d.PC_Contents);o.Feed.intervalCF=setInterval(a,o.Feed.intervalTime*1E3)}})}return{fillPCNF:c,fillPCCF:j,handleTotalNewCommentsChange:g}}(),Da=function t(a,b){var c,g=this._makeFeedMarkup;if(a=="newsfeed"){c=b;b=ra.getUserDataByIdFromList(c.uid);var j;if(c.feedAction=="TEXT"){j=w.readObj("feedElement",c.content);c.itemId=j.id;j=j.children;var h=j[0].value1;j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_CreatedText",Y({cl:"PCFeed_descHL"},h)))+
g("newsDate",c)+g("itemText",j)}else if(c.feedAction=="VIDEO"){j=w.readObj("feedElement",c.content);c.itemId=j.id;j=j.children;h=j[0].value1;j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_CreatedVideo",Y({cl:"PCFeed_descHL"},h)))+g("newsDate",c)+g("itemVideo",j)}else if(c.feedAction=="GALLERY"){j=w.readObj("feedElement",c.content);c.itemId=j.id;j=j.children;h=j[0].value1;j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_CreatedGallery",Y({cl:"PCFeed_descHL"},h)))+g("newsDate",c)+
g("itemGallery",j)}else if(c.feedAction=="BLOGENTRY"){j=w.readObj("feedElement",c.content);c.itemId=j.id;h=j.line1;j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_CreatedBlogentry",Y({cl:"PCFeed_descHL"},h)))+g("newsDate",c)+g("itemBlogEntry",j)}else if(c.feedAction=="FRIEND"){var m=w.readObj("user",c.content);c.friendData=m;j=X.shortenText(m.name,25);j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_MadeFriendship",Y({cl:"PCFeed_descHL"},j)))+g("newsDate",c)+g("itemFriends",b,m)}else if(c.feedAction==
"PROFILEIMG")j=g("newsUser",b)+e({cl:"PCFeed_description"},n("Text_NF_ChangedProfileImg"))+g("newsDate",c);else if(c.feedAction=="COMMENT"){j=w.readObj("comment",c.content);m=j.commentedUser;var k=j.commentedElement,l=k.type,f=k.mode,p=this._getCommentedItemType(l,f);l=j.text;var q;f=Y({cl:"PCFeed_commentedUserHL"},X.shortenText(m.name,22)+"'s");c.commentedData={cid:j.id,userData:m,itemType:p,itemId:k.id};if(p=="BEntry"){q=k;h=q.line1;h=n("Text_NF_CommentedBlogentry",f,Y({cl:"PCFeed_descHL"},h));
q=g("commentedUserImg",m)+g("itemBlogEntry",q)}else if(p=="Text"){q=k.children;h=q[0].value1;h=n("Text_NF_CommentedText",f,Y({cl:"PCFeed_descHL"},h));q=g("commentedUserImg",m)+g("itemText",q)}else if(p=="Video"){q=k.children;h=q[0].value1;h=n("Text_NF_CommentedVideo",f,Y({cl:"PCFeed_descHL"},h));q=g("commentedUserImg",m)+g("itemVideo",q)}else if(p=="GalImg"){q=k;h=q.line1;h=n("Text_NF_CommentedGalImg",f,Y({cl:"PCFeed_descHL"},h));q=g("commentedUserImg",m)+g("itemGalImg",q)}else if(p=="Profile"){j=
X.shortenText(m.name,30);h=n("Text_NF_CommentedProfile",Y({cl:"PCFeed_descHL PCFeed_commentedUserHL"},j));q=g("commentedUserImg",m)+g("itemProfile",m)}j=e({cl:"PC_bubble"},e({cl:"PC_bubbleTop"},g("newsUser",b),e({cl:"PCFeed_description"},h),g("newsDate",c),e({cl:"PCFeed_commentText"},l)),e({cl:"PC_bubbleBot"}))+e({cl:"PC_commentedItems"},q)}j=$(e({cl:"PCNF_box PCFeed_box"},e({cl:"PC_colLeft"},e({cl:"SHAF_userThumb"},A(w.makeImgPathFromId("share",b.imgId,"thumb"),"SHAF_imgUserThumb PCFeed_idImgNewsUser"))),
e({cl:"PC_colRight"},j),e({cl:"clr PCFeed_clr"})));c.userData=b;j.find(".PCFeed_userInfo,.PCFeed_idImgNewsUser").bindTglHoverClass("GEN_domainHi",".PCFeed_box",".PCNF_idUserUrl").end().find(".PCFeed_descHL,.PCFeed_itemBEntry,.PCFeed_itemText,.PCFeed_itemVideo,.PCFeed_itemGallery,.PCFeed_userMiniFriend,.PCFeed_itemProfile").bindTglHoverClass("GEN_domainHi",".PCFeed_box",".PCFeed_descHL").end().find(".PCFeed_commentedUserHL,.PCFeed_idImgCommentedUser").bindTglHoverClass("GEN_domainHi",".PCFeed_box",
".PCFeed_commentedUserHL").end();this._glo_newsData=c;c=j}else if(a=="commentfeed"){j=b;b=j.userData;m=o.parsedLoggedUser;k=j.commentedElement;l=k.type;f=k.mode;p=this._getCommentedItemType(l,f);l=j.text;j.itemType=p;if(p=="BEntry"){q=k;h=q.line1;h=n("Text_CF_CommentedBlogentry",Y({cl:"PCFeed_descHL"},h));q=g("itemBlogEntry",q)}else if(p=="Text"){q=k.children;h=q[0].value1;h=n("Text_CF_CommentedText",Y({cl:"PCFeed_descHL"},h));q=g("itemText",q)}else if(p=="Video"){q=k.children;h=q[0].value1;h=n("Text_CF_CommentedVideo",
Y({cl:"PCFeed_descHL"},h));q=g("itemVideo",q)}else if(p=="GalImg"){q=k;h=q.line1;h=n("Text_CF_CommentedGalImg",Y({cl:"PCFeed_descHL"},h));q=g("itemGalImg",q)}else if(p=="Profile"){X.shortenText(m.name,30);h=n("Text_CF_CommentedProfile");q=g("itemProfile",m)}c=e({cl:"PC_bubble"},e({cl:"PC_bubbleTop"},g("newsUser",b),e({cl:"PCFeed_description"},h),g("newsDate",j),e({cl:"PCFeed_commentText"},l)),e({cl:"PC_bubbleBot"}))+e({cl:"PC_commentedItems"},q);b=$(e({cl:"PCFeed_box PCCF_box"},e({cl:"PC_colLeft"},
e({cl:"SHAF_userThumb"},A(w.makeImgPathFromId("share",b.imgId,"thumb"),"SHAF_imgUserThumb PCFeed_idImgNewsUser"))),e({cl:"PC_colRight"},c),e({cl:"clr PCFeed_clr"})));b.find(".PCFeed_userInfo,.PCFeed_idImgNewsUser").bindTglHoverClass("GEN_domainHi",".PCFeed_box",".PCNF_idUserUrl").end();this._glo_commentData=j;c=b}L.extendHoverAndTt(c);this._glo_jDomObj=c;this._glo_feedMode=a;la.setJDomToObjMapping("FeedEntry",c,this)};Da.prototype={_makeFeedMarkup:function t(a,b,c){var g;if(a=="newsUser")g=e({cl:"PCFeed_userInfo"},
e({cl:"PC_userName"},X.shortenText(b.name,30))+e({cl:"PC_userUrl PCNF_idUserUrl"},b.url));else if(a=="newsDate")g=e({cl:"PCFeed_date"},A("infoicon_gen_fix_updated.png","PC_imgDate")+X.formatDate(b.date,"long"));else if(a=="itemText")g=e({cl:"PCFeed_itemText"},b[1].value1);else if(a=="itemGallery"){var j="";$.each(b,function(h,m){if(h!=0){m=m;j+=e({cl:"PCFeed_itemGalImg SHAF_galThumb"},A(w.makeImgPathFromId("UP",m.value1,"thumb"),"SHAF_imgGalThumb",m.line1))}if(h>o.Feed.maxGalImgs)return false});g=
e({cl:"PCFeed_itemGallery"},j)}else if(a=="itemGalImg"){b=e({cl:"PCFeed_itemGalImg SHAF_galThumb"},A(w.makeImgPathFromId("UP",b.value1,"thumb"),"SHAF_imgGalThumb"));g=e({cl:"PCFeed_itemGallery"},b)}else if(a=="itemBlogEntry"){a=b.value1;b=b.children.length?e({cl:"SHAF_blogThumbmb PCFeed_itemBEntryImg"},e({cl:"SHAF_blogThumbmbBot"}),A(w.makeImgPathFromId("UP",b.children[0].value1,"normal"),"SHAF_imgBlogThumb")):"";g=e({cl:"PCFeed_itemBEntry"},e({cl:"PCFeed_itemBEntryText"},a),b,e({cl:"clr"}))}else if(a==
"itemVideo"){a=G8.ax_jqxtnd.readEmbedVideo(b[1].value1).url;c=Ea.makeEmbedMarkup(a,"thumb");a=b[2].value1;g=e({cl:"PCFeed_itemVideo SHA_videoThumb"},c,e({cl:"Video_ThumbVideoCover"}))}else if(a=="itemFriends")g=e({cl:"PCFeed_itemFriendship"},e({cl:"SHAF_userMini PC_userMiniLeft"},A(w.makeImgPathFromId("share",b.imgId,"mini"),"SHAF_imgUserMini PCFeed_idImgNewsUser")),e({cl:"SHAF_userMini PCFeed_userMiniFriend"},A(w.makeImgPathFromId("share",c.imgId,"mini"),"SHAF_imgUserMini PCFeed_idImgFriendUser")),
A("infoicon_gen_fix_befriend.png","PCNF_friendshipIcon"));else if(a=="commentedUserImg")g=e({cl:"SHAF_userMini PC_userMiniLeft"},A(w.makeImgPathFromId("share",b.imgId,"mini"),"SHAF_imgUserMini PCFeed_idImgCommentedUser"));else if(a=="itemProfile")g=e({cl:"PCFeed_itemProfile"},e({cl:"PC_userName"},X.shortenText(b.name,30))+e({cl:"PC_userUrl"},b.url));return g},_getCommentedItemType:function t(a,b){return a=a==6?"BEntry":a==1&&b==2?"Text":a==1&&b==1?"Video":a==1&&b==5?"Profile":a==4&&b==3?"GalImg":
""},getJDomObj:function t(){return this._glo_jDomObj},getTimestamp:function t(){var a=this._glo_feedMode=="newsfeed"?this._glo_newsData.date:this._glo_commentData.date;return a},gotoFeedUser:function t(){var a=this._glo_feedMode=="newsfeed"?this._glo_newsData.userData:this._glo_commentData.userData;ba.gotoUrl("http://"+a.url)},gotoCommentedUser:function t(){var a=this._glo_newsData.commentedData.userData;ba.gotoUrl("http://"+a.url)},gotoComment:function t(){if(this._glo_feedMode=="newsfeed"){var a=
this._glo_newsData,b=a.commentedData;a=b.userData.url;var c=b.cid,g=b.itemId;b=b.itemType;this._jumpToUserElement({url:a,elementId:g,elementType:b,commentId:c})}else if(this._glo_feedMode=="commentfeed"){b=this._glo_commentData;a=o.parsedLoggedUser.url;c=b.id;g=b.commentedElement.id;b=b.itemType;this._jumpToUserElement({url:a,elementId:g,elementType:b,commentId:c})}},gotoElement:function t(){if(this._glo_feedMode=="newsfeed"){var a=this._glo_newsData,b,c,g=a.feedAction=="COMMENT"?a.commentedData.userData.url:
a.feedAction=="FRIEND"?a.friendData.url:a.userData.url;if(a.feedAction=="TEXT"){b=a.itemId;c="Text"}else if(a.feedAction=="VIDEO"){b=a.itemId;c="Video"}else if(a.feedAction=="GALLERY"){b=a.itemId;c="Gallery"}else if(a.feedAction=="BLOGENTRY"){b=a.itemId;c="BEntry"}else if(a.feedAction=="FRIEND")c="Profile";else if(a.feedAction=="PROFILEIMG")c="Profile";else if(a.feedAction=="COMMENT"){b=a.commentedData.itemId;c=a.commentedData.itemType}this._jumpToUserElement({url:g,elementId:b,elementType:c})}else if(this._glo_feedMode==
"commentfeed"){a=this._glo_commentData;g=o.parsedLoggedUser.url;b=a.commentedElement.id;c=a.itemType;this._jumpToUserElement({url:g,elementId:b,elementType:c})}},_jumpToUserElement:function t(a){var b="http://"+a.url+"?";if(a.elementId)b+="g8_eid="+a.elementId+"&";if(a.commentId)b+="g8_cid="+a.commentId+"&";if(a.elementType)b+="g8_etype="+a.elementType+"&";ba.gotoUrl(b)}};var cb=function t(){function a(m,k){d.Profile.isChildOf(k)&&new Ba(d.Profile,"Profile");m=$Self(".BE_idBE",k);m.length&&new Ba(m,
"BEntry");$Self(".EE_CBText",k).each(function(){new Ba($(this),"CBText")});$Self(".EE_CBVideo",k).each(function(){new Ba($(this),"CBVideo")});L.extendHoverAndTt(k)}function b(){if(K.isLogged()){var m="";m+=e({id:"CM_PopWriteCmt",hid:true},fa.makeBP({size:"small",headline:n("HL_BP_CM_writeComment"),content:e({cl:"BP_label"},n("Label_BP_CM_commentText"))+e({cl:"BP_boxInput"},ca({e:"txt",cl:"BP_inptxtSmall idMsg Vali_notEmpty"}))+Q.getCaptchaMaster(),controls:A("icon_bp_send_lo.png","idBtnOkVali iActObj",
n("TT_BP_sendComment"))+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel"))}));o.initDOMString+=m}}function c(){if(K.isLogged()){var m=["CM_PopWriteCmt"];J.setDOMReference(m);d.CM_PopWriteCmt.find(".idBtnOkVali").bind("click",j)}Z.bind("click",g)}function g(m){m=$(m.target);if(m.isChildOf(".CM_togglerShowCmts,#LB_btnCloseCMBox")){m=m.parents(".CM_Box");m=R("CommentBox",m);m.tglComments();return false}else if(m.isChildOf(".CM_togglerMoreEntries")){m=m.parents(".CM_Box");m=R("CommentBox",
m);m.tglAllComments();return false}else if(m.isChildOf(".CM_BtnWriteCmt")){m=m.parents(".CM_Box");m=R("CommentBox",m);m.writeComment();return false}}function j(){ka.validateForm(d.CM_PopWriteCmt,function(){var m=d.CM_PopWriteCmt.data("cmtBox"),k=R("CommentBox",m),l=m.isChildOf("#LB_Popup"),f=m.data("elmtId"),p=V.readFormVal(d.CM_PopWriteCmt,".idMsg"),q=V.readFormVal(d.CM_PopWriteCmt,".idCaptcha");O.post({action:24,id:f,text1:p,captcha:q},{dontTrace:[1701],afterError:function(r){O.handleCaptchaError(r,
d.CM_PopWriteCmt)},afterSuccess:function(r){ka.resetCaptchaError(d.CM_PopWriteCmt);r=w.readObj("commentsJ",r);var x=w.readObj("comment",r.comment);k.handleCommentsChange({mode:"add",cmtEntryObj:(new Ha(x,l)).getJDomObj(),totalComments:r.totalComments,totalCBComments:r.totalCBComments});m.find(".CM_EntriesBox").data("expanded")||k.tglComments()}})})}function h(m){Q.refreshCaptcha(d.CM_PopWriteCmt);d.CM_PopWriteCmt.data("cmtBox",m).find(".idMsg,.idCaptcha").val("");Q.tglAlert(true,d.CM_PopWriteCmt)}
G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c).bind("extendEE",a);return{showPopWriteCmt:h}}();(function t(){function a(){if(K.isOwner()){var j="";j+=e({id:"CM_BarCmtDelete",pos:"absolute",hid:true},M("icon_gen_theme_delete_mini_lo.png","idBtnStandard iActObj",n("TT_CM_deleteComment")),A("icon_gen_fix_delete_mini_lo.png","idBtnLightbox iActObj",n("TT_CM_deleteComment")));o.initDOMString+=j}}function b(){if(K.isOwner()){var j=["CM_BarCmtDelete"];J.setDOMReference(j)}Z.bind("click",
c)}function c(j){j=$(j.target);if(j.isChildOf(".CM_entryUsername,.CM_entryUserImg")){j=j.parents(".CM_entry").find(".CM_entryUserImg img").getAltText();ba.gotoUrl("http://"+j);return false}if(J.isInEditMode())if(j.isChildOf(d.CM_BarCmtDelete)){j=d.CM_BarCmtDelete.parents(".CM_entry");g(j);return false}}function g(j){L.tglObjToDelete(j,true);var h=j.parents(".CM_Box"),m=R("CommentBox",h),k=w.readObj("cmtEntryObj",j);Q.confirmm({headline:n("HL_BP_Confirm_deleteComment"),okAction:function(){O.post({id:k.id,
action:25},{afterSuccess:function(l){l=w.readObj("commentsJ",l);m.handleCommentsChange({mode:"delete",id:k.id,totalComments:l.totalComments,totalCBComments:l.totalCBComments})}})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete(j,false)}})}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{}})();var Ba=function t(a,b){var c=this;if(!a.data("commentsExtended")){var g=c._getCmtBoxMaster(b);L.extendHoverAndTt(g);var j,h;if(b=="CBText"){a.find(".CB_cont").append(g);
j=w.getEEId(a);h=a.data("totalComments")}else if(b=="CBVideo"){a.find(".CB_cont").append(g);j=w.getEEId(a);h=a.data("totalComments")}else if(b=="Profile"){a.find(".Profile_infoBox").append(g);j=w.getEEId(a);h=a.data("totalComments")}else if(b=="BEntry"){a.find(".B_colCBLeft").append(g);j=w.getEEId(a);h=w.readObj("BEntry",ea.getArrBEntry(j)).totalComments}else if(b=="Lightbox"){$("#LB_Tab_Controls_CM").empty().append(g);j=c._getLightboxImgDbId();h=0}a.data("commentsExtended",true);g.data("elmtId",
j).data("mode",b).find(".CM_TotalCmts").html(h);b=="Lightbox"&&c._updateLightboxComments();c._glo_jDomObj=g;la.setJDomToObjMapping("CommentBox",g,c)}};Ba.prototype={_updateCmtBoxDesign:function t(a){var b=this,c=b._glo_jDomObj;b=c.find(".CM_entry");var g=c.find(".CM_DirectEntriesBox"),j=c.find(".CM_MoreEntriesBox");c=c.find(".CM_togglerMoreEntries");b.filter(":lt("+o.maxDirectComments+")").appendTo(g);b.length>o.maxDirectComments&&b.filter(":gt("+(o.maxDirectComments-1)+")").appendTo(j);a>o.maxDirectComments?
c.show():c.hide();a>0?g.find(".CM_statusInfo").remove():!g.find(".CM_statusInfo").length&&g.append(Y({cl:"CM_statusInfo"},n("Text_CM_noComments")))},_updateCBItemTotalComments:function t(a,b){var c=this;c=c._glo_jDomObj;var g=c.data("mode");c.find(".CM_TotalCmts").html(a);if(g=="CBText")c.parents(".EE_CBText").find(".CLPS_clpsCBCmtsTotalComments").html(a);else if(g=="CBVideo")c.parents(".EE_CBVideo").find(".CLPS_clpsCBCmtsTotalComments").html(a);else if(g=="BEntry")c.parents(".EE_CBBlog").find(".CLPS_clpsCBCmtsTotalComments").html(b);
else g=="Lightbox"&&c.parents(".EE_CBText").find(".CLPS_clpsCBCmtsTotalComments").html(b)},_updateLightboxComments:function t(){var a=$("#LB_Popup"),b=a.data("origImgDivObj"),c=w.getEEId(b);b=b.getIdFromClass("tCmt_");a.find(".CM_Box").data("elmtId",c).find(".CM_TotalCmts").html(b).end().find(".CM_DirectEntriesBox,.CM_MoreEntriesBox").empty()},_getLightboxImgDbId:function t(){var a=$("#LB_Popup");a=a.data("origImgDivObj");return a=w.getEEId(a)},_getCmtBoxMaster:function t(a){return a=a=="Lightbox"?
$(e({cl:"CM_Box"},e({cl:"CM_Bar"},A("icon_lb_gen_cmt_collapsed_lo.png","iActObj CM_togglerShowCmts",n("Text_CM_Tgl_comments")),e({cl:"CM_TotalCmts"}),A("icon_lb_gen_cmt_add_lo.png","iActObj CM_BtnWriteCmt",n("TT_CM_addComment"))),e({id:"LB_CmtFreeBox",hid:true},A("icon_bbar_close_mini_lo.png","iActObj",n("TT_GEN_close"),"LB_btnCloseCMBox"),e({id:"LB_CmtFreeBoxInner"},e({cl:"CM_EntriesBox",hid:true},e({cl:"CM_DirectEntriesBox"}),e({cl:"CM_togglerMoreEntries",hid:true},A("icon_bbar_toggle_collapsed_lo.png",
"tgl_idBtnTgl iActObj"),e({cl:"tgl_togglerText"},n("Text_CM_Tgl_allComments"))),e({cl:"CM_MoreEntriesBox",hid:true})))))):a=="Profile"?$(e({cl:"CM_Box"},e({cl:"CM_Bar"},M("icon_theme_cmtbig_collapsed_lo.png","iActObj CM_togglerShowCmts",n("Text_CM_Tgl_comments")),e({cl:"CM_TotalCmts"}),M("icon_theme_cmtbig_add_lo.png","iActObj CM_BtnWriteCmt",n("TT_CM_addComment"))),e({cl:"CM_EntriesBox",hid:true},e({cl:"CM_DirectEntriesBox"}),e({cl:"CM_togglerMoreEntries",hid:true},M("icon_gen_theme_toggle_collapsed_lo.png",
"tgl_idBtnTgl iActObj"),e({cl:"tgl_togglerText"},n("Text_CM_Tgl_allComments"))),e({cl:"CM_MoreEntriesBox",hid:true})))):$(e({cl:"CM_Box"},e({cl:"CM_Bar"},M("icon_gen_theme_cmt_collapsed_lo.png","iActObj CM_togglerShowCmts",n("Text_CM_Tgl_comments")),e({cl:"CM_TotalCmts"}),M("icon_gen_theme_cmt_add_lo.png","iActObj CM_BtnWriteCmt",n("TT_CM_addComment"))),e({cl:"CM_EntriesBox",hid:true},e({cl:"CM_DirectEntriesBox"}),e({cl:"CM_togglerMoreEntries",hid:true},M("icon_gen_theme_toggle_collapsed_lo.png",
"tgl_idBtnTgl iActObj"),e({cl:"tgl_togglerText"},n("Text_CM_Tgl_allComments"))),e({cl:"CM_MoreEntriesBox",hid:true}))))},handleCommentsChange:function t(a){var b=this,c=b._glo_jDomObj;if(a.mode=="add"){c.find(".CM_DirectEntriesBox").prepend(a.cmtEntryObj);b._updateCmtBoxDesign(a.totalComments)}else a.mode=="delete"&&$("#dbComment_"+a.id).removeAni(300,function(){b._updateCmtBoxDesign(a.totalComments)});b._updateCBItemTotalComments(a.totalComments,a.totalCBComments)},tglComments:function t(){var a=
this,b=a._glo_jDomObj,c=b.find(".CM_togglerShowCmts"),g=b.find(".CM_EntriesBox"),j=b.find(".CM_MoreEntriesBox"),h=b.find(".CM_DirectEntriesBox"),m=b.parents("#LB_Popup").length;if(g.data("expanded")){g.data("expanded",false).slideUp(300);ga.tglCollapseToggler("comments",c,false);m&&b.find("#LB_CmtFreeBox").fadeOut(300)}else{var k=m?d.PreloaderLBMiniMaster:d.PreloaderThemeMiniMaster;h.empty().html(Y({cl:"CM_statusInfo"},k+n("Text_GEN_loading")));b.find(".CM_togglerMoreEntries").hide();g.slideDown(300);
m&&b.find("#LB_CmtFreeBox").fadeIn(300);b.find(".CM_togglerMoreEntries");j.data("expanded",false).hide();ga.tglCollapseToggler("allComments",b.find(".tgl_idBtnTgl"),false);g.data("expanded",true);ga.tglCollapseToggler("comments",c,true);b=b.data("elmtId");var l=g.isChildOf("#LB_Popup");O.post({action:23,id:b,start:0,length:o.maxDirectComments},{afterError:function(){},afterSuccess:function(f){f=w.readObj("commentsJ",f);h.add(j).empty();f.comments.length?$.each(f.comments,function(p,q){p=w.readObj("comment",
q);h.append((new Ha(p,l)).getJDomObj())}):h.append(Y({cl:"CM_statusInfo"},n("Text_CM_noComments")));a._updateCBItemTotalComments(f.totalComments,f.totalCBComments);a._updateCmtBoxDesign(f.totalComments)}})}},tglAllComments:function t(){var a=this,b=a._glo_jDomObj,c=b.find(".CM_MoreEntriesBox"),g=b.find(".CM_DirectEntriesBox"),j=b.find(".tgl_idBtnTgl"),h=b.parents("#LB_Popup").length;if(c.data("expanded")){c.data("expanded",false).slideUp(300);ga.tglCollapseToggler("allComments",j,false)}else{h=h?
d.PreloaderLBMiniMaster:d.PreloaderThemeMiniMaster;c.empty().html(Y({cl:"CM_statusInfo"},h+n("Text_GEN_loading"))).slideDown(300).data("expanded",true);ga.tglCollapseToggler("allComments",j,true);j=b.data("elmtId");var m=b.isChildOf("#LB_Popup");O.post({action:23,id:j,start:0},{afterSuccess:function(k){k=w.readObj("commentsJ",k);c.add(g).empty();$.each(k.comments,function(l,f){l=w.readObj("comment",f);g.append((new Ha(l,m)).getJDomObj())});a._updateCBItemTotalComments(k.totalComments,k.totalCBComments);
a._updateCmtBoxDesign(k.totalComments)}})}},writeComment:function t(){var a=this;a=a._glo_jDomObj;var b=K.getRelation();if(b=="isFriend"||b=="isOwner")cb.showPopWriteCmt(a);else if(b=="isPending")Q.alertt({headline:n("HL_BP_CM_friendshipPending"),msg:n("Text_BP_CM_friendshipPending")});else if(b=="isNoFriend")ia.showPopAddFriend(o.parsedProfileUser,n("Text_BP_CM_friendshipMandatory"));else b=="isNotLogged"&&na.showLoginPop(n("Text_BP_CM_loginMandatory"))}};var Ha=function t(a,b){var c=this,g=b?"CM_entryUserImg":
"CM_entryUserImg SHAF_userMini";a=$(e({cl:"CM_entry",id:"dbComment_"+a.id},e({cl:"CM_entryLeftCol"},e({cl:g},A(w.makeImgPathFromId("share",a.userData.imgId,"mini"),"",a.userData.url))),e({cl:"CM_entryRightCol"},'<a href="http://'+a.userData.url+'" target="_blank" class="CM_entryUsername">'+X.shortenText(a.userData.name,25)+"</a>",e({cl:"CM_entryDate"},b?A("infoicon_bbar_updated.png"):M("infoicon_theme_updated.png"),X.formatDate(a.date,"long")),e({cl:"CM_entryText"},a.text)),e({cl:"clr"})));L.extendTextLinks(a.find(".CM_entryText"));
a.bind("mouseenter",{show:true},c._hov_tglBarCmtEntry).bind("mouseleave",{show:false},c._hov_tglBarCmtEntry);c._glo_jDomObj=a};Ha.prototype={_hov_tglBarCmtEntry:function t(a){a=a.data.show;var b=$(this);if(J.isInEditMode())if(a){d.CM_BarCmtDelete.appendTo(b).setPosTo(b.find(".CM_entryUsername"),["BOTTOMI",-1],["RIGHT",5]).tglFadeIn(300);L.extendHoverAndTt(d.CM_BarCmtDelete)}else d.CM_BarCmtDelete.tglFadeOut(300)},getJDomObj:function t(){var a=this;return a._glo_jDomObj}};var J=function t(){function a(){G()}
function b(F){$.each(F,function(z,y){d[y]=$("#"+y)})}function c(F,z){function y(E,v){return v?E!=0?"<b>"+n(v,E)+"</b>":n(v,E):E!=0?"<b>"+E+"</b>":E}function I(E,v){return v!=0?"<b>"+wa(E,v)+"</b>":wa(E,v)}if(F=="MB_TotalMessages")d.UB.find("#MBTtlMessages").html(y(o.loggedData.totalNewMessages));else if(F=="MB_TotalFRequests")d.UB.find("#MBTtlFRequests").html(y(o.loggedData.totalFriendRequests));else if(F=="MB_TotalComments")d.UB.find("#MBTtlComments").html(y(o.loggedData.totalNewComments));else if(F==
"UserName")d.UB.find("#MBLoggedUserName").html(X.shortenText(o.parsedLoggedUser.name,22));else if(F=="DocTitle")document.title=X.shortenText(G8.ax_jqxtnd.unescapeHtml(o.parsedLoggedUser.name),30)+n("DocTitle_Suffix");else if(F=="PCMS_DialogHL")z.dialogObj.find(".PCMS_DialogTotalMsgs").html(y(z.dialogObj.data("totalNewMessages"),"HL_PC_Status_newMessages")+n("HL_PC_Status_TotalMessages",z.dialogObj.data("totalMessages")));else if(F=="PCMS_Subline")d.PC_Contents.find(".PC_contentsHeadSubline").html(y(o.loggedData.totalNewMessages,
"HL_PC_Status_newMessages")+n("HL_PC_Status_TotalMessages",o.loggedData.totalMessages));else if(F=="PCFR_Subline")d.PC_Contents.find(".PC_contentsHeadSubline").html(I("HL_PC_Status_FriendRequests",o.loggedData.totalFriendRequests));else if(F=="PCNF_Subline")d.PC_Contents.find(".PC_contentsHeadSubline").html(wa("HL_PC_Status_TotalFriends",o.loggedData.totalFriends));else if(F=="PCST_Subline")d.PC_Contents.find(".PC_contentsHeadSubline").html("");else F=="PCCF_Subline"&&d.PC_Contents.find(".PC_contentsHeadSubline").html(wa("HL_PC_Status_TotalFriends",
o.loggedData.totalFriends))}function g(){return o.siteViewMode=="Edit"}function j(F){function z(){if(K.isLogged()){if(K.isOwner()){d.MB_UserNameBox.addClass("MBUserNameOwnPage");d.MB_LoggedUserArrow.hide();d.MB_Relations.hide();d.MB_PageMode.show()}else{d.MB_UserNameBox.removeClass("MBUserNameOwnPage");d.MB_LoggedUserArrow.show();Aa.updateFriendRelationBtn();d.MB_PageMode.hide()}c("MB_TotalMessages");c("MB_TotalFRequests");c("MB_TotalComments");c("UserName");d.UB&&d.UB.fadeInXB(300)}else d.UB&&d.UB.fadeOutXB(300)}
function y(E){if(o.brandedMode){if(o.brandedMode=="adobe"){d.PageStatusbar.hide();$("#adobeHeader").find(".idLinkLogin").tgl(!K.isLogged()).end().find(".idLinkLogout").tgl(K.isLogged()).end()}}else if(E.firstCall)K.isLogged()?d.PageStatusbar.hide():d.PageStatusbar.show();else K.isLogged()?d.PageStatusbar.fadeOut(300):d.PageStatusbar.fadeIn(300)}function I(){if(g()){$("body").addClass("Act_inEditMode");$(".EE_CBGal").each(function(){Fa.tglBtnAdd(true,$(this))});$(".EE_CBBlog").each(function(){Ga.tglBtnAdd(true,
$(this))});$(".EE_CBText").each(function(){Na.tglBtnAdd(true,$(this))});xa.tglFirstrunHelp(true);d.HeadImg_Cover.show();d.BENBtnAddBlog.tglFadeIn(300);L.extendHoverAndTt(d.BENBtnAddBlog)}else{$("body").removeClass("Act_inEditMode");$(".EE_CBGal").each(function(){Fa.tglBtnAdd(false,$(this))});$(".EE_CBText").each(function(){Na.tglBtnAdd(false,$(this))});$(".EE_CBBlog").each(function(){Ga.tglBtnAdd(false,$(this))});xa.tglFirstrunHelp(false);d.HeadImg_Cover&&d.HeadImg_Cover.hide();d.BENBtnAddBlog&&d.BENBtnAddBlog.tglFadeOut(300)}}
F=F||{};if(!K.isOwner())o.siteViewMode="View";if(o.brandedMode=="adobe"&&o.parsedLoggedUser.url!="www.stephan-powilat-2009.adaaworld.das-labor.net"&&o.parsedLoggedUser.url!="www.mathias-vogel-2009.adaaworld.das-labor.net")o.siteViewMode="View";I();if(!F.keepLogStatus){y(F);z();K.isLogged()||d.Notify&&d.Notify.hide()}u();ia.updateFCBDesign();Aa.updatePagemode();ua.removeFlvPlugLinks();if(F.firstCall&&K.isLogged()){F={};if(o.loggedData.totalNewMessages>0)F.messages=true;if(o.loggedData.totalFriendRequests>
0)F.frequests=true;if(o.loggedData.totalNewComments>0)F.comments=true;F!={}&&Ta.doNotify(F)}}function h(F,z){function y(v,C){v||(v=setInterval(C,E.intervalTime*1E3));return v}function I(v){v&&clearInterval(v);return false}var E=o.UserChronjob;if(F=="logged")E.intervalLogged=z?y(E.intervalLogged,m):I(E.intervalLogged);else if(F=="notLogged")E.intervalNotLogged=z?y(E.intervalNotLogged,k):I(E.intervalNotLogged)}function m(){O.post({action:27},{afterSuccess:function(F){var z=w.readObj("json",F).loggedData;
F=z.totalMessages;var y=z.totalNewMessages,I=z.totalFriendRequests;z=z.totalNewComments;var E={};if(y!=o.loggedData.totalNewMessages){if(y>o.loggedData.totalNewMessages)E.messages=true;va.handleMsgChange("changeTotals",{totalNewMessages:y,totalMessages:F})}if(I!=o.loggedData.totalFriendRequests){if(I>o.loggedData.totalFriendRequests)E.frequests=true;ia.handleFriendChange("changeTotalFriendRequests",{totalFriendRequests:I})}if(z!=o.loggedData.totalNewComments){if(z>o.loggedData.totalNewComments)E.comments=
true;Ma.handleTotalNewCommentsChange(z)}E!={}&&Ta.doNotify(E)}})}function k(){O.post({action:3})}function l(){G8.isLocaltest||oa.holdContentLoading();Oa.initLocalStrings();f();ua.handleDetectCrossbrowser();p();$.event.trigger("extendEE",[Z]);j({firstCall:true});if(d.Profile.length)na.handleLoginState();else{d.Log_Pop.find(".idDomain").val(o.parsedProfileUser.url);na.showLoginPop()}ua.fixPNGs();q()}function f(){o.initDOMString="";$.extend(o.Feed,{intervalNF:false,intervalCF:false});$.extend(o.PCMS,
{interval:false});$.extend(o.PCFR,{interval:false});sa.mapCBObjVars();o.faviconSrc=$("link[rel='shortcut icon']").attr("href");if(!o.profileData.blogOrder)o.profileData.blogOrder=[];o.parsedProfileUser=w.readObj("user",o.profileData.user);o.parsedLoggedUser=w.readObj("user",o.loggedData.user);var F=B(o.profileData.currThemeId);o.currHeaderImgs=w.readObj("themePV",F).headerImgs;$.extend(o.Preloading,{imgs:{},imgsEssential:{},collectEssentials:false});$.extend(o.UL,{selectWinFilterText:n("Swf_UL_ImgFilterDescription")});
o.inDragGalImg=false;$.extend(o.UserChronjob,{intervalNotLogged:false,intervalLogged:false});$.extend(o.Notify,{autohideTimeout:false});o.adressList=[];o.latestMessageStamp=0;if(o.parsedProfileUser.url.hasStr("2009.adaaworld.das-labor.net","david-harper-2009.adaaworld.das-labor.net","david-prosser-2009.adaaworld.das-labor.net","stephan-powilat-2009.adaaworld.das-labor.net","joerg-block-2009.adaaworld.das-labor.net","daniel-bolliger-2009.adaaworld.das-labor.net","mathias-vogel-2009.adaaworld.das-labor.net",
"toarni.de"))o.brandedMode="adobe";d.PageStatusbar=$("#Page_frmStatusbar");d.PageMaincontents=$("#Page_frmMaincontents");d.AllPageContents=$("#Page_frmHeader,#Page_frmProfile,#Page_frmMaincontents");d.Profile=$(".EE_CBProfile")}function p(){d.Preloader=$(e({id:"Preloader",cl:"Preload_preloaderPage"},A("preloader_bg.png","Preload_imgPreloaderBg"),A("preloader.gif","Preload_imgPreloaderAni"))).hide().appendTo("body");G8.isLocaltest||oa.startCollectEssentials();G8.globalSubscriber.trigger("initCreatePageDOMString");
$(e({id:"DOMContainer"},o.initDOMString)).appendTo("body");G8.globalSubscriber.trigger("initExtendPageDOM");L.extendHoverAndTt($("#DOMContainer"));o.initDOMString=null;G8.isLocaltest||oa.stopCollectEssentials()}function q(){function F(D){D=D.top()-20;$("html,body").animate({scrollTop:D},500)}function z(D){if(D.data("collapsed")){D=R("Contentblock",D);D.tglCB(true)}}function y(){var D=C.find(".CM_Box");D=R("CommentBox",D);D.tglComments()}var I=G8.ax_jqxtnd.getQueryVal("g8_eid"),E=G8.ax_jqxtnd.getQueryVal("g8_etype"),
v=G8.ax_jqxtnd.getQueryVal("g8_cid");if(I||E||v){var C;if(v)if(E=="Text"||E=="Video"){C=$("#db_"+I);if(C.length){z(C);F(C);y(C)}}else if(E=="GalImg"){C=$("#db_"+I);if(C.length){z(C.parents(".EE_CB"));F(C);C.find(".Act_idLB").trigger("click")}}else if(E=="Profile"){C=$(".EE_CBProfile");if(C.length){F(C);y(C)}}else{if(E=="BEntry"){C=$(".EE_CBBlog");if(C.length){z(C);F(C);E=R("Blog",C);E.switchBEntry(I)}}}else if(E=="Message")K.isLogged()?d.UB.find(".idBtnMessages").trigger("click"):na.showLoginPop();
else if(E=="FRequest")K.isLogged()?d.UB.find(".idBtnFRequests").trigger("click"):na.showLoginPop();else if(E=="Text"||E=="Video"||E=="Gallery"){C=$("#db_"+I);if(C.length){z(C);F(C)}}else if(E=="GalImg"){C=$("#db_"+I);if(C.length){z(C.parents(".EE_CB"));F(C);I=C.find(".Act_idLB");I.data("origSrc")&&I.attr("src",I.data("origSrc"));I.trigger("click")}}else if(E=="Profile"){C=$(".EE_CBProfile");C.length&&F(C)}else if(E=="BEntry"){C=$(".EE_CBBlog");if(C.length){z(C);F(C);E=R("Blog",C);E.switchBEntry(I)}}}}
function r(F){if(F.find(".idFlashVersionNotAvailable").length){F=$(e({cl:"BP_warningsBox"},e({cl:"BP_contHeadline"},n("HL_BP_flashDetect"))+e({cl:"BP_contCenter"},e({cl:"BP_centered"},n("Text_BP_flashDetect")))));x(F)}}function x(F){var z=$("#Page_DetectWarnings");if(!z.length){z=$(e({id:"Page_DetectWarnings",cl:"BP"},e({cl:"BP_fullWidthContents"}),A("icon_gen_fix_close_lo.png","iActObj",n("TT_GEN_close"),"BP_ImgWarningsClose"))).prependTo($("body"));$("#BP_ImgWarningsClose").bind("click",s)}z.find(".BP_fullWidthContents").append(F);
$("body").css("padding-top",z.height()+"px")}function s(){$("#Page_DetectWarnings").slideUp(300,function(){$(this).remove()});$("body").animate({paddingTop:0},300)}function u(F){F=F||Z;$Self(".EE_CBGal",F).each(function(){$(this).find(".Act_idLB").lightBox()})}function B(F){var z;$.each(o.globalData.themeOrder,function(y,I){if(I[0]==F){z=I;return false}});return z}function G(){if(o.profileData.hitCount>0){if(!$("#HitcounterBox").length){var F=$(e({id:"HitcounterBox"},M("infoicon_theme_hitcounter.png"),
Y({cl:"hitcounterNumber"},n("Text_HitCount_totalVisitors",o.profileData.hitCount))));$(".EE_CBProfile").find(".Profile_keywords").after(F)}}else $("#HitcounterBox").remove()}G8.globalSubscriber.bind("initExtendPageDOM",a);return{setDOMReference:b,updateDisplayVal:c,isInEditMode:g,displayPage:j,tglUserChronjob:h,initPage:l,doFlashDetection:r,initLightbox:u,appendPageWarnings:x,reinitProfileHitcounter:G}}(),db=function t(){function a(l,f){d.PC_Contents.find(".ST_idBox"+l).find(".ST_switchBox").removeClass("ST_switchBoxHi").end().find(".ST_idSwitch").disbl(false).setImgLo().end().find(".ST_val_"+
f).setImgHi().disbl(true).parents(".ST_switchBox").addClass("ST_switchBoxHi").end().end().find(".PCST_currVal").html(n("Text_ST_Val_"+l+"_"+f))}function b(){var l=$(this);if(!l.isDisbld()){var f=l.getIdFromClass("ST_val_"),p=f==1?0:1;a("World",f);O.post({action:7,worldstate:f},{afterError:function(){a("World",p)},afterSuccess:function(){o.loggedData.worldstate=f}})}}function c(){var l=$(this);if(!l.isDisbld()){l=l.getIdFromClass("ST_val_");var f=l==1?0:1;a("Hitcounter",l);O.post({action:57,toggle:"true",
reset:"false"},{afterError:function(){a("Hitcounter",f)},afterSuccess:function(p){p=w.readObj("json",p).hitCountVars;o.profileData.showHitCount=p.showHitCount;o.profileData.hitCount=p.hitCount;o.loggedData.ownHitCount=p.ownHitCount;J.reinitProfileHitcounter()}})}}function g(){var l=$(this);if(!l.isDisbld()){var f=l.parents(".ST_idBoxNotificationFriendrequest").length?"Friendrequest":l.parents(".ST_idBoxNotificationComment").length?"Comment":l.parents(".ST_idBoxNotificationMessage").length?"Message":
"",p=l.getIdFromClass("ST_val_"),q=l.parents(".ST_idBoxNotification"+f).find(".ST_switchBoxHi").find(".ST_idSwitch").getIdFromClass("ST_val_"),r=o.loggedData.notificationSettings;a("Notification"+f,p);var x=0;x+=f=="Comment"?parseInt(p):j("Comment");x+=f=="Friendrequest"?parseInt(p):j("Friendrequest");x+=f=="Message"?parseInt(p):j("Message");o.loggedData.notificationSettings=x;O.post({action:7,mailsetting:x},{afterError:function(){a("Notication"+f,q);o.loggedData.notificationSettings=r},afterSuccess:function(){o.loggedData.notificationSettings=
x}})}}function j(l){var f={Comment:1,Friendrequest:2,Message:4};return l=o.loggedData.notificationSettings%(f[l]*2)>=f[l]?f[l]:0}function h(){var l=$(this);if(!l.isDisbld()){l=l.getIdFromClass("ST_val_");var f=o.loggedData.lang;a("Language",l);O.post({action:7,lang:l},{afterError:function(){a("Language",f)},afterSuccess:function(){ba.gotoUrl("http://"+o.parsedProfileUser.url+"?reload="+parseInt(Math.random()*1E7))}})}}function m(){var l=$(this);if(!l.isDisbld()){l=l.getIdFromClass("ST_val_");var f=
o.profileData.currThemeId;a("Theme",l);Q.tglPreloader(true);O.post({action:17,id:l},{afterError:function(){a("Theme",f)},afterSuccess:function(){ba.gotoUrl("http://"+o.parsedProfileUser.url+"?reload="+parseInt(Math.random()*1E7))}})}}function k(){var l=d.PC_Contents.find(".PC_contentsBody");d.PC_Contents.find(".PC_contentsHeadColLeft").empty().end().find(".PC_contentsHeadHL").html(n("HL_PC_ST")).end();J.updateDisplayVal("PCST_Subline");l.empty();if(!o.brandedMode){if(K.isOwner()){var f=$(e({cl:"PCST_SettingsBox ST_idBoxTheme"},
e({cl:"PC_colLeft"},"<b>"+n("HL_ST_Theme")+"</b><br />"+Y({cl:"PCST_currVal"})),e({cl:"PC_colRight"},e({cl:"ST_switchBox"},A("theme_preview_white_lo.png","ST_idSwitch ST_imgTheme ST_val_1 iActObj",n("TT_ST_ThemeName_1"))),e({cl:"ST_switchBox"},A("theme_preview_black_lo.png","ST_idSwitch ST_imgTheme ST_val_2 iActObj",n("TT_ST_ThemeName_2"))),e({cl:"ST_switchBox"},A("theme_preview_handmade_lo.png","ST_idSwitch ST_imgTheme ST_val_3 iActObj",n("TT_ST_ThemeName_3"))),e({cl:"ST_switchBox"},A("theme_preview_neon_lo.png",
"ST_idSwitch ST_imgTheme ST_val_4 iActObj",n("TT_ST_ThemeName_4"))),e({cl:"clr"})),e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));f.find(".ST_idSwitch").bind("click",m)}else f=$(e({cl:"PCST_SettingsBox ST_idBoxTheme"},e({cl:"PC_colLeft"},"<b>"+n("HL_ST_Theme")+"</b><br />"+Y({cl:"PCST_currVal"})),e({cl:"PC_colRight"},n("Text_ST_themeNotChangable")),e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));l.append(f);K.isOwner()&&a("Theme",o.profileData.currThemeId)}if(!o.brandedMode){f=
$(e({cl:"PCST_SettingsBox ST_idBoxWorld"},e({cl:"PC_colLeft"},"<b>"+n("HL_ST_World")+"</b><br />"+Y({cl:"PCST_currVal"})+"<br />",e({cl:"Help_infoBtnReplace"})),e({cl:"PC_colRight"},e({cl:"ST_switchBox"},A("icon_gen_fix_world_on_lo.png","ST_idSwitch ST_imgWorld ST_val_1 iActObj",n("TT_ST_world_1"))),e({cl:"ST_switchBox"},A("icon_gen_fix_world_off_lo.png","ST_idSwitch ST_imgWorld ST_val_0 iActObj",n("TT_ST_world_0"))),e({cl:"clr"})),e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));f.find(".ST_idSwitch").bind("click",
b);Ia.extendInfoBtn(f.find(".Help_infoBtnReplace"),"worldInfos","PC");l.append(f);a("World",o.loggedData.worldstate)}f=$(e({cl:"PCST_SettingsBox ST_idBoxHitcounter"},e({cl:"PC_colLeft"},"<b>"+n("HL_ST_Hitcounter")+"</b><br />"+Y({cl:"PCST_currVal"})),e({cl:"PC_colRight"},e({cl:"ST_switchBox"},A("icon_gen_fix_notification_on_lo.png","ST_idSwitch ST_imgHitcounter ST_val_1 iActObj",n("TT_ST_hitcounter_1"))),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_off_lo.png","ST_idSwitch ST_imgHitcounter ST_val_0 iActObj",
n("TT_ST_hitcounter_0"))),e({cl:"clr"})),e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));f.find(".ST_idSwitch").bind("click",c);l.append(f);a("Hitcounter",o.profileData.hitCount==0?0:1);f=$(e({cl:"PCST_SettingsBox ST_idBoxLanguage"},e({cl:"PC_colLeft"},"<b>"+n("HL_ST_Language")+"</b><br />"+Y({cl:"PCST_currVal"})),e({cl:"PC_colRight"},e({cl:"ST_switchBox"},A("icon_gen_fix_lang_de_lo.png","ST_idSwitch ST_imgLang ST_val_de iActObj",n("TT_ST_Lang_DE"))),e({cl:"ST_switchBox"},A("icon_gen_fix_lang_en_lo.png",
"ST_idSwitch ST_imgLang ST_val_en iActObj",n("TT_ST_Lang_EN"))),e({cl:"clr"})),e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));f.find(".ST_idSwitch").bind("click",h);l.append(f);a("Language",o.loggedData.lang);f=$(e({cl:"PCST_SettingsBox"},e({cl:"PC_colLeft"},n("HL_ST_Notifications")),e({cl:"PC_colRight"},e({cl:"ST_notificationHeader"},n("Text_ST_Notifications")),e({cl:"ST_idBoxNotificationComment"},e({cl:"ST_switchLabel"},n("Label_ST_Notifications_Comment")),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_on_lo.png",
"ST_idSwitch ST_imgNotification ST_val_1 iActObj",n("TT_ST_notification_1"))),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_off_lo.png","ST_idSwitch ST_imgNotification ST_val_0 iActObj",n("TT_ST_notification_0"))),e({cl:"clr"})),e({cl:"ST_idBoxNotificationFriendrequest"},e({cl:"ST_switchLabel"},n("Label_ST_Notifications_FriendRequest")),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_on_lo.png","ST_idSwitch ST_imgNotification ST_val_2 iActObj",n("TT_ST_notification_1"))),e({cl:"ST_switchBox"},
A("icon_gen_fix_notification_off_lo.png","ST_idSwitch ST_imgNotification ST_val_0 iActObj",n("TT_ST_notification_0"))),e({cl:"clr"})),e({cl:"ST_idBoxNotificationMessage"},e({cl:"ST_switchLabel"},n("Label_ST_Notifications_Message")),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_on_lo.png","ST_idSwitch ST_imgNotification ST_val_4 iActObj",n("TT_ST_notification_1"))),e({cl:"ST_switchBox"},A("icon_gen_fix_notification_off_lo.png","ST_idSwitch ST_imgNotification ST_val_0 iActObj",n("TT_ST_notification_0"))),
e({cl:"clr"})),e({cl:"clr"})),A("pc_trenner_big.png","PCST_trennerBot")));f.find(".ST_idSwitch").bind("click",g);l.append(f);a("NotificationComment",j("Comment"));a("NotificationFriendrequest",j("Friendrequest"));a("NotificationMessage",j("Message"));if(!o.brandedMode){f=$(e({cl:"PCST_SettingsBox ST_idBoxPC"},e({cl:"PC_colLeft"},"<b>"+n("HL_ST_PC")+"</b>"),e({cl:"PC_colRight"},e({cl:"ST_linkBoxPC"},aa({cl:"ST_linkPC",name:n("Link_ST_gotoPC"),url:o.urlCenter}),A("infoicon_gen_fix_pclock.png","ST_imgLock"))),
e({cl:"clr"}),A("pc_trenner_big.png","PCST_trennerBot")));l.append(f)}L.extendHoverAndTt(d.PC_Contents)}return{fillPCST:k}}(),ka=function t(){function a(m,k){var l=false;m.find(".Vali_notEmpty,.Vali_captcha").each(function(){var f=$(this);if(V.readFormVal(f)==""){l=true;c(f,"notEmpty")}});m.find(".Vali_email").each(function(){var f=$(this),p=/(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/,q=/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/;if(p.test(V.readFormVal(f))||!q.test(V.readFormVal(f))){l=
true;c(f,"email")}});m.find(".Vali_hasRecipient").each(function(){var f=$(this);if(!f.parents(".idSendToBoxes").find(".WriteMS_idAdressObj").length){l=true;c(f,"recipient")}});if(!l){m.find(".Vali_captcha").length?Q.tglPreloader(true):Q.tglAlert(false,m);k()}}function b(){return $('<table class="TTVali_TT"><tr><td class="TTVali_left"></td><td class="TTVali_mid">'+e({cl:"TTVali_contents"})+'</td><td class="TTVali_right"></td></tr></table>')}function c(m,k){function l(){var r=$(this);g(r);r.unbind("focus",
l)}if(!m.data("hasError")){var f=k=="notEmpty"?n("Vali_Message_NotEmpty"):k=="email"?n("Vali_Message_Email"):k=="recipient"?n("Vali_Message_Recipient"):k=="mailMatch"?n("Vali_Message_MailMatch"):k=="captcha"?n("Vali_Message_Captcha"):"",p=m.parents(".BP_boxInput"),q=k=="recipient"?p:m;b().find(".TTVali_contents").html(f).end().hide().appendTo(p).setPosTo(q,["RIGHT",-50],["TOP",20]).fadeInXB(300);k=="captcha"&&m.val("");p.addClass("Vali_inpHi");m.data("hasError",true).bind("focus",l)}}function g(m){var k=
m.parents(".BP_boxInput");k.removeClass("Vali_inpHi").find(".TTVali_TT").fadeOutXB(300,function(){$(this).remove()});m.data("hasError",false)}function j(m){m.find(".Vali_notEmpty,.Vali_email,.Vali_hasRecipient,.Vali_captcha").each(function(){g($(this))})}function h(m){Q.tglPreloader(false);Q.tglAlert(false,m)}return{validateForm:a,markFieldError:c,validationReset:j,resetCaptchaError:h}}();(function t(){function a(){if(o.brandedMode=="adobe"){d.PageStatusbar.hide();var g=o.parsedProfileUser.url,j=
g=="www.david-harper-2009.adaaworld.das-labor.net"?"www.joerg-block-2009.adaaworld.das-labor.net":g=="www.joerg-block-2009.adaaworld.das-labor.net"?"www.stephan-powilat-2009.adaaworld.das-labor.net":g=="www.stephan-powilat-2009.adaaworld.das-labor.net"?"www.mathias-vogel-2009.adaaworld.das-labor.net":g=="www.mathias-vogel-2009.adaaworld.das-labor.net"?"www.david-prosser-2009.adaaworld.das-labor.net":g=="www.david-prosser-2009.adaaworld.das-labor.net"?"www.daniel-bolliger-2009.adaaworld.das-labor.net":
g=="www.daniel-bolliger-2009.adaaworld.das-labor.net"?"www.david-harper-2009.adaaworld.das-labor.net":"";g=g=="www.joerg-block-2009.adaaworld.das-labor.net"?"www.david-harper-2009.adaaworld.das-labor.net":g=="www.stephan-powilat-2009.adaaworld.das-labor.net"?"www.joerg-block-2009.adaaworld.das-labor.net":g=="www.mathias-vogel-2009.adaaworld.das-labor.net"?"www.stephan-powilat-2009.adaaworld.das-labor.net":g=="www.david-prosser-2009.adaaworld.das-labor.net"?"www.mathias-vogel-2009.adaaworld.das-labor.net":
g=="www.daniel-bolliger-2009.adaaworld.das-labor.net"?"www.david-prosser-2009.adaaworld.das-labor.net":g=="www.david-harper-2009.adaaworld.das-labor.net"?"www.daniel-bolliger-2009.adaaworld.das-labor.net":"";j=$(e({id:"adobeHeader"},e({id:"ahmLogo"},'<a target="_blank" href="http://www.adobe.com">'+A("brand_adobe_logo.png")+"</a>"),e({id:"ahmStripe"},e({id:"ahmMenu"},'<a class="iActObj" href="http://'+g+'" alt="'+g+'">'+A("brand_adobe_arrow-prev.png")+"</a>",'<a class="iActObj ahmWorld" href="'+o.urlAdobeWorld+
'" alt="back to ADAA World">'+A("brand_adobe_worldlogo.png")+"</a>",'<a class="iActObj" href="http://'+j+'" alt="'+j+'">'+A("brand_adobe_arrow-next.png")+"</a>"),e({id:"ahmLogin"},'<a class="iActObj idLinkLogin" href="" alt="Login">Login</a>','<a class="iActObj idLinkLogout" href="" alt="Logout">Logout</a>'))));j.find(".idLinkLogin").bind("click",b).end().find(".idLinkLogout").bind("click",c).end();d.PageStatusbar.before(j);$("body").css("paddingTop",60)}}function b(g){g.preventDefault();na.showLoginPop()}
function c(g){g.preventDefault();na.clk_submitLogout(g)}G8.globalSubscriber.bind("initExtendPageDOM",a);return{}})();var eb=function t(){function a(m,k){g=d.PM_CBDragThumbnails;j=k;Aa.tglAddCBIcons(false);k=m.pageX;m=m.pageY;var l=h={x:40,y:40};$("img",g).hide();if(j=="Video")$(".idVideo",g).show();else if(j=="Gallery")$(".idGallery",g).show();else if(j=="Text")$(".idText",g).show();else j=="Blog"&&$(".idBlog",g).show();g.left(k-l.x).top(m-l.y).opacity(0).show().fadeTo(300,0.85);Z.bind("mousemove",
b);g.unbind("click").bind("click",c)}function b(m){var k=m.pageX;m=m.pageY;var l=h;g.top(m-l.y).left(k-l.x)}function c(m){Z.unbind("mousemove",b);g.fadeOut(300,function(){sa.callAddCB({category:j,mx:m.pageX,my:m.pageY})})}var g,j,h;return{startDrag:a}}(),xa=function t(){function a(){if(K.isLogged()){var j;if($(".Profile_idUserImg").hasClass("idFirstRun")){j=b("Profilbild hochladen");j.appendTo(".Profile_idUserImg")}if($(".Profile_idName").hasClass("idFirstRun")){j=b("Profilnamen \u00e4ndern");j.appendTo($(".Profile_idName").parent())}if($(".EE_CB").length<
2){j=b("Contentblock hinzuf\u00fcgen");j.prependTo("#MB_PageMode")}if($("#HeadImg_idHeaderImgs").hasClass("idFirstRun")){j=b("Header-Bild \u00e4ndern");j.appendTo("#HeadImg_idShadow")}}}function b(j){return j=$(e({cl:"idFirstrunHelpTT"},e({cl:"firstrunHelpTTLeft"}),e({cl:"firstrunHelpTTMid"},e({cl:"firstrunHelpTTMidInner"},j)),e({cl:"firstrunHelpTTRight"}),e({cl:"clr"})))}function c(j){j?$(".idFirstrunHelpTT").fadeInXB(300):$(".idFirstrunHelpTT").fadeOutXB(300)}function g(j){if(j=="profilePic")$(".Profile_idUserImg").removeClass("idFirstRun").find(".idFirstrunHelpTT").remove();
else if(j=="profileName")$(".Profile_idName").removeClass("idFirstRun").parent().find(".idFirstrunHelpTT").remove();else if(j=="contentblock")$("#MB_PageMode").find(".idFirstrunHelpTT").remove();else if(j=="headerImg"){$("#HeadImg_idHeaderImgs").removeClass("idFirstRun");$("#HeadImg_idShadow").find(".idFirstrunHelpTT").remove()}}G8.globalSubscriber.bind("initExtendPageDOM",a);return{tglFirstrunHelp:c,resetFirstrunTooltip:g}}();(function t(){function a(){var g=$(M("icon_hm_loggedout_lo.png","iFadeImg idBtnLogin",
n("TT_GEN_login"))).bind("click",na.clk_showLoginPop),j=$(M("icon_hm_head_lo.png","iFadeImg idBtnDotcom",n("TT_GEN_iWantEightpage"))).bind("click",c),h=$(M("icon_hm_world_lo.png","iFadeImg idBtnWorld",K.isLogged()?n("TT_gotoWorld_logged"):n("TT_gotoWorld_notLogged"))).bind("click",b);$("#HM_Personal").append(g);$("#HM_Dotcom").append(j);$("#HM_World").append(h);L.extendHoverAndTt(d.PageStatusbar);L.extendFadeImgs(d.PageStatusbar)}function b(){ba.gotoUrl(o.urlWorld)}function c(){ba.gotoUrl(o.urlEightpage,
true)}G8.globalSubscriber.bind("initExtendPageDOM",a);return{}})();var Ia=function t(){function a(m,k,l){l=l=="BP"?A("icon_bp_info_lo.png","iActObj Help_imgInfoBtn",n("TT_Help_moreInfo")):l=="PC"?A("icon_gen_fix_info_lo.png","iActObj Help_imgInfoBtn",n("TT_Help_moreInfo")):l=="edit"?A("icon_edit_info_lo.png","iActObj Help_imgInfoBtn",n("TT_Help_moreInfo")):l=="theme"?M("icon_theme_info_lo.png","iActObj Help_imgInfoBtn",n("TT_Help_moreInfo")):"";l=$(e({cl:"Help_infoBtn"},l));l.data("infoKey",k).find(".Help_imgInfoBtn").bind("click",
b);m.before(l).remove();L.extendHoverAndTt(l)}function b(){var m=$(this).parents(".Help_infoBtn");if(m.data("helpExpanded"))g(m);else{var k=m.data("infoKey");k=j(k).appendTo(m).tglFadeIn(300).find(".Help_ttCloseBtn").bind("click",c);m.data("helpExpanded",true);L.extendHoverAndTt(k)}}function c(){g($(this).parents(".Help_infoBtn"))}function g(m){m.data("helpExpanded",false).find(".Help_tt").tglFadeOut(300,function(){$(this).remove()})}function j(m){var k={};k.ULError_ajaxResolution=n("Help_ajaxResolution")+
n("Help_FAQImgUploadingLink");k.ULError_fileSize=n("Help_fileSize")+n("Help_FAQImgUploadingLink");k.ULError_ajaxFormat=n("Help_ajaxFormat")+n("Help_FAQImgUploadingLink");k.ULError_ajaxTotalItems=n("Help_ajaxTotalItems");k.ULError_other=n("Help_other")+n("Help_FAQLink");k.videoEmbedding=n("Help_VideoEmbedding")+"<br/>"+A("infocont_embedding.png","Help_ttContImg")+"<br/><br/>"+n("Help_VideoProvider")+n("Help_FAQLink");k.worldInfos=n("Help_WorldVisible");return $(e({cl:"Help_tt",pos:"absolute"},e({cl:"Help_ttTop"}),
e({cl:"Help_ttMid"},A("icon_gen_fix_close_mini_lo.png","Help_ttCloseBtn iActObj",n("TT_GEN_close")),e({cl:"Help_ttContents"},k[m])),e({cl:"Help_ttBot"})))}function h(m){m.find(".Help_infoBtn").each(function(){$(this).data("helpExpanded",false).find(".Help_tt").remove()})}return{extendInfoBtn:a,resetInfoTTs:h}}(),Aa=function t(){function a(){if(K.isLogged()){var x="";x+=e({id:"PC_Cover",hid:true});x+=e({id:"UB",cl:"UB_bot",hid:true},e({id:"UB_FillOuter"},'<table id="UB_Table"><tr><td id="UB_TableMBLeft"></td><td id="UB_TableMBCenter">',
e({id:"MB_contentBox"},e({id:"MB_leftBox"},e({id:"MB_Relations"},e({id:"MB_FABtnWriteMS",cl:"MB_FABtn"},A("icon_mb_writemessage_lo.png","MB_btnWriteMS iFadeImg",n("TT_MB_writeMessage"))),e({id:"MB_FABtnAddAsFriend",cl:"MB_FABtn"},A("icon_mb_addasfriend_lo.png","MB_btnAddAsFriend iFadeImg",n("TT_MB_addAsFriend",X.shortenText(o.parsedProfileUser.name,22)))),A("icon_mb_pending.png","iActObj MB_FABtn",n("TT_MB_friendshipPending"),"MB_FABtnPending")),e({id:"MB_PageMode"},A("icon_mb_modeview_lo.png","iActObj idView",
n("TT_MB_Mode_View"),"MB_PagemodeBtnView"),A("icon_mb_modeedit_lo.png","iActObj idEdit",n("TT_MB_Mode_Edit"),"MB_PagemodeBtnEdit"),A("icon_mb_add_lo.png","iActObj idAdd",n("TT_MB_Mode_Add"),"MB_PagemodeBtnAdd"),e({id:"MB_Pagemode_AddCBBox",hid:true},e({id:"MB_Pagemode_AddCBTop"},A("icon_pm_createcb_gallery_lo.png","idBtnNewGallery iActObj idAddIcon",n("TT_MB_createGalleryCB")),A("icon_pm_createcb_text_lo.png","idBtnNewText iActObj idAddIcon",n("TT_MB_createTextCB")),A("icon_pm_createcb_video_lo.png",
"idBtnNewVideo iActObj idAddIcon",n("TT_MB_createVideoCB")),A("icon_pm_createcb_blog_lo.png","idBtnNewBlog iActObj idAddIcon",n("TT_MB_createBlogCB"))),e({id:"MB_Pagemode_AddCBBot"}))),e({id:"MB_Settings"},A("icon_mb_settings_lo.png","idBtnSettings iActObj",n("TT_MB_ST")))),e({id:"MB_centerBox"},e({id:"MC_centerBoxInner"},e({id:"MB_logoutBtnBox"},A("icon_mb_logout_lo.png","idBtnLogout iActObj",n("TT_MB_logout"))),e({id:"MB_UserNameBox"},e({id:"MB_userNameNameBoxLeft"},e({id:"MBLoggedUserName"}),A("icon_mb_homebase_lo.png",
"iActObj",n("TT_MB_gotoOwnProfile"),"MB_LoggedUserArrow"),e({cl:"clr"})),e({id:"MB_userNameNameBoxRight"})),e({cl:"clr"}))),e({id:"MB_rightBox"},!o.brandedMode?A("icon_mb_world_lo.png","idBtnWorld iActObj",n("TT_gotoWorld_logged")):o.brandedMode=="adobe"?M("icon_mb_world_lo.png","idBtnWorld iActObj",n("TT_gotoAdobeWorld_logged")):"",A("icon_mb_newsfeed_lo.png","idBtnNewsfeed iActObj",n("TT_MB_NF")),A("icon_mb_messages_lo.png","idBtnMessages iActObj",n("TT_MB_MS")),Y({id:"MBTtlMessages",cl:"MBTtlCounter"}),
A("icon_mb_friends_lo.png","idBtnFRequests iActObj",n("TT_MB_FR")),Y({id:"MBTtlFRequests",cl:"MBTtlCounter"}),A("icon_mb_comments_lo.png","idBtnComments iActObj",n("TT_MB_CF")),Y({id:"MBTtlComments",cl:"MBTtlCounter"}),A("icon_gen_fix_close_lo.png","iActObj",n("TT_GEN_close"),"PC_ImgBtnClosePC"))),'</td><td id="UB_TableMBRight"></td></tr>','<tr id="PC"><td id="UB_TablePCLeft"><div id="PC_LeftMid"></div></td><td id="UB_TablePCCenter">',e({id:"PC_Contents"}),'</td><td id="UB_TablePC_Right"><div id="PC_RightMid"></div></td></tr></table>'));
if(K.isOwner())x+=e({id:"PM_CBDragThumbnails",pos:"absolute",hid:true},M("pm_thumbnail_video.png","idVideo hidden"),M("pm_thumbnail_gallery.png","idGallery hidden"),M("pm_thumbnail_text.png","idText hidden"),M("pm_thumbnail_blog.png","idBlog hidden"));o.initDOMString+=x;oa.preloadSpecialImgs("fix",["icon_mb_modeedit_act.png"])}}function b(){if(K.isLogged()){var x=["PC_Cover","UB","PC","PC_Contents","MB_UserNameBox","MB_LoggedUserArrow","MB_Relations","MB_PageMode","MB_FABtnWriteMS","MB_FABtnAddAsFriend",
"MB_FABtnPending","MB_PageMode","MB_Pagemode_AddCBBox","PM_CBDragThumbnails"];J.setDOMReference(x);d.UB.find(".idBtnWorld").bind("click",c).end().find(".idBtnNewsfeed").bind("click",{mode:"Newsfeed"},h).end().find(".idBtnLogout").bind("click",na.clk_submitLogout).end().find(".idBtnSettings").bind("click",{mode:"Settings"},h).end().find(".idBtnMessages").bind("click",{mode:"Messages"},h).end().find(".idBtnFRequests").bind("click",{mode:"FRequests"},h).end().find(".idBtnComments").bind("click",{mode:"Comments"},
h).end().find("#PC_ImgBtnClosePC").bind("click",ha.clk_closePC);d.MB_LoggedUserArrow.bind("click",m);d.MB_FABtnWriteMS.find(".MB_btnWriteMS").bind("click",j);d.MB_FABtnAddAsFriend.find(".MB_btnAddAsFriend").bind("click",g);d.MB_PageMode.find(".idEdit,.idView").bind("click",p).end().find(".idAdd").bind("click",f).end().find(".idAddIcon").bind("click",l);L.extendFadeImgs(d.MB_Relations)}}function c(){ba.gotoUrl(o.brandedMode=="adobe"?o.urlAdobeWorld:o.urlWorld)}function g(){var x="";ia.showPopAddFriend(o.parsedProfileUser,
x)}function j(){Ca.showWriteMSPop({userDataArr:[o.parsedProfileUser]})}function h(x){x=x.data.mode;if(ha.isVisible())ha.switchPCContents(x);else{d.UB.data("currPane",x);ha.tglPC(true)}}function m(){ba.gotoUrl("http://"+o.parsedLoggedUser.url)}function k(){var x=K.getRelation();if(x!="isOwner"&&x!="isNotLogged"){x=x=="isFriend"?d.MB_FABtnWriteMS:x=="isPending"?d.MB_FABtnPending:d.MB_FABtnAddAsFriend;d.MB_Relations.children().hide();x.show()}}function l(x){var s=$(this);s=s.hasClass("idBtnNewGallery")?
"Gallery":s.hasClass("idBtnNewVideo")?"Video":s.hasClass("idBtnNewText")?"Text":s.hasClass("idBtnNewBlog")?"Blog":"";eb.startDrag(x,s);d.MB_Pagemode_AddCBBox.setImgLo()}function f(){var x=$(this);x.isDisbld()||r(!d.MB_Pagemode_AddCBBox.data("expanded"))}function p(){var x=$(this).hasClass("idView")?"View":"Edit";if(x!=o.siteViewMode){o.siteViewMode=x;J.displayPage({keepLogStatus:true})}}function q(){if(K.isOwner()){J.isInEditMode()?d.MB_PageMode.find(".idView").setImgLo().disbl(false).end().find(".idEdit").setImgAct().disbl(true).end().find(".idAdd").setImgLo().show():
d.MB_PageMode.find(".idView").setImgAct().disbl(true).end().find(".idEdit").setImgLo().disbl(false).end().find(".idAdd").hide();r(false);d.MB_PageMode.fadeIn(300)}}function r(x){if(x){d.MB_Pagemode_AddCBBox.find(".idBtnNewBlog").tgl(!o.profileData.blogOrder.length);d.MB_Pagemode_AddCBBox.data("expanded",true).fadeIn(300)}else d.MB_Pagemode_AddCBBox.data("expanded",false).fadeOut(300)}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{tglAddCBIcons:r,updatePagemode:q,
updateFriendRelationBtn:k}}(),Q=function t(){function a(){var f=e({id:"GEN_PopConfirm",hid:true});o.initDOMString+=f;oa.preloadSpecialImgs("theme",["icon_hm_loggedout_hi.png"]);oa.preloadSpecialImgs("fixCSS",["input_bp_single_small_bg_lo.png","bp_bg.png","vali_tt_bg_left.png","vali_tt_bg_mid.png","vali_tt_bg_right.png"])}function b(){var f=["GEN_PopConfirm"];J.setDOMReference(f);$(".Captcha_boxImg").bind("click",l)}function c(){var f=e({cl:"Captcha"},e({cl:"Captcha_boxImg"},A("captcha_frame.png",
"Captcha_imgCaptchaFrame iActObj",n("TT_BP_refreshCaptcha")),A("trans.gif","Captcha_idImgCaptcha")),e({cl:"BP_boxInput"},ca({e:"inp",cl:"Captcha_inp idCaptcha Vali_captcha"})));return f}function g(f){f=f||{};var p=d.GEN_PopConfirm,q=f.headline?f.headline:"",r=f.msg?f.msg:"",x=n("TT_GEN_close");p.html(fa.makeBP({headline:q,content:e({cl:"BP_centered"},r),controls:A("icon_bp_ok_lo.png","idBtnOk iActObj",x)}));f.autoHide&&setTimeout(function(){h(false,p)},o.alertAutohideTime*1E3);L.extendHoverAndTt(p);
h(true,p)}function j(f){f=f||{};var p=d.GEN_PopConfirm,q=f.headline?f.headline:"",r=f.contentText?f.contentText:"",x=f.okTitle?f.okTitle:"",s=f.cancelTitle?f.cancelTitle:n("TT_GEN_cancel"),u=f.okAction?f.okAction:false;f=f.cancelAction?f.cancelAction:false;r=e({cl:"BP_centered"},r);p.html(fa.makeBP({headline:q,content:r,controls:A("icon_bp_ok_lo.png","idBtnOk iActObj",x)+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",s)}));u&&$(".idBtnOk",p).bind("click",u);f&&$(".idBtnCancel",p).bind("click",f);
L.extendHoverAndTt(p);h(true,p)}function h(f,p,q){q=q||{};if(f){$(".idBtnOk,.idBtnCancel",p).unbind("click.autoClose").bind("click.autoClose",function(){h(false,p)});p.setImgLo();p.parents().length||p.appendTo("body");$.blockUI({overlayCSS:{backgroundColor:null},message:p,onMsgIn:function(){p.fadeInXB(300);q.callback&&q.callback.call()}})}else{$(".idBtnOkVali",p).length&&ka.validationReset(p);$.unblockUI({fadeOut:200,callback:q.callback,msgObj:p})}}function m(f){var p=d.Preloader;f?$.blockUI({overlayCSS:{backgroundColor:null},
message:p,onMsgIn:function(){p.show()}}):$.unblockUI({fadeOut:200,msgObj:p})}function k(f){f=$Self(".Captcha_idImgCaptcha",f);var p=G8.isLocaltest?"dbressource/img/temp_captcha.jpg":o.scriptPathUserpage+"?action=38&reload="+parseInt(Math.random()*1E7);f.attr("src",p)}function l(){var f=$(this);k(f)}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{getCaptchaMaster:c,alertt:g,confirmm:j,tglAlert:h,tglPreloader:m,refreshCaptcha:k}}(),Ta=function t(){function a(){if(K.isLogged()){var m=
e({id:"Notify",cl:"Note_TT",hid:true},e({cl:"Note_TTInner"},e({cl:"Note_TTContent"}),A("icon_gen_fix_close_mini_lo.png","Note_TTimgCloseBtn iActObj",n("TT_Note_close"))));o.initDOMString+=m;oa.preloadSpecialImgs("fix",["note_bg.png","infoicon_gen_fix_comment.png","infoicon_gen_fix_friend.png","infoicon_gen_fix_message.png"])}}function b(){if(K.isLogged()){var m=["Notify"];J.setDOMReference(m);d.Notify.find(".Note_TTimgCloseBtn").bind("click",j)}}function c(m){if(m.messages||m.frequests||m.comments){var k=
e({cl:"Note_TTHeadline"},n("HL_Note"));if(m.messages)k+=e({cl:"Note_TTItem idNoteItemMS"},A("infoicon_gen_fix_message.png","Note_imgInfoicon"),Y({cl:"Note_TTItemText"},"<b>"+o.loggedData.totalNewMessages+"</b> "+wa("Text_Note_UnreadMessage",o.loggedData.totalNewMessages)));if(m.frequests)k+=e({cl:"Note_TTItem idNoteItemFR"},A("infoicon_gen_fix_friend.png","Note_imgInfoicon"),Y({cl:"Note_TTItemText"},"<b>"+o.loggedData.totalFriendRequests+"</b> "+wa("Text_Note_NewFriendRequest",o.loggedData.totalFriendRequests)));
if(m.comments)k+=e({cl:"Note_TTItem idNoteItemCF"},A("infoicon_gen_fix_comment.png","Note_imgInfoicon"),Y({cl:"Note_TTItemText"},"<b>"+o.loggedData.totalNewComments+"</b> "+wa("Text_Note_NewComment",o.loggedData.totalNewComments)));d.Notify.find(".Note_TTContent").html(k).end().css("bottom",ha.isVisible()?5:32).slideDown(1E3).find(".Note_TTItem").bindTglHoverClass("Note_TTItemHi").bind("click",g);o.Notify.autohideTimeout=setTimeout(h,o.Notify.autohideTime*1E3)}}function g(){var m=$(this).getIdFromClass("idNoteItem");
if(m=="MS")d.UB.find(".idBtnMessages").trigger("click");else if(m=="FR")d.UB.find(".idBtnFRequests").trigger("click");else m=="CF"&&d.UB.find(".idBtnComments").trigger("click")}function j(){if(o.Notify.autohideTimeout){clearTimeout(o.Notify.autohideTimeout);o.Notify.autohideTimeout=false}d.Notify.fadeOutXB(300)}function h(){o.Notify.autohideTimeout=false;d.Notify.fadeOutXB(1E3)}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{doNotify:c}}(),ha=function t(){function a(){K.isLogged()&&
oa.preloadSpecialImgs("fixCSS",["pc_trennerfade_bg.png","pc_bg_left_top.png","pc_bg_center_top.png","pc_bg_right_top.png","pc_bg_left_mid.png","pc_bg_center_mid.png","pc_bg_right_mid.png"])}function b(){h(false)}function c(){return d.UB&&d.UB.data("expanded")}function g(m){d.UB.data("currPane");d.UB.data("currPane",m);j(m);var k=e({cl:"PC_contentsHead"},e({cl:"PC_contentsHeadColLeft"}),e({cl:"PC_contentsHeadColRight"},e({cl:"PC_contentsHeadHL"}),e({cl:"PC_contentsHeadSubline"})),e({cl:"clr"})),l=
e({cl:"PC_contentsBody"},e({cl:"PC_contentsBodyEmpty"},d.PreloaderFixMiniMaster,n("Text_GEN_loading")));d.PC_Contents.html(k+l);if(m=="FRequests")Sa.fillPCFR();else if(m=="Messages")va.fillPCMS();else if(m=="Newsfeed")Ma.fillPCNF();else if(m=="Settings")db.fillPCST();else m=="Comments"&&Ma.fillPCCF()}function j(m){d.UB.find(".idBtnNewsfeed,.idBtnSettings,.idBtnMessages,.idBtnFRequests,.idBtnComments").setImgLo();m&&d.UB.find(".idBtn"+m).setImgAct()}function h(m){var k=d.UB;if(m){k.data("expanded",
true);k.data("origPageContentsYPos",ta.scrollTop());K.isOwner()&&d.MB_PageMode.hide();d.PC_Cover.fadeIn(300,function(){d.Notify.css("bottom",5);ta.scrollLeft(0).scrollTop(0);var l=k.top();k.css("top")=="auto"&&k.css({top:l+"px"});k.data("origTop",l);g(k.data("currPane"));d.PC.show();k.animate({top:20},600,function(){d.AllPageContents.add("#LB_Popup,#LB_Overlay").hide();$("#PC_ImgBtnClosePC").fadeInXB(300);k.switchClassF("UB_bot","UB_top")})})}else{k.data("expanded",false);j();$("#PC_ImgBtnClosePC").fadeOutXB(300);
k.animate({top:k.data("origTop")},600,function(){k.css("top",null);k.switchClassF("UB_top","UB_bot");d.AllPageContents.add("#LB_Popup,#LB_Overlay").show();K.isOwner()&&d.MB_PageMode.show();d.PC_Cover.fadeOut(300);ta.scrollTop(k.data("origPageContentsYPos"));d.Notify.css("bottom",32)})}}G8.globalSubscriber.bind("initCreatePageDOMString",a);return{clk_closePC:b,isVisible:c,switchPCContents:g,tglPC:h}}(),oa=function t(){function a(){d.PreloaderThemeMiniMaster=e({cl:"preload_preloaderMini"},M("preloader_theme_mikro.gif"));
d.PreloaderFixMiniMaster=e({cl:"preload_preloaderMini"},A("preloader_fix_mikro.gif"));d.PreloaderLBMiniMaster=e({cl:"preload_preloaderMini"},A("preloader_lb_mikro.png"))}function b(q,r){if(q=="theme")$.each(r,function(x,s){M(s)});else if(q=="fixCSS")$.each(r,function(x,s){fa.makeImg("staticCSS",s)});else q=="fix"&&$.each(r,function(x,s){A(s)})}function c(){G8.pageVars.contentImgObjs=[];var q=G8.pageVars.profileData.resPath+"themes/profile/img/trans.gif";$(".FO_idImgFImg, .EE_blogImg .EE_OBJ, .EE_galImg .EE_OBJ, .EE_textCbImg .EE_OBJ").each(function(){var r=
$(this);G8.pageVars.contentImgObjs.push(r);var x=r.attr("src");r.data("origSrc",x).attr("src",q)})}function g(){if(o.contentImgObjs){var q=o.contentImgObjs.length;$.each(o.contentImgObjs,function(r,x){x.attr("src",x.data("origSrc"));r==q-1&&x.bind("load",j)})}}function j(){$(".EE_CB").each(function(){var q=$(this);q=R("Contentblock",q);q.preloadPreviewImgs()})}function h(){o.Preloading.isRunning=true;o.Preloading.timeoutEssentials=setTimeout(k,o.Preloading.maxTime*1E3);o.Preloading.collectEssentials=
true;Q.tglPreloader(true)}function m(){o.Preloading.collectEssentials=false}function k(){l()}function l(){if(o.Preloading.isRunning){o.Preloading.isRunning=false;clearTimeout(o.Preloading.timeoutEssentials);Q.tglPreloader(false);g()}}function f(q){if(q!=""&&q.indexOf("script.php?")==-1){o.Preloading.imgsEssential[q]="loading";p(q,true)}}function p(q,r){function x(s){o.Preloading.imgsEssential[s]="loaded";var u=0,B=0;$.each(o.Preloading.imgsEssential,function(G,F){u++;F=="loaded"&&B++});B>u*o.Preloading.percentEssentialsLoadedBeforeContent&&
l()}$.isArray(q)||(q=[q]);$.each(q,function(s,u){u=ba.prefixSrc("theme",u);if(o.Preloading.imgs[u]==undefined){o.Preloading.imgs[u]="loading";$("<img/>").srcF(u).bind("load",function(){o.Preloading.imgs[u]="loaded";r&&x(u);$(this).remove()})}})}G8.globalSubscriber.bind("initExtendPageDOM",a);return{preloadSpecialImgs:b,preloadImgs:p,holdContentLoading:c,startCollectEssentials:h,stopCollectEssentials:m,addStackEssentialImg:f}}(),Oa=function t(){function a(){var j=arguments,h=j[0],m=g[o.loggedData.lang][h]?
g[o.loggedData.lang][h]:"";if(j.length>1){j=G8.ax_jqxtnd.arrayCutFirst(j);$.each(j,function(k,l){m=m.replace("#"+(k+1),l)})}return m}function b(j,h){return h==1?n(j+"1",h):n(j+"2",h)}function c(){g.de={TT_MB_logout:"ausloggen",TT_GEN_login:"einloggen",TT_GEN_delete:"l\u00f6schen",TT_BP_upload:"hochladen",TT_GEN_cancel:"abbrechen",TT_GEN_close:"schlie\u00dfen",TT_GEN_save:"speichern",TT_TAF_send:"senden",TT_GEN_sendMessage:"abschicken",TT_BP_sendComment:"eintragen",TT_MS_Tgl_reply:"antworten",TT_CB_Tgl_show:"ausklappen",
TT_CB_Tgl_hide:"einklappen",TT_CM_Tgl_show:"Kommentare zeigen",TT_CM_Tgl_hide:"Kommentare ausblenden",TT_MS_Reply_Tgl_show:"antworten",TT_MS_Reply_Tgl_hide:"ausblenden",Text_CM_Tgl_allComments:"alle Kommentare",Text_FCB_Tgl_allFriends:"alle zeigen",Text_CM_Tgl_comments:"Kommentare zeigen",Text_MS_Tgl_allMessages:"alle Nachrichten",Text_MS_Tgl_reply:"Antwort",Text_Gallery_Tgl_allGalImgs:"alle Bilder zeigen",Text_HitCount_totalVisitors:"#1 Besucher",Text_GEN_loading:"Lade...",TT_MB_NF:"Neuigkeiten:[br]Was machen meine Freunde",
TT_MB_ST:"Einstellungen",TT_MB_MS:"Nachrichten",TT_MB_FR:"Freundschaftsanfragen",TT_MB_CF:"Kommentare auf meiner Seite",TT_gotoWorld_logged:"neue Freunde in der eightpageworld finden",TT_gotoWorld_notLogged:"neue Seiten in der eightpageworld entdecken",TT_gotoAdobeWorld_logged:"neue Freunde in der Adobe Community finden",TT_gotoAdobeWorld_notLogged:"neue Seiten in der Adobe Community entdecken",TT_PC_MS_deleteMessage:"Nachricht l\u00f6schen",TT_Note_close:"ausblenden",TT_GEN_writeMessage:"Nachricht schreiben",
TT_BP_refreshCaptcha:"Nicht lesbar?[br]neuen Code anzeigen",HL_BP_UL_uploadImgs:"Bilder hochladen",TT_BP_cancelUpload:"Upload abbrechen",HL_BP_UL_selectImgToUpload:"neues Bild ausw\u00e4hlen",Text_BP_UL_selectImgToUpload:"Bitte ein neues Bild ausw\u00e4hlen",Label_TAF_to:"An (E-Mail Adresse)",Label_TAF_message:"Nachricht",Label_Login_domain:"Domain",Label_PwRestore_domain:"Domain",Label_PwRestore_email:"E-Mail Adresse",Label_Login_password:"Passwort",TT_GEN_iWantEightpage:"Will ich auch!",Link_Login_pwForgotten:"Passwort vergessen?",
HL_PwRestore_passwordForgotten:"Passwort vergessen",Text_PwRestore_passwordForgotten:"Bitte gib deine Domain und deine E-Mail Adresse an, Du erh\u00e4lst dann von uns eine Aktivierungsmail.",HL_PwRestore_passwordRestore:"Benutzer freischalten",Text_PwRestore_passwordRestore:"Bitte gib deine Domain und deine E-Mail Adresse an, Du erh\u00e4lst dann von uns eine Aktivierungsmail.",TT_PwRestore_requestPassword:"Passwort anfordern",TT_CB_moveCBDown:"Block nach unten verschieben",TT_CB_moveCBUp:"Block nach oben verschieben",
TT_CB_skipCBDown:"Block ganz nach unten verschieben",TT_CB_skipCBUp:"Block ganz nach oben verschieben",TT_CB_privacySelf:"nur f\u00fcr mich sichtbar",TT_CB_privacyFriends:"f\u00fcr meine Freunde sichtbar",TT_CB_privacyAll:"f\u00fcr alle sichtbar ",TT_CB_deleteCB:"Block l\u00f6schen",TT_changeFavicon:"Seitenlogo \u00e4ndern",TT_BlogImg_moveImgDown:"Bild nach unten verschieben",TT_BlogImg_moveImgUp:"Bild nach oben verschieben",TT_AddImg_uploadNewImgs:"Neue Bilder hochladen",TT_TextCbImg_moveImgDown:"Bild nach unten verschieben",
TT_TextCbImg_moveImgUp:"Bild nach oben verschieben",Text_Video_insertVideolink:"Video-Link hier einf\u00fcgen",TT_createBEntry:"neuen Blogeintrag erstellen",TT_prevBEntry:"vorheriger Blogeintrag",TT_nextBEntry:"n\u00e4chster Blogeintrag",TT_deleteBEntry:"Blogeintrag l\u00f6schen",TT_FCB_coverStartFriendship:"Freundschaft anfragen",TT_deleteFriendship:"Freundschaft beenden",TT_FCB_clearSearch:"Suche beenden",TT_FCB_TAF:"neue Leute einladen",TT_MB_createGalleryCB:"neue Bildgalerie hinzuf\u00fcgen",
TT_MB_createTextCB:"neuen Textblock hinzuf\u00fcgen",TT_MB_createVideoCB:"neues Video hinzuf\u00fcgen",TT_MB_createBlogCB:"neuen Blog hinzuf\u00fcgen",TT_MB_writeMessage:"schreibe eine private Nachricht",TT_MB_addAsFriend:"schlie\u00dfe Freundschaft mit #1",TT_MB_friendshipPending:"Freundschaft wurde angefragt",HL_BP_FR_friendRequest:"Freundschaftseinladung",Label_BP_FR_to:"An",Label_BP_FR_message:"Nachricht",TT_BP_FR_invite:"einladen",HL_BP_WriteMS_writeMessage:"Nachricht schreiben",Label_BP_WriteMS_to:"An",
Label_BP_WriteMS_subject:"Betreff",Label_BP_WriteMS_message:"Nachricht",HL_BP_CM_writeComment:"Kommentar schreiben",Label_BP_CM_commentText:"Text",TT_CM_deleteComment:"Kommentar l\u00f6schen",TT_CM_addComment:"Kommentar schreiben",Text_Login_problemCookie:"Es gibt ein Problem. Bitte melde dich neu an.",Text_Login_problemSession:"Deine Session ist abgelaufen. Bitte melde dich neu an.",Text_Login_problemPassword:"Du hast einen falschen Benutzernamen oder falsches Passwort eingegeben. Bitte probiere es noch einmal.",
Text_Login_problemLocked:"Dein Benutzername wurde tempor\u00e4r wegen zu vieler fehlerhafter Anmeldeversuche gesperrt. Bitte benutze die Passwort-Vergessen-Funktion, um ein neues Passwort zu erstellen.",Link_Login_unlockPassword:"Passwort freischalten",HL_BP_Success_mailSent:"Mail wurde versendet",Text_BP_Success_mailSent:"Es wurde eine Nachricht an #1 gesendet.",HL_BP_Success_passwordRequested:"Anfrage wurde abgeschickt",Text_BP_Success_passwordRequested:"Es wurde eine E-Mail an dich versendet. Folge einfach den darin enthaltenen Anweisungen",
HL_BP_Confirm_deleteMessage:"Nachricht l\u00f6schen?",HL_BP_Success_friendRequested:"Freund wurde angefragt",Text_BP_Success_friendRequested:"#1 wurde erfolgreich angefragt.",HL_BP_Confirm_deleteImg:"Bild l\u00f6schen?",HL_BP_Confirm_deleteBlog:"Ganzen Blog l\u00f6schen?",Text_BP_Confirm_deleteBlog:"Achtung: alle Blogeintr\u00e4ge werden gel\u00f6scht",HL_BP_Confirm_deleteGallery:"Galerie l\u00f6schen?",Text_BP_Confirm_deleteGallery:"Achtung: alle Bilder werden gel\u00f6scht",HL_BP_Confirm_deleteVideo:"Videoblock l\u00f6schen?",
HL_BP_Confirm_deleteText:"Textblock l\u00f6schen?",HL_BP_Confirm_deleteBlogentry:"Blogeintrag l\u00f6schen?",HL_BP_Confirm_deleteFriendship:"Freundschaft beenden?",Text_BP_Confirm_deleteFriendship:"Dein Gegen\u00fcber wird nicht benachrichtigt.",HL_BP_Confirm_deleteComment:"Kommentar l\u00f6schen?",TT_MB_gotoOwnProfile:"Zum eigenen Profil wechseln",HL_BP_friendAlreadyRequested:"Freund wurde schon angefragt",Text_BP_friendAlreadyRequested:"#1 wurde schon angefragt hat aber noch keine Antwort gegeben.",
Text_BP_CM_friendshipMandatory:"Um einen Kommentar schreiben zu k\u00f6nnen, musst Du befreundet sein. Schicke dazu eine Freundschaftseinladung.",Text_BP_CM_loginMandatory:"Um einen Kommentar schreiben zu k\u00f6nnen, logge dich bitte ein.",HL_BP_CM_friendshipPending:"Kommentar schreiben",Text_BP_CM_friendshipPending:"Kommentar schreiben momentan nicht m\u00f6glich. Freundschaftseinladung wurde versendet, aber noch nicht beantwortet.",HL_PC_MS:"Nachrichten",HL_BP_Success_messageSent:"Nachricht wurde versendet",
Text_BP_Success_messageSent:"Die Nachricht wurde erfolgreich versendet.",Text_MS_noMessages:"Momentan keine Nachrichten.",Text_CF_noComments:"Momentan keine Kommentare.",TT_MS_visitUser:"Besuchen",TT_FR_acceptFriendship:"Freundschaft akzeptieren",TT_FR_refuseFriendship:"Freundschaft ablehnen (anonym)",HL_PC_FR:"Freundesanfragen",HL_PC_NF:"Newsfeed",HL_PC_ST:"Einstellungen",Text_FR_noRequests:"Momentan keine Freundesanfragen.",Text_NF_noFeeds:"Momentan keine Aktivit\u00e4ten.",HL_CF_Main:"Kommentare",
HL_ST_Theme:"Theme",HL_ST_World:"eightpageworld",HL_ST_Hitcounter:"Besucherz\u00e4hler",HL_ST_PC:"Pers\u00f6nliche Daten",HL_ST_Language:"Sprache",HL_ST_Notifications:"<b>Benachrichtigung</b><br />per E-Mail",Text_ST_Notifications:"Ich m\u00f6chte benachrichtigt werden bei:",Label_ST_Notifications_Comment:"neuen Kommentaren auf meiner Seite",Label_ST_Notifications_FriendRequest:"neuen Freundschaftseinladungen an mich",Label_ST_Notifications_Message:"neuen Nachrichten an mich",Text_ST_Val_Language_de:"Deutsch",
Text_ST_Val_Language_en:"English",Text_ST_Val_Language_es:"Espa\u00f1ol",Text_ST_Val_Language_fr:"Fran\u00e7ais",Text_ST_Val_Theme_1:"Alabaster-Wei\u00df",Text_ST_Val_Theme_2:"Kriminal-Schwarz",Text_ST_Val_World_0:"unsichtbar",Text_ST_Val_World_1:"sichtbar",Text_ST_Val_Hitcounter_0:"nicht zeigen",Text_ST_Val_Hitcounter_1:"anzeigen",TT_ST_Lang_DE:"Deutsch",TT_ST_Lang_EN:"English",TT_ST_Lang_ES:"Espa\u00f1ol",TT_ST_Lang_FR:"Fran\u00e7ais",TT_ST_ThemeName_1:"Alabaster-Wei\u00df",TT_ST_ThemeName_2:"Kriminal-Schwarz",
TT_ST_ThemeName_3:"Handgemacht",TT_ST_ThemeName_4:"Flashy Neon",TT_ST_world_1:"in eightpageworld sichtbar sein",TT_ST_world_0:"nicht in eightpagworld erscheinen",TT_ST_hitcounter_1:"Besucherz\u00e4hler im Profil zeigen",TT_ST_hitcounter_0:"Besucherz\u00e4hler nicht im Profil zeigen",TT_ST_notification_1:"E-Mail erhalten",TT_ST_notification_0:"keine E-Mail erhalten",Link_ST_gotoPC:"Personal Center aufrufen (\u00fcber den Sicherheitsserver)",Text_ST_themeNotChangable:"Das Theme kannst Du nur von deiner eigenen eightpage aus \u00e4ndern.",
HL_BP_flashDetect:"Flash Player",Text_BP_flashDetect:"Zum Benutzen der Seite ist der kostenlose Flashplayer n\u00f6tig. Bitte lade dir die aktuelle Version "+aa({name:"hier",url:"http://get.adobe.com/de/flashplayer"})+" herunter.",HL_BP_msieDetect:"Du benutzt Internet Explorer",Text_BP_msieDetect:"Internet Explorer schr\u00e4nkt deine Funktionen ein. Wechsel zu einem sicheren und schnelleren Browser, um deine eightpage&trade; uneingeschr\u00e4nkt zu nutzen ("+aa({name:"weitere Infos",url:"http://portal.eightpage.com/?content=faq#technical1"})+
").",TT_BP_WriteMS_removeAdress:"Adresse entfernen",Text_NF_CreatedText:"hat den Text #1 erstellt.",Text_NF_CreatedVideo:"hat das Video #1 erstellt.",Text_NF_CreatedGallery:"hat neue Bilder in die Galerie #1 hochgeladen.",Text_NF_CreatedBlogentry:"hat den Blogeintrag #1 verfasst.",Text_NF_MadeFriendship:"ist jetzt mit #1 befreundet.",Text_NF_ChangedProfileImg:"Profilbild hat sich ge\u00e4ndert.",Text_NF_CommentedBlogentry:"hat #1 Blogeintrag #2 kommentiert.",Text_NF_CommentedText:"hat #1 Text #2 kommentiert.",
Text_NF_CommentedVideo:"hat #1 Video #2 kommentiert.",Text_NF_CommentedGalImg:"hat #1 Bild #2 kommentiert.",Text_NF_CommentedProfile:"hat die Seite von #1 kommentiert.",Text_CF_CommentedBlogentry:"hat deinen Blogeintrag #1 kommentiert.",Text_CF_CommentedText:"hat deinen Text #1 kommentiert.",Text_CF_CommentedVideo:"hat dein Video #1 kommentiert.",Text_CF_CommentedGalImg:"hat dein Bild #1 kommentiert.",Text_CF_CommentedProfile:"hat deine Seite kommentiert.",HL_Note:"Es gibt Neuigkeiten",Text_Note_UnreadMessage1:"ungelesene Nachricht",
Text_Note_UnreadMessage2:"ungelesene Nachrichten",Text_Note_NewFriendRequest1:"neue Freundschaftsanfrage",Text_Note_NewFriendRequest2:"neue Freundschaftsanfragen",Text_Note_NewComment1:"neuer Kommentar",Text_Note_NewComment2:"neue Kommentare",Input_FR_message:"Hallo,\n\nIch habe deine eightpage gesehen und m\u00f6chte gerne mit dir befreundet sein..",Input_TAF_message:"Hey,\n\nIch habe jetzt meine eigene eightpage. Wirf mal einen Blick drauf!",HL_BP_ajaxError:"Fehler",Text_BP_ajaxError:"Das hat grad nicht geklappt. Bitte versuche es noch einmal.<br/>(Fehlercode: ##1)",
Text_CM_noComments:"Momentan keine Kommentare.",DocTitle_Suffix:"",HL_PC_Status_newMessages:"#1 neue",HL_PC_Status_TotalMessages:" / #1 insgesamt",HL_PC_Status_FriendRequests1:"#1 Anfrage",HL_PC_Status_FriendRequests2:"#1 Anfragen",HL_PC_Status_TotalFriends1:"#1 Freund",HL_PC_Status_TotalFriends2:"#1 Freunde",Format_dateLong:"DD.MM.JJJJ, HH:mm Uhr",Format_dateShort:"DD.MM.JJJJ",Vali_Message_NotEmpty:"Bitte ausf\u00fcllen",Vali_Message_Email:"Bitte g\u00fcltige E-Mail Adresse eintragen",Vali_Message_Captcha:"Die Zeichen waren falsch",
Vali_Message_Recipient:"Bitte min. einen Empf\u00e4nger ausw\u00e4hlen",Vali_Message_MailMatch:"Die E-Mail Adresse passt nicht zur Domain",HL_UL_Error_ajaxResolution:"Bildaufl\u00f6sung zu hoch",HL_UL_Error_fileSize:"Bilddatei zu gro\u00df",HL_UL_Error_ajaxFormat:"Dateiformat nicht unterst\u00fctzt",HL_UL_Error_ajaxTotalItems:"Galerie ist voll",HL_UL_Error_other:"Unbekannter Fehler (#1)",Text_UL_Helpinfo:"Wenn der Upload zu lange dauert, kannst Du "+aa({name:"hier Tipps und L\u00f6sungen erfahren",
url:"portal.eightpage.com?content=faq"})+".",Text_UL_Status_PleaseSelectSingle:"Bild ausw\u00e4hlen",Text_UL_Status_PleaseSelectMulti:"mehrere Bilder ausw\u00e4hlen",Text_UL_Status_SelectCanceled:"Auswahl wurde abgebrochen",Text_UL_Status_NothingSelected:"Keine Bilder ausgew\u00e4hlt",Text_UL_Status_LoadingImg:"Lade Bild #1 von #2... (noch #3)",Text_UL_Status_ImgsProcessing:"Bilder werden bearbeitet...",Text_UL_Status_AllImgsUploadedSuccess:"Alle Bilder erfolgreich hochgeladen",Text_UL_Status_AllImgsUploadedError:"Nicht alle Bilder konnten hochgeladen werden. Es gab Fehler.",
Swf_UL_ImgFilterDescription:"Bilder",HL_UL_PreInfo_tooMuchImgsInBEntry:"Zu viele Bilder f\u00fcr diesen Blogeintrag",Text_UL_PreInfo_tooMuchImgsInBEntry:"Du kannst nur noch #1 Bilder hochladen. Trotzdem hochladen? Sonst erstelle einfach einen neuen Blogeintrag.",HL_UL_PreInfo_tooMuchImgsInGallery:"Zu viele Bilder f\u00fcr diese Galerie",Text_UL_PreInfo_tooMuchImgsInGallery:"Du kannst nur noch #1 Bilder hochladen. Trotzdem hochladen? Sonst erstelle einfach eine neue Gallerie.",TT_UL_PreInfo_upload:"hochladen",
TT_UL_PreInfo_noUpload:"nicht hochladen",TT_Help_moreInfo:"mehr Infos",Help_ajaxResolution:"Das Bild hat eine zu hohe Aufl\u00f6sung. Zul\u00e4ssig sind maximal 12 Megapixel, das entspricht etwa 4000 x 3000 Pixel.",Help_fileSize:"Die maximal zul\u00e4ssige Dateigr\u00f6\u00dfe ist 4 Megabyte.",Help_ajaxFormat:"Das Bildformat wird nicht unterst\u00fctzt. Bitte verwende '.jpg', '.jpeg', '.gif' oder '.png'.",Help_ajaxTotalItems:"Es sind maximal 100 Bilder pro Galerie m\u00f6glich. Bitte erstelle eine neue Galerie.",
Help_other:"Es ist ein unbekannter Fehler aufgetreten. Bitte einfach sp\u00e4ter noch mal probieren.",Help_FAQLink:"<br/><br/>Mehr Informationen findest Du in unserer "+aa({name:"FAQ",url:"portal.eightpage.com?content=faq"})+".",Help_FAQImgUploadingLink:"<br/><br/>Tipps und Tricks zum Hochladen von Bildern findest Du "+aa({name:"hier in unserer FAQ",url:"portal.eightpage.com?content=faq#functions8"})+".",Help_VideoEmbedding:'Kopiere den "Embed-Link" von Videoanbietern in das Feld.',Help_VideoProvider:"Du findest Videos bei folgenden Anbietern:<br/>"+
aa({name:"www.youtube.com"})+"<br/>"+aa({name:"www.vimeo.com"})+"<br/>"+aa({name:"www.metacafe.com"})+"<br/>"+aa({name:"www.dailymotion.com"})+"<br/>"+aa({name:"www.veoh.com"})+"<br/>"+aa({name:"vids.myspace.com"})+"<br/>und vielen anderen Plattformen",Help_WorldVisible:"In der "+aa({name:"eightpageworld",url:"www.eightpageworld.com"})+" findest Du alle eightpage Nutzer weltweit.<br/><br/>Hier kannst Du \u00e4ndern, ob Du dort sichtbar sein willst oder nicht.",Text_Video_Status_Ok:"Ok. Video-Daten wurden erkannt.",
Text_Video_Status_NotSupported:"Fehler: Video-Anbieter wird nicht unterst\u00fctzt.",Text_Video_Status_NotRecognized:"Fehler: Konnte den Embed-Link nicht erkennen. Bitte versuche einen anderen Video-Link.",TT_MB_Mode_View:"in den Ansichtsmodus wechseln",TT_MB_Mode_Edit:"in den Bearbeitungsmodus wechseln",TT_MB_Mode_Add:"Inhalt hinzuf\u00fcgen",TT_LB_delete:"l\u00f6schen",TT_LB_prevImg:"vorheriges Bild",TT_LB_nextImg:"n\u00e4chstes Bild",TT_LB_startSlideShow:"Diashow starten",TT_LB_stopSlideShow:"Diashow stoppen",
TT_LB_close:"schlie\u00dfen"};g.en={TT_MB_logout:"log out",TT_GEN_login:"log in",TT_GEN_delete:"delete",TT_BP_upload:"upload",TT_GEN_cancel:"abort",TT_GEN_close:"close",TT_GEN_save:"save",TT_TAF_send:"send",TT_GEN_sendMessage:"send",TT_BP_sendComment:"enter",TT_MS_Tgl_reply:"reply",TT_CB_Tgl_show:"expand",TT_CB_Tgl_hide:"collapse",TT_CM_Tgl_show:"show comments",TT_CM_Tgl_hide:"hide comments",TT_MS_Reply_Tgl_show:"reply",TT_MS_Reply_Tgl_hide:"hide",Text_CM_Tgl_allComments:"all comments",Text_FCB_Tgl_allFriends:"show all",
Text_CM_Tgl_comments:"show comments",Text_MS_Tgl_allMessages:"all messages",Text_MS_Tgl_reply:"reply",Text_Gallery_Tgl_allGalImgs:"show all gallery images",Text_HitCount_totalVisitors:"#1 visitors",Text_GEN_loading:"loading...",TT_MB_NF:"News:[br]What are your friends up to?",TT_MB_ST:"Settings",TT_MB_MS:"Messages",TT_MB_FR:"Friendship requests",TT_MB_CF:"Comments on my page",TT_gotoWorld_logged:"find new friends in the eightpageworld",TT_gotoWorld_notLogged:"discover new pages in the eightpageworld",
TT_gotoAdobeWorld_logged:"find new friends in the Adobe Community",TT_gotoAdobeWorld_notLogged:"discover new pages in the Adobe Community",TT_PC_MS_deleteMessage:"delete message",TT_Note_close:"close",TT_GEN_writeMessage:"write message",TT_BP_refreshCaptcha:"illegible?[br]click for new code",HL_BP_UL_uploadImgs:"uploading images",TT_BP_cancelUpload:"abort upload",HL_BP_UL_selectImgToUpload:"select image",Text_BP_UL_selectImgToUpload:"Please select your new image",Label_TAF_to:"to (email adress)",
Label_TAF_message:"message",Label_Login_domain:"domain",Label_PwRestore_domain:"domain",Label_PwRestore_email:"email adress",Label_Login_password:"password",TT_GEN_iWantEightpage:"me too!",Link_Login_pwForgotten:"forgotten password?",HL_PwRestore_passwordForgotten:" Forgotten password ",Text_PwRestore_passwordForgotten:"Please provide your domain and email. You will receive an activation email.",HL_PwRestore_passwordRestore:"activate user",Text_PwRestore_passwordRestore:"Please provide your domain and email. You will receive an activation email.",
TT_PwRestore_requestPassword:"request password",TT_CB_moveCBDown:"move block down",TT_CB_moveCBUp:"move block up",TT_CB_skipCBDown:"move block to bottom",TT_CB_skipCBUp:"move block to top",TT_CB_privacySelf:"visible to me only",TT_CB_privacyFriends:"visible to my friends",TT_CB_privacyAll:"visible to everyone",TT_CB_deleteCB:"delete block",TT_changeFavicon:"change site-logo",TT_BlogImg_moveImgDown:"move image down",TT_BlogImg_moveImgUp:"move image up",TT_AddImg_uploadNewImgs:"upload images",TT_TextCbImg_moveImgDown:"move image down",
TT_TextCbImg_moveImgUp:"move image up",Text_Video_insertVideolink:"insert video link here",TT_createBEntry:"create new blog post",TT_prevBEntry:"previous blog p",TT_nextBEntry:"next blog post",TT_deleteBEntry:"delete blog post",TT_FCB_coverStartFriendship:"request friendship",TT_deleteFriendship:"cancel friendship",TT_FCB_clearSearch:"clear search",TT_FCB_TAF:"invite new people",TT_MB_createGalleryCB:"add image gallery",TT_MB_createTextCB:"add text block",TT_MB_createVideoCB:"add video",TT_MB_createBlogCB:"add blog",
TT_MB_writeMessage:"write a private message",TT_MB_addAsFriend:"send a friendship request to #1",TT_MB_friendshipPending:"friendship requested",HL_BP_FR_friendRequest:"friendship inivitation",Label_BP_FR_to:"to",Label_BP_FR_message:"message",TT_BP_FR_invite:"invite",HL_BP_WriteMS_writeMessage:"write message",Label_BP_WriteMS_to:"to",Label_BP_WriteMS_subject:"subject",Label_BP_WriteMS_message:"message",HL_BP_CM_writeComment:"write comment",Label_BP_CM_commentText:"text",TT_CM_deleteComment:"delete comment",
TT_CM_addComment:"write comment",Text_Login_problemCookie:"A problem has occured. Please log in again.",Text_Login_problemSession:"Your session has expired. Please log in again.",Text_Login_problemPassword:"You have provided an invalid username or password. Please try again.",Text_Login_problemLocked:'Your username has been locked due to too many failed login attempts. Please use the "forgot password" function to create a new password.',Link_Login_unlockPassword:"activate password",HL_BP_Success_mailSent:"Mail has been sent",
Text_BP_Success_mailSent:"message has been sent to #1.",HL_BP_Success_passwordRequested:"Request was sent",Text_BP_Success_passwordRequested:"An email has been sent to you. Just follow the included instructions",HL_BP_Confirm_deleteMessage:"Delete message?",HL_BP_Success_friendRequested:"Friend has been requested",Text_BP_Success_friendRequested:"#1 was requested successfully.",HL_BP_Confirm_deleteImg:"Delete image?",HL_BP_Confirm_deleteBlog:"Delete entire blog?",Text_BP_Confirm_deleteBlog:"Warning: all blog posts will be deleted",
HL_BP_Confirm_deleteGallery:"Delete gallery?",Text_BP_Confirm_deleteGallery:"Warning: all images will be deleted",HL_BP_Confirm_deleteVideo:"Delete video block?",HL_BP_Confirm_deleteText:"Delete text block?",HL_BP_Confirm_deleteBlogentry:"Delete blog post?",HL_BP_Confirm_deleteFriendship:"Cancel friendship?",Text_BP_Confirm_deleteFriendship:"There will be no notification to the other person.",HL_BP_Confirm_deleteComment:"Delete comment?",TT_MB_gotoOwnProfile:"Go to my profile",HL_BP_friendAlreadyRequested:"Friend has already been requested",
Text_BP_friendAlreadyRequested:"#1 has already been requested but has yet to reply.",Text_BP_CM_friendshipMandatory:"You have to be friends in order to be able to write a comment. Send a friendship inivitation first.",Text_BP_CM_loginMandatory:"You have to log in to comment.",HL_BP_CM_friendshipPending:"Write comment",Text_BP_CM_friendshipPending:"Commenting not yet possible. Friendship inivitation has been sent but not answered.",HL_PC_MS:"Messages",HL_BP_Success_messageSent:"Message has been sent",
Text_BP_Success_messageSent:"The message has been sent successfully.",Text_MS_noMessages:"Currently no messages.",Text_CF_noComments:"Currently no comments.",TT_MS_visitUser:"Visit",TT_FR_acceptFriendship:"accept friendship",TT_FR_refuseFriendship:"refuse friendship (anonymous)",HL_PC_FR:"Friendship requests",HL_PC_NF:"Newsfeed",HL_PC_ST:"Settings",Text_FR_noRequests:"Currently no friendship requests.",Text_NF_noFeeds:"Currently no activity.",HL_CF_Main:"Comments",HL_ST_Theme:"Theme",HL_ST_World:"eightpageworld",
HL_ST_Hitcounter:"Hitcounter",HL_ST_PC:"Personal data",HL_ST_Language:"Language",HL_ST_Notifications:"<b>Notifications</b><br />by Email",Text_ST_Notifications:"I want to be notified of:",Label_ST_Notifications_Comment:"new comments on my site",Label_ST_Notifications_FriendRequest:"new friendship requests for me",Label_ST_Notifications_Message:"new messages to me",Text_ST_Val_Language_de:"Deutsch",Text_ST_Val_Language_en:"English",Text_ST_Val_Language_es:"Espa\u00f1ol",Text_ST_Val_Language_fr:"Fran\u00e7ais",
Text_ST_Val_Theme_1:"Alabaster-White",Text_ST_Val_Theme_2:"Criminal-Black",Text_ST_Val_World_0:"invisible",Text_ST_Val_World_1:"visible",Text_ST_Val_Hitcounter_0:"don't show",Text_ST_Val_Hitcounter_1:"show",TT_ST_Lang_DE:"Deutsch",TT_ST_Lang_EN:"English",TT_ST_Lang_ES:"Espa\u00f1ol",TT_ST_Lang_FR:"Fran\u00e7ais",TT_ST_ThemeName_1:"Alabaster-White",TT_ST_ThemeName_2:"Criminal-Black",TT_ST_ThemeName_3:"Hand-Made",TT_ST_ThemeName_4:"Flashy-Neon",TT_ST_world_1:"visible in eightpageworld",TT_ST_world_0:"invisible in eightpageworld",
TT_ST_hitcounter_1:"show hitcounter in profile",TT_ST_hitcounter_0:"don't show hitcounter in profile",TT_ST_notification_1:"notify by e-mail",TT_ST_notification_0:"don't notify by e-mail",Link_ST_gotoPC:"Go to personal center (via secured connection)",Text_ST_themeNotChangable:"Themes can only be changed on your own eightpage.",HL_BP_flashDetect:"Flash Player",Text_BP_flashDetect:"You need the free flash player in order to use this site. Please get the current version "+aa({name:"here",url:"http://get.adobe.com/de/flashplayer"})+
" here.",HL_BP_msieDetect:"You are using Internet Explorer",Text_BP_msieDetect:"Internet Explorer restricts functionality on eightpage. Switch to a more secure and faster browser, in order to fully use your eightpage ("+aa({name:"More info",url:"http://portal.eightpage.com/?content=faq#technical1"})+").",TT_BP_WriteMS_removeAdress:"remove recipient",Text_NF_CreatedText:"has created the Text #1.",Text_NF_CreatedVideo:"has created the video #1.",Text_NF_CreatedGallery:"has uploaded new images to the gallery #1.",
Text_NF_CreatedBlogentry:"has created a new blog post #1.",Text_NF_MadeFriendship:"is now friends with #1.",Text_NF_ChangedProfileImg:"Profile picture has been changed.",Text_NF_CommentedBlogentry:"has commented on #1's blog post #2.",Text_NF_CommentedText:"has commented on #1's text #2.",Text_NF_CommentedVideo:"has commented on #1's video #2.",Text_NF_CommentedGalImg:"has commented on #1's image #2.",Text_NF_CommentedProfile:"has commented on the site of #1.",Text_CF_CommentedBlogentry:"has commented on your blog post #1.",
Text_CF_CommentedText:"has commented on your text #1.",Text_CF_CommentedVideo:"has commented on your video #1.",Text_CF_CommentedGalImg:"has commented on your image #1.",Text_CF_CommentedProfile:"has commented on your site.",HL_Note:"There are news",Text_Note_UnreadMessage1:"unread message",Text_Note_UnreadMessage2:"unread messages",Text_Note_NewFriendRequest1:"new friendship request",Text_Note_NewFriendRequest2:"new friendship requests",Text_Note_NewComment1:"new comment",Text_Note_NewComment2:"new comments",
Input_FR_message:"Hi,\n\nI have seen your eightpage and would like to be friends with you..",Input_TAF_message:"Hey,\n\nI have my own eightpage now. Have a look!",HL_BP_ajaxError:"Error",Text_BP_ajaxError:"That just did not quite work. Please try again.<br/>(Errorcode: ##1)",Text_CM_noComments:"Currently no comments.",DocTitle_Suffix:"",HL_PC_Status_newMessages:"#1 new",HL_PC_Status_TotalMessages:" / #1 total",HL_PC_Status_FriendRequests1:"#1 request",HL_PC_Status_FriendRequests2:"#1 requests",HL_PC_Status_TotalFriends1:"#1 friend",
HL_PC_Status_TotalFriends2:"#1 friends",Format_dateLong:"MM/DD/JJJJ, HH:mm h",Format_dateShort:"MM/DD/JJJJ",Vali_Message_NotEmpty:"Please fill in",Vali_Message_Email:"Please provide a valid email adress",Vali_Message_Captcha:"Wrong characters",Vali_Message_Recipient:"Please pick at least one recipient",Vali_Message_MailMatch:"This email adress does not match with the domain",HL_UL_Error_ajaxResolution:"Image resolution too high",HL_UL_Error_fileSize:"Image file too big",HL_UL_Error_ajaxFormat:"File format not supported",
HL_UL_Error_ajaxTotalItems:"Gallery is full",HL_UL_Error_other:"Unknown error (#1)",Text_UL_Helpinfo:"If the uploads takes too long you can "+aa({name:"get tips and solutions in our FAQ",url:"portal.eightpage.com?content=faq"})+".",Text_UL_Status_PleaseSelectSingle:"select image",Text_UL_Status_PleaseSelectMulti:"select multiple images",Text_UL_Status_SelectCanceled:"Selection cancelled",Text_UL_Status_NothingSelected:"No images selected",Text_UL_Status_LoadingImg:"Uploading images #1 of #2... (#3 to go)",
Text_UL_Status_ImgsProcessing:"Images are being processed...",Text_UL_Status_AllImgsUploadedSuccess:"All images uploaded successfully",Text_UL_Status_AllImgsUploadedError:"Some images could not be uploaded. Errors have occurred",Swf_UL_ImgFilterDescription:"Images",HL_UL_PreInfo_tooMuchImgsInBEntry:"Too many images for this blog post",Text_UL_PreInfo_tooMuchImgsInBEntry:"You can only upload another #1 images. Upload anyway? Otherwise just create a new blog post.",HL_UL_PreInfo_tooMuchImgsInGallery:"Too many images for this gallery",
Text_UL_PreInfo_tooMuchImgsInGallery:"You can only upload another #1 images. Upload anyway? Otherwise just create a new gallery.",TT_UL_PreInfo_upload:"upload",TT_UL_PreInfo_noUpload:"don't upload",TT_Help_moreInfo:"more info",Help_ajaxResolution:"The image resolution is too high. The maximum valid is 12 megapixel, this is roughly 4000 x 3000 pixel.",Help_fileSize:"The maximum valid file size is 4 megabyte.",Help_ajaxFormat:"this image format is not supported. Please use '.jpg', '.jpeg', '.gif' or '.png' format.",
Help_ajaxTotalItems:"There is a maximum of a 100 images per gallery for now. Please create a new gallery.",Help_other:"An unknown error has occured. Please try again later.",Help_FAQLink:"<br/><br/>More information can be found in our "+aa({name:"FAQ",url:"portal.eightpage.com?content=faq"})+".",Help_FAQImgUploadingLink:"<br/><br/>Tips and tricks for uploading images can be found "+aa({name:"in our FAQ",url:"portal.eightpage.com?content=faq#functions8"})+".",Help_VideoEmbedding:'Copy the "embed link" from your video provider in here.',
Help_VideoProvider:"You can find videos at the following sites:<br/>"+aa({name:"www.youtube.com"})+"<br/>"+aa({name:"www.vimeo.com"})+"<br/>"+aa({name:"www.metacafe.com"})+"<br/>"+aa({name:"www.dailymotion.com"})+"<br/>"+aa({name:"www.veoh.com"})+"<br/>"+aa({name:"vids.myspace.com"})+"<br/>and many more platforms",Help_WorldVisible:"All eightpage users worldwide can be found in the  "+aa({name:"eightpageworld",url:"www.eightpageworld.com"})+".<br/><br/>You can set here whether you want to be visible in there or not.",
Text_Video_Status_Ok:"Ok. Video data accepted.",Text_Video_Status_NotSupported:"Error: Video site is not supported.",Text_Video_Status_NotRecognized:"Error: Embed link could not be interpreted. Please try another embed code.",TT_MB_Mode_View:"switch to view mode",TT_MB_Mode_Edit:"switch to edit mode",TT_MB_Mode_Add:"add content",TT_LB_delete:"delete",TT_LB_prevImg:"previous image",TT_LB_nextImg:"next image",TT_LB_startSlideShow:"Start slideshow",TT_LB_stopSlideShow:"Stop slideshow",TT_LB_close:"close"}}
var g={};return{getLocalizedString:a,getLocalizedString12:b,initLocalStrings:c}}();(function t(a){function b(z,y){y=y||{};s&&clearInterval(s);var I=z==window,E=y.message!==undefined?y.message:undefined,v=E?typeof E=="object"?"obj":"string":"noMsg";v=="obj"&&a.extend(true,a.blockUI.defaults.css,a.blockUI.defaults.cssObj);v=y.msgFixed!==false?true:false;G=y.xOff||0;F=y.yOff||0;y=a.extend(true,{},a.blockUI.defaults,y);var C=y.css,D=y.clonePosObj;if(D)v=false;var P=y.onMsgIn;if(E&&typeof E!="string"&&
(E.parentNode||E.jquery)){var T=E.jquery?E[0]:E,U={};a(E).data("blockUI.history",U);U.el=T;U.parent=T.parentNode;U.display=T.style.display;U.position=T.style.position;U.parent.removeChild(T)}var W=y.baseZ,ja=a("<div>").addClass("idBlockUIContainer");T=a.browser.msie?a('<iframe class="blockUI" style="z-index:'+W++ +';border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="javascript:false;"></iframe>'):a('<div class="blockUI" style="display:none"></div>');U=a('<div class="blockUI" style="z-index:'+
W++ +';cursor:wait;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');U.hide();if(!y.applyPlatformOpacityRules||!(a.browser.mozilla&&/Linux/.test(navigator.platform)))U.css(y.overlayCSS);U.css("position",I?"fixed":"absolute");a.browser.msie&&T.css("opacity","0.0");ja.append(T).append(U).appendTo(I?"body":z);U.fadeIn(400);W=I?!v?a('<div class="blockUI blockMsg blockPage" style="z-index:'+W++ +';position:absolute;"></div>'):a('<div class="blockUI blockMsg blockPage" style="z-index:'+
W++ +';position:fixed;"></div>'):a('<div class="blockUI blockMsg blockElement" style="z-index:'+W++ +';display:none;position:absolute;"></div>');if(E)u=W;E&&W.css(C).hide();ja.append(W);if(q){I&&y.allowBodyStretch&&a.boxModel&&a("html,body").css("height","100%");if((q||!a.boxModel)&&!I){C=l(z,"borderTopWidth");ja=l(z,"borderLeftWidth");var da=C?"(0 - "+C+")":0,H=ja?"(0 - "+ja+")":0}a.each([T,U,W],function(N,S){S=S[0].style;S.position="absolute";if(N<2){I?S.setExpression("height",'document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px"'):
S.setExpression("height",'this.parentNode.offsetHeight + "px"');I?S.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):S.setExpression("width",'this.parentNode.offsetWidth + "px"');H&&S.setExpression("left",H);da&&S.setExpression("top",da)}else if(y.centerY){I&&S.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"');
S.marginTop=0}})}j(1,z,y);a(window).bind("resize",p);if(I){W.append(E).show();if(v)if(D)W.clonePos(D,{windowFixed:true});else{if(y.centerX&&y.centerY)if(E)if(E.not(":visible")){E.show();W.setPosTo(a(window),"CENTERX","CENTERY");E.hide()}else W.setPosTo(a(window),"CENTERX","CENTERY")}else{if(D){W.clonePos(D,{xOff:G,yOff:F});B=D}if(u)s=window.setInterval(f,20)}if(E&&(E.jquery||E.nodeType))P&&P();r=W[0];x=a(":input:enabled:visible",r);y.focusInput&&setTimeout(m,20)}else{k(W[0],y.centerX,y.centerY);W.append(E).show()}}
function c(z,y){var I=z==window,E=a(y.msgObj).data("blockUI.history");s&&clearInterval(s);B=u=null;F=G=0;y=a.extend({},a.blockUI.defaults,y||{});j(0,z,y);var v=I?a("body").find(".idBlockUIContainer"):a(".idBlockUIContainer",z);if(y.msgObj)v=y.msgObj.parents(".idBlockUIContainer");if(I)r=x=null;if(y.fadeOut){v.find(".blockMsg").fadeOutXB(y.fadeOut);v.fadeOutXB(y.fadeOut,function(){g(v,E,y,z);y.callback&&y.callback.call()})}else{g(v,E,y,z);y.callback&&y.callback.call()}}function g(z,y,I,E){z.each(function(){this.parentNode&&
this.parentNode.removeChild(this)});if(y&&y.el){y.el.style.display=y.display;y.el.style.position=y.position;y.parent.appendChild(y.el);a(y.el).removeData("blockUI.history")}typeof I.onUnblock=="function"&&I.onUnblock(E,I)}function j(z,y,I){var E=y==window;y=a(y);if(!(!z&&(E&&!r||!E&&!y.data("blockUI.isBlocked")))){E||y.data("blockUI.isBlocked",z);E="mousedown mouseup keydown keypress click";z?a(document).bind(E,I,h):a(document).unbind(E,h)}}function h(z){if(z.which&&z.which==9)if(r&&z.data.constrainTabKey){var y=
x,I=!z.shiftKey&&z.target==y[y.length-1],E=z.shiftKey&&z.target==y[0];if(I||E){setTimeout(function(){m(E)},10);return false}}if(a(z.target).parents("div.blockMsg").length>0)return true;return a(z.target).parents().children().filter("div.blockUI").length==0}function m(z){if(x)(z=x[z===true?x.length-1:0])&&z.focus()}function k(z,y,I){var E=z.parentNode,v=z.style,C=(E.offsetWidth-z.offsetWidth)/2-l(E,"borderLeftWidth");z=(E.offsetHeight-z.offsetHeight)/2-l(E,"borderTopWidth");if(y)v.left=C>0?C+"px":
"0";if(I)v.top=z>0?z+"px":"0"}function l(z,y){return parseInt(a.css(z,y))||0}function f(){var z=u.isInViewport(),y=0;y=u.top();if(z.yTop==-1&&z.yBot==1||z.yTop==0&&z.yBot==0)y=G8.ax_jqxtnd.windowScrollTop();else if(z.yTop==0&&z.yBot==1||z.yTop==1&&z.yBot==1)y=u.top();else if(z.yTop==-1&&z.yBot==0||z.yTop==-1&&z.yBot==-1)y=u.top()+u.height()-z.viewportHeight;z=15;var I=G8.ax_jqxtnd.windowScrollTop();y=I+Math.round((y-I)/z);G8.ax_jqxtnd.windowScrollTop(y)}function p(){u&&B&&u.clonePos(B,{xOff:G,yOff:F})}
a.blockUI=function(z){b(window,z)};a.unblockUI=function(z){c(window,z)};a.fn.block=function(z){return this.each(function(){if(a.css(this,"position")=="static")this.style.position="relative";if(a.browser.msie)this.style.zoom=1;b(this,z)})};a.fn.unblock=function(z){return this.each(function(){c(this,z)})};a.blockUI.version=2.08;a.blockUI.defaults={css:{padding:0,margin:0,color:"#000",border:"3px solid #aaa",cursor:"default"},cssObj:{border:0,width:null},overlayCSS:{backgroundColor:"#000",opacity:"0.8"},
baseZ:1E3,centerX:true,centerY:true,allowBodyStretch:true,constrainTabKey:true,fadeOut:400,focusInput:true,applyPlatformOpacityRules:true,onUnblock:null,onMsgIn:null,msgFixed:true};var q=a.browser.msie&&a.browser.version<7,r=null,x=[],s=null,u=null,B=null,G=0,F=0})(jQuery);var O=function t(){function a(f,p){if(m(f))p.afterSuccess&&p.afterSuccess(f);else{l(f,p.dontTrace);p.afterError&&p.afterError(f)}}function b(f,p){p=p||{};if(G8.isLocaltest){f=G8.ax_localTesting.getSimulatedAJAX(f);a(f,p)}else $.post(o.scriptPathUserpage,
f,function(q){q=c(q);a(q,p)})}function c(f){return eval("("+f+")")}function g(f,p){var q={1:"TEXT",2:"VIDEO",3:"GALLERY",4:"BLOGENTRY",5:"FRIEND",6:"COMMENT",7:"PROFILEIMG"},r={0:"OK",1:"WRONG SESSION",2:"ELAPSED SESSION",3:"WRONG LOGIN",4:"LOCKED LOGIN"},x={SELF:1,ALL:2,FRIENDS:3};if(f=="STATE_ERROR")return r[p];else if(f=="PRIVACY_FLAGS")return x[p];else if(f=="FEED_ACTION")return q[p]}function j(f,p){Q.tglPreloader(false);f=w.readObj("json",f);f=f.actionError;if(f==1701){Q.refreshCaptcha(p);ka.markFieldError(p.find(".Vali_captcha"),
"captcha")}}function h(f,p){f=w.readObj("json",f);f=f.actionError;if(f==2){Q.refreshCaptcha(p);ka.markFieldError(p.find(".Vali_email"),"mailMatch")}}function m(f){f=w.readObj("json",f);return f.success==1&&f.actionError==0&&f.actionException==0&&f.stateError==0}function k(f,p){var q=true;p&&$.each(p,function(r,x){if(f==x)return q=false});return q}function l(f,p){var q=w.readObj("json",f);f=q.actionError;var r=q.stateError,x=q.authed;if(x==0){J.tglUserChronjob("logged",false);J.tglUserChronjob("notLogged",
false);p=o.parsedProfileUser.url;ba.gotoUrl("http://"+p)}else if(q.action==27||q.action==3||q.authed!=o.loggedData.userAuthedStatus)if(q.authed<o.loggedData.userAuthedStatus){o.loggedData.userAuthedStatus=q.authed;o.loggedData.loginError=r;J.displayPage();na.handleLoginState()}else{o.loggedData.userAuthedStatus=q.authed;o.loggedData.loginError=r}else if(k(f,p)){p=n("HL_BP_ajaxError");f=n("Text_BP_ajaxError",f);Q.alertt({headline:p,msg:f})}}return{post:b,jsonToObj:c,getAjaxConst:g,handleCaptchaError:j,
handlePWRestoreEmailError:h,isSuccess:m,traceAjaxError:l}}(),la=function t(){function a(c,g,j){g.data("pMapping_"+c,j)}function b(c,g){return g.data("pMapping_"+c)}return{setJDomToObjMapping:a,getJDomToObjMapping:b}}(),fa=function t(){function a(){var l=arguments,f=l[0];l=l[1]!=undefined?G8.ax_jqxtnd.arrayCutFirst(l).join(""):"";var p=f.cl?' class="'+f.cl+'"':"",q=f.id?' id="'+f.id+'"':"",r=f.pos?"position:"+f.pos+";":"";f=f.hid?"display:none;":"";f=r!=""||f!=0?' style="'+r+f+'"':"";return"<div"+
q+p+f+">"+l+"</div>"}function b(l,f,p,q){return g("static",l,f,p,q)}function c(l,f,p,q){return g("theme",l,f,p,q)}function g(l,f,p,q,r){f=f?ba.prefixSrc(l,f):"";p=p?' class="'+p+'"':"";q=q?' alt="'+X.strToAlt(q)+'"':"";r=r?' id="'+r+'"':"";o.Preloading.collectEssentials&&oa.addStackEssentialImg(f);return'<img src="'+f+'"'+p+q+r+" />"}function j(){var l=arguments,f=l[0];l=l[1]?G8.ax_jqxtnd.arrayCutFirst(l).join(""):"";var p=f.cl?' class="'+f.cl+'"':"",q=f.id?' id="'+f.id+'"':"";if(f.e=="inp")return'<input type="text"'+
p+q+" />";else if(f.e=="pw")return'<input type="password"'+p+q+" />";else if(f.e=="txt")return"<textarea"+p+q+"></textarea>";else if(f.e=="sp")return"<span"+p+q+">"+l+"</span>"}function h(){var l=arguments,f=l[0];l=l[1]?G8.ax_jqxtnd.arrayCutFirst(l).join(""):"";var p=f.id?' id="'+f.id+'"':"";f=f.cl?' class="'+f.cl+'"':"";return"<span"+p+f+">"+l+"</span>"}function m(l){if(!l.url)l.url=l.name;var f=l.id?' id="'+l.id+'"':"",p=l.cl?' class="'+l.cl+'"':"";if(!l.url.hasStr("http://","https://"))l.url="http://"+
l.url;return'<a href="'+l.url+'" target="_blank"'+f+p+">"+l.name+"</a>"}function k(l){l=l||{};if(!l.size)l.size="small";var f=l.size=="small"?"BP_layoutSmall":"BP_layoutBig",p=l.headline!=undefined?e({cl:"BP_contHeadline"},l.headline):"",q=l.content!=undefined?e({cl:"BP_contCenter"},l.content):"";l=l.controls!=undefined?e({cl:"BP_contControls"},l.controls):"";return f='<table class="'+f+' BP"><tr class="BPT"><td class="BPTL"></td><td class="BPTM"></td><td class="BPTR"></td></tr><tr><td class="BPL"></td><td class="BP_contents">'+
p+q+l+'</td><td class="BPR"></td></tr><tr class="BPB"><td class="BPBL"></td><td class="BPBM"></td><td class="BPBR"></td></tr></table>'}return{makeDiv:a,makeImageStatic:b,makeImageTheme:c,makeImg:g,makeElement:j,makeSpan:h,makeLink:m,makeBP:k}}(),V=function t(){function a(k,l){var f=l.index(k);k=f>0?w.getEEId(l.eq(f-1)):0;l=f<l.length-1?w.getEEId(l.eq(f+1)):0;return{poslast:k,posnext:l}}function b(k){var l=k.data.show,f=k.data.cssClass;k=k.data.parentSelector?$(this).parents(k.data.parentSelector).find(k.data.tglObjSelector):
$(this);k.tglClass(f,l)}function c(k,l){l=Math.round((k.length-1)*l);return $.isArray(k)?k[l]:k.eq(l)}function g(k,l){return{x:k.pageX-l.left(),y:k.pageY-l.top()}}function j(k){return{x:k.pageX-ta.scrollLeft(),y:k.pageY-ta.scrollTop()}}function h(k,l,f){var p=f.eq(0),q,r;f.each(function(){var x=$(this),s=x.top(),u=s+x.height();if(l>=s)p=x;r=l>u?true:false});if(r)p=false;else q=l<p.top()+p.height()/2?"before":"after";return{object:p,position:q}}function m(k,l){k=l?k.find(l):k;return $.trim(k.val())}
return{getNeighborIds:a,tglHoverClass:b,pickItemByPercent:c,getRelativeMouse:g,getViewportMouse:j,mouseOverObj:h,readFormVal:m}}(),w=function t(){function a(j,h){var m;if(j=="elementJ")m=a("element",a("json",h).element);else if(j=="element")m={id:h[0],type:h[1],mode:h[2],privacy:h[3],view:h[4],totalComments:h[10],children:h[11],dom:h[12],value1:String(h[13])||false,line1:String(h[14])||false,line2:String(h[15])||false,text1:String(h[16])||false,date1:h[15]||false};else if(j=="feedElement"){var k=
[];$.each(h[6],function(l,f){k.push(a("feedElement",f))});m={id:h[0],type:h[1],mode:h[2],privacy:h[3],totalComments:h[5],children:k,value1:h[7]||false,line1:String(h[8])||false,line2:String(h[9])||false,text1:String(h[10])||false,date1:h[9]||false}}else if(j=="json")m={action:h.ACTION,stateError:h.STATE_ERROR,actionError:h.ACTION_ERROR,actionException:h.ACTION_EXCEPTION,success:h.SUCCESS,element:h.ELEMENT,authed:h.AUTHED,themeId:h.THEME?h.THEME.ID:null,faviconPath:h.PROFILE?g("share",h.PROFILE[4],
"normal"):null,userImgPath:h.PROFILE?g("share",h.PROFILE[5],"normal"):null,loggedData:h.LOGGED_DATA,hitCountVars:h.HITCOUNT,comment:h.COMMENT};else if(j=="friendsJ")m={totalFriends:h.FRIENDS.totalFriends,users:h.FRIENDS.users};else if(j=="user"){h=h||[];m={id:h[0],url:h[1],name:String(h[2]),imgId:h[3],lastUpdated:h[4],UPState:h[5],fState:h[6]}}else if(j=="dialogsJ")m={totalDialogs:h.DIALOGS.totalDialogs,dialogs:h.DIALOGS.dialogs,totalNewMessages:h.DIALOGS.totalNewMessages,totalMessages:h.DIALOGS.totalMessages};
else if(j=="dialog")m={user:a("user",h.user),totalNewMessages:h.totalNewMessages,totalMessages:h.totalMessages,messages:h.messages};else if(j=="message")m={mid:h[0],uidSend:h[1],uidReci:h[2],state:h[3],date:h[4],subject:String(h[5]),text:h[6]?String(h[6]):""};else if(j=="friendsfeedJ")m={totalNews:h.FRIENDSFEED.totalNews,news:h.FRIENDSFEED.news};else if(j=="news")m={nid:h[0],uid:h[1],content:h[2],contentType:h[3],feedAction:O.getAjaxConst("FEED_ACTION",h[4]),date:h[5]};else if(j=="cmtEntryObj")m=
{id:b(h),text:h.find(".CM_entryText").html(),userImgId:c(h.find(".CM_entryUserImg img")),userName:h.find(".CM_entryUsername").html()};else if(j=="commentsJ")m={totalComments:h.COMMENTS.totalComments,totalCBComments:h.COMMENTS.totalCBComments,comment:h.COMMENTS.comment,comments:h.COMMENTS.comments};else if(j=="comment")m={id:h[0],userData:a("user",h[1]),date:h[2],text:String(h[3]),commentedElement:h[4]?a("feedElement",h[4]):false,commentedUser:h[5]?a("user",h[5]):false};else if(j=="CB")m={id:h[0],
privacy:h[1],collapsed:h[2]==0,totalComments:h[3]};else if(j=="BEntry")m={id:h[0],date:h[1],headline:h[2],totalComments:h[3]};else if(j=="themePV")m={id:h[0],name:h[1],path:h[2],headerImgs:h[3]};else if(j=="theme"){j=[];for(m=0;m<h[3];m++)j.push(h[4].replace(h[5]+".jpg",m+".jpg"));m={id:h[0],name:h[1],src:h[2],currImgPath:h[4],headerImgs:j}}else if(j=="themeJ")m=a("theme",h.THEME);else if(j=="headerImg")m={id:h[0],src:h[1]};else if(j=="friendshipJ")m={id:h.FRIENDSHIP[0],DOM:h.FRIENDSHIP[7]};else if(j==
"FRequestsJ")m={totalRequests:h.REQUESTS.totalRequests,requests:h.REQUESTS.requests};else if(j=="FRequest")m={userData:a("user",h[0]),text:h[1],date:h[2]};else if(j=="friendObj")m={id:b(h),imgId:c(h.find(".FO_idImgFImg")),url:h.find(".FO_idFUrl").html(),name:h.find(".FO_idFName").html(),fState:ia.getFriendFlag(h)};else if(j=="auth")if(32>h&&h>=16)m="ownerLogged";else if(16>h&&h>=8)m="friendLogged";else if(8>h&&h>=4)m="visitorLogged";else if(4>h&&h>=0)m="notLogged";return m}function b(j){return j.attr("id").replace("db_",
"").replace("dbComment_","").replace("dbHeader_","").replace("dbFriend_","")}function c(j){j=j.srcF();var h=ba.getQueryParam(j,"showimg");if(G8.isLocaltest)return j;return h}function g(j,h,m){j=j=="share"?o.scriptPathShare:o.scriptPathUserpage;j=j+"?action=8&showimg=IMGID&type=IMGTYPE";if(G8.isLocaltest)return h.replace("_normal.jpg","_"+m+".jpg").replace("_thumb.jpg","_"+m+".jpg").replace("_mini.jpg","_"+m+".jpg");return j.replace("IMGID",h).replace("IMGTYPE",m)}return{readObj:a,getEEId:b,getImgId:c,
makeImgPathFromId:g}}(),X=function t(){function a(l){l=l||"";return l.replace(/\[/g,"<").replace(/\]/g,">")}function b(l){l=l||"";return l.replace(/</g,"[").replace(/>/g,"]")}function c(l,f){function p(q){return q<10?"0"+q:q}l=new Date(l*1E3);f=f=="long"?n("Format_dateLong"):n("Format_dateShort");return f.replace("DD",p(l.getDate())).replace("MM",p(l.getMonth()+1)).replace("JJJJ",l.getFullYear()).replace("HH",p(l.getHours())).replace("mm",p(l.getMinutes()))}function g(l,f){var p=l.length>f?"...":
"";return l.substr(0,f)+p}function j(l,f){if(l.width()>f)for(var p=l.html(),q=p,r=0;r<p.split(" ").length;r++){q=m(q);l.html(q);if(l.width()<=f)break}}function h(l){return"<b>"+g(l.name,25)+"</b> ["+l.url+"]"}function m(l){var f=k(l),p=Math.round(f.length/2);return l=l.replace(f,f.slice(0,p)+" "+f.slice(p))}function k(l){l=l.split(" ").sort(function(f,p){return p.length-f.length});return l[0]}return{altToStr:a,strToAlt:b,formatDate:c,shortenText:g,forceLinebreak:j,formatUser:h}}(),ga=function t(){function a(c,
g,j){if(c.data("expanded")){c.slideUp(300).data("expanded",false);b(j,g,false)}else{c.slideDown(300).data("expanded",true);b(j,g,true)}}function b(c,g,j){var h={CB:[n("TT_CB_Tgl_show"),n("TT_CB_Tgl_hide")],allFriends:["",""],comments:[n("TT_CM_Tgl_show"),n("TT_CM_Tgl_hide")],allComments:["",""],PCMS_Reply:[n("TT_MS_Reply_Tgl_show"),n("TT_MS_Reply_Tgl_hide")],PCMS_FullDialog:["",""],PCMS_Dialog:["",""],PCMS_Message:["",""],UL_errorImgList:["",""]};j?g.switchSrc("collapsed_lo.","expanded_lo.").switchSrc("collapsed_hi.",
"expanded_hi.").setAltText(h[c][1]):g.switchSrc("expanded_lo.","collapsed_lo.").switchSrc("expanded_hi.","collapsed_hi.").setAltText(h[c][0])}return{tglBox:a,tglCollapseToggler:b}}(),ba=function t(){function a(j,h){var m=false;if(j.hasStr("?")){j=j.substr(j.indexOf("?")+1);j=j.split("&");$.each(j,function(k,l){k=l.split("=");if(k[0]==h){m=k[1];return false}})}return m}function b(j){function h(m,k){var l=0;for(i=0;i<m.length;++i)l+=m.charCodeAt(i);return Math.ceil(l/m.length%1*k)}return j=o.staticResPaths[h(j,
3)+1]}function c(j,h){var m=j=="staticCSS"?o.staticResPaths[0]:b(h);j=j=="theme"?m+o.themeImgsPathSuffix:m+o.profileImgsPathSuffix;return h.hasStr("file://","http://",o.scriptPathUserpage+"?",o.scriptPathShare+"?","dbressource/",j)?h:j+h}function g(j,h){if(h)window.open(j);else location.href=j}return{getQueryParam:a,getStaticHostBySrcName:b,prefixSrc:c,gotoUrl:g}}(),ua=function t(){function a(){var k=new Date,l=setInterval(function(){if($("a.fvd_ytl").length){$("a.fvd_ytl").parent().remove();clearInterval(l)}else{var f=
new Date;f-k>2E3&&clearInterval(l)}},100)}function b(){if($.browser.msie){$("body").addClass("XB_msie");var k=$(e({cl:"BP_warningsBox"},e({cl:"BP_contHeadline"},n("HL_BP_msieDetect"))+e({cl:"BP_contCenter"},e({cl:"BP_centered"},n("Text_BP_msieDetect"),e({id:"Page_MsieBrowserIcons"},aa({name:A("icon_get_ff.png","iActObj","Firefox"),url:"http://www.firefox.com"}),aa({name:A("icon_get_gc.png","iActObj","Google Chrome"),url:"http://www.google.com/chrome"}),aa({name:A("icon_get_sf.png","iActObj","Apple Safari"),
url:"http://www.apple.com/safari"}))))));J.appendPageWarnings(k)}}function c(k){if($.browser.msie){k=k||Z;var l=ba.prefixSrc("static","blank.gif");k.find(".fixPNGImg").each(function(){var f=$(this),p=f.attr("src");f.attr("src",l).css("filter","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+p+"',sizingMethod='scale')")});k.find(".fixPNGBg").each(function(){var f=$(this),p=f.css("background-image");bgImgSrc=p.match(/[^(url\()]\S*[^\)]/);if(bgImgSrc!=""&&this.runtimeStyle)f.get(0).runtimeStyle.filter=
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+bgImgSrc+"',sizingMethod='scale')"})}}function g(){return navigator.userAgent.indexOf("Chrome")!=-1}function j(){return navigator.userAgent.indexOf("Safari")!=-1}function h(){return navigator.userAgent.indexOf("iPhone")!=-1}function m(){if(navigator.userAgent.hasStr("Windows NT 7","Windows NT 6")){var k=$(".Profile_idSlogan").html();k&&k.indexOf('"')==0&&$(".Profile_idSlogan").html(k.substr(1,k.length-2))}}return{removeFlvPlugLinks:a,handleDetectCrossbrowser:b,
fixPNGs:c,isChrome:g,isSafari:j,isIPhone:h,fixProfileSlogan:m}}(),L=function t(){function a(){var s=e({id:"TT_StandTT",pos:"absolute",hid:true},e({cl:"TT_content idContents"})+e({cl:"TT_ttTL"})+e({cl:"TT_ttTR"})+e({cl:"TT_ttBL"})+e({cl:"TT_ttBR"})+e({cl:"clr"}));o.initDOMString+=s}function b(){var s=["TT_StandTT"];J.setDOMReference(s)}function c(s,u,B){if(B=="lightbox")u?$("#LBImg").stopp().fadeTo(500,0.3):$("#LBImg").stopp().fadeTo(500,1);else $.browser.msie||(u?s.stopp().fadeTo(500,0.3):s.stopp().fadeTo(500,
1))}function g(s){var u=770;s=s.data.show;var B=$(this);B.find(".Act_idFadeImgLo");B=B.find(".Act_idFadeImgHi");s?B.tglFadeIn(u):B.tglFadeOut(u)}function j(s){var u=40,B="[...]",G=s.html().br2nl(),F=/\b((((http|https):\/\/)?www)|(http|https))\S+\b/g;G=G.replace(F,function(z){z=!z.hasStr("http://","https://")?"http://"+z:z;var y=z.replace("http://","").replace("https://","");y=y.indexOf("www.")==0?z.replace("http://","").replace("https://",""):z;if(y.length>u)y=y.substr(0,u)+B;return'<a href="'+z+
'" target="_blank">'+y+"</a>"});F=/\b\S+@\S+/g;G=G.replace(F,function(z){return'<a href="mailto:'+z+'">'+z+"</a>"});s.html(G.nl2br())}function h(s){function u(){$(this).addClass("linkHi")}function B(){$(this).removeClass("linkHi")}s.bind("mouseenter",u).bind("mouseleave",B)}function m(s){return s=s.isChildOf("#UB,.BP,#LB_Popup,#Notify")?true:false}function k(s){var u=$(this),B=s.data&&s.data.mode||"standard",G=s.data&&s.data.imgObj?s.data.imgObj:u.hasClass("EE_galImg")?u.find(".EE_OBJ"):u,F=s.data&&
s.data.imgObj!=undefined,z=d.TT_StandTT;z.tglClass("nonTheme",m(u));u=V.getRelativeMouse(s,G);if(!G.isDisbld())if(!($.browser.msie&&$.browser.version<8)){var y=G.getAltText();if(y&&y!=""){var I=$(".idContents",z);if(B=="imageTitle")y+=" ("+M("infoicon_theme_comment_tt.png")+G.parent().getIdFromClass("tCmt_")+")";I.html(y);B=F?G.parent().parent():G.parent();z.prependTo(B).tglFadeInXB(300).cloneDim(I,{margin:true});B=I.width();I=I.height();s=V.getViewportMouse(s);F=ta.height();y=ta.width();B=s.x<y-
(B+50)?10:-B-30;s=s.y<F-(I+50)?10:-I-30;z.setPosTo(G,["LEFTI",u.x+B],["TOPI",u.y+s]);Z.bind("mousemove",{ttDiv:z,imgObj:G,xOff:B,yOff:s},l)}}}function l(s){var u=s.data.ttDiv,B=s.data.imgObj,G=s.data.xOff,F=s.data.yOff;s=V.getRelativeMouse(s,B);u.setPosTo(B,["LEFTI",s.x+G],["TOPI",s.y+F])}function f(){$(this);if(!($.browser.msie&&$.browser.version<8)){var s=d.TT_StandTT;Z.unbind("mousemove",l);s.is(":visible")&&s.tglFadeOutXB(300,function(){$(this).hide()})}}function p(){var s=$(this);s.isDisbld()||
s.isActImg()||s.setImgHi()}function q(){var s=$(this);s.isDisbld()||s.isActImg()||s.setImgLo()}function r(s){if(s==undefined)s=Z;$Self("img.iActObj, a.iActObj",s).addClass("iRollover").bind("mouseenter",k).bind("mouseleave",f).bind("mouseenter",p).bind("mouseleave",q);s.setImgLo_HiOnly()}function x(s){function u(B){var G=$(this).find(".Act_idFadeImgLo");B.target!=G[0]&&G.trigger("click")}if(s==undefined)s=Z;$Self("img.iFadeImg",s).filter(function(){return $(this).parents(".Act_idImgCrossfader").length==
0}).filter(function(){var B=$(this);if($.browser.msie&&B.hasClass(".noFadeMsie")){B.bind("mouseenter",k).bind("mouseleave",f);return false}else return this}).wrap(e({cl:"Act_idImgCrossfader"})).parent().bind("mouseenter",{show:true},g).bind("mouseleave",{show:false},g).each(function(){var B=$(this),G=B.find(".iFadeImg");B.width(G.width()).height(G.height()).bind("mouseenter",{imgObj:G},k).bind("mouseleave",{imgObj:G},f).bind("click",u)}).find(".iFadeImg").each(function(){var B=$(this);B.clone().hide().appendTo(B.parent()).addClass("Act_idFadeImgHi").switchSrc("_lo.",
"_hi.");B.addClass("Act_idFadeImgLo")})}G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{bindLinkStyle:h,ent_tt:k,lea_tt:f,extendTextLinks:j,extendHoverAndTt:r,extendFadeImgs:x,tglObjToDelete:c}}(),Ea=function t(){function a(v,C){K.isOwner()&&$Self(".EE_video",C).each(function(){new Ua($(this))})}function b(){if(K.isOwner()){var v="";v+=e({id:"Video_Edit",hid:true},e({id:"Video_EditInfo"},e({id:"Video_EditInfoText"},n("Text_Video_insertVideolink"),e({cl:"Help_infoBtnReplace"})))+
ca({e:"inp",id:"Video_Edit_Input"})+e({id:"Video_EditStatus"})+e({cl:"GEN_editControls"},M("icon_theme_ok_lo.png","idBtnOk iActObj",n("TT_GEN_save")),M("icon_theme_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel"))));o.initDOMString+=v}}function c(){if(K.isOwner()){var v=["Video_Edit","Video_Edit_Input","Video_EditStatus"];J.setDOMReference(v);j()}}function g(v){E=v}function j(){Ia.extendInfoBtn(d.Video_Edit.find(".Help_infoBtnReplace"),"videoEmbedding","theme");d.Video_Edit_Input.bind("click",
G).bind("change",x).bind("keyup",s).bind("focus",u).bind("blur",B);d.Video_Edit.find(".idBtnOk").bind("click",F).end().find(".idBtnCancel").bind("click",z)}function h(){j();k();return d.Video_Edit}function m(){return d.Video_Edit}function k(){Ia.resetInfoTTs(d.Video_Edit);p();l(false);d.Video_Edit_Input.val("")}function l(v){v?d.Video_Edit.find(".GEN_editControls").show():d.Video_Edit.find(".GEN_editControls").hide();E.setForceKeepOpen(v)}function f(v,C){if(v.attr("data")!=C)if($.browser.msie){C=
I(C,"normal");v.after(C).remove();E.setNewFlashObj()}else{v.attr("data",C).find("param[name=movie]").attr("value",C);if(ua.isChrome()||ua.isSafari())v.hide().show()}}function p(v){v=v=="ok"?n("Text_Video_Status_Ok"):v=="notSupported"?n("Text_Video_Status_NotSupported"):v=="notRecognized"?n("Text_Video_Status_NotRecognized"):"";d.Video_EditStatus.html(v)}function q(){var v=E.getFlashObj(),C=E.getOrigUrl();f(v,C)}function r(){var v=d.Video_Edit_Input.val(),C=G8.ax_jqxtnd.readEmbedVideo(v);v=E.getFlashObj();
if(C.dataState=="ok"){p("ok");C=C.url;f(v,C)}else if(C.dataState=="notSupported"){q();p("notSupported")}else{q();p("notRecognized")}l(true)}function x(){r()}function s(){r()}function u(){l(true)}function B(){d.Video_Edit_Input.val()==""&&l(false)}function G(){$(this).select()}function F(){var v=d.Video_Edit_Input.val();v=G8.ax_jqxtnd.readEmbedVideo(v);var C=E.getFlashObj();if(v.dataState=="ok"){var D=E.getDbId(),P=v.url;f(C,P);O.post({id:D,action:9,type:5,value1:P},{afterError:function(){q()},afterSuccess:function(){E.saveNewUrl(P)}})}y()}
function z(){q();y()}function y(){k();d.Video_Edit_Input.val("")}function I(v,C){var D={normal:{width:600,height:361},thumb:{width:216,height:130}},P={allowScriptAccess:"never",allowNetworking:"internal",wmode:"transparent",allowFullScreen:"true"},T=D[C].width;C=D[C].height;var U="",W="";$.each(P,function(ja,da){U+=" "+ja+'="'+da+'"';W+='<param name="'+ja+'" value="'+da+'" />'});P="";P+='<object width="'+T+'" height="'+C+'" data="'+v+'" type="application/x-shockwave-flash"'+U+">";P+='<param name="movie" value="'+
v+'" />';P+=W;P+="</object>";return P}var E;G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c).bind("extendEE",a);return{makeEmbedMarkup:I,getFreshControls:h,getControls:m,setCurrVideoObj:g}}(),Ua=function(t){var a=this;a._glo_jDomObj=t;t.wrap('<div class="Video_editBox"></div>').bind("mouseenter",{show:true,thiss:a},a._hov_tglEditPane);a._glo_wrapBox=t.parent(".Video_editBox").bind("mouseleave",{show:false,thiss:a},a._hov_tglEditPane).bind("mouseenter",{show:true,thiss:a},
a._hov_tglEditPane);a._glo_editPane=$('<div class="Video_editPane"></div>').hide().insertBefore(t);L.extendHoverAndTt(t.add(a._glo_editPane));a._glo_flashObj=a._glo_jDomObj.find("object");a._glo_origUrl=G8.ax_jqxtnd.readEmbedVideo(a._glo_jDomObj.outerHtml()).url;a._glo_dbId=w.getEEId(a._glo_jDomObj);a._glo_contextMenuIsOpen=false};Ua.prototype={_hov_tglEditPane:function t(a){var b=a.data.thiss;if(J.isInEditMode()){a=a.data.show;var c=b._glo_editPane;if(a){Ea.setCurrVideoObj(b);if(c.is(":hidden")){Ea.getFreshControls().appendTo(b._glo_wrapBox).show();
c.tglFadeInXB(300)}}else if(!b._glo_contextMenuIsOpen){Ea.setCurrVideoObj(false);Ea.getControls().tglFadeOutXB(250);c.tglFadeOutXB(250)}}},saveNewUrl:function t(){var a=this;a._glo_origUrl=G8.ax_jqxtnd.readEmbedVideo(a._glo_jDomObj.outerHtml()).url},getFlashObj:function t(){var a=this;return a._glo_flashObj},setNewFlashObj:function t(){var a=this;a._glo_flashObj=a._glo_jDomObj.find("object")},getOrigUrl:function t(){var a=this;return a._glo_origUrl},getDbId:function t(){var a=this;return a._glo_dbId},
setForceKeepOpen:function t(a){var b=this;b._glo_contextMenuIsOpen=a}};var za=function t(){function a(){if(K.isOwner()){var H="";H+=e({id:"UL_FlashUL",hid:true});H+=e({id:"PopUL_Status",hid:true},fa.makeBP({headline:n("HL_BP_UL_uploadImgs"),content:e({cl:"BP_centered"},e({id:"UL_Bar"},e({id:"UL_BarMover"}),e({id:"UL_BarCover"})),e({id:"UL_Status"}),e({id:"UL_HelpInfo"},n("Text_UL_Helpinfo")),e({id:"UL_ErrorInfo"})),controls:A("icon_bp_ok_lo.png","idBtnOk iActObj",n("TT_GEN_close"))+A("icon_bp_cancel_lo.png",
"idBtnStop iActObj",n("TT_BP_cancelUpload"))}));H+=e({id:"UL_PopPredialog",hid:true},fa.makeBP({headline:n("HL_BP_UL_selectImgToUpload"),content:e({cl:"BP_centered"},n("Text_BP_UL_selectImgToUpload")),controls:A("icon_bp_upload_lo.png","idBtnUpload iActObj",n("TT_BP_upload"))+A("icon_bp_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel"))}));o.initDOMString+=H}}function b(){if(K.isOwner()){var H=["PopUL_Status","UL_PopPredialog","UL_FlashUL","UL_ErrorInfo","UL_Status","UL_Bar","UL_BarMover"];
J.setDOMReference(H);d.UL_FlashUL.append(e({cl:"idFlashVersionNotAvailable"})).flashembed({src:o.profileData.resPath.replace("www.eightpage.com",o.parsedProfileUser.url)+"func/upload_applet.swf",allowScriptAccess:"always",allowNetworking:"all",wmode:"transparent",version:[o.flashVersion]});ja=d.UL_FlashUL.find("object")[0];J.doFlashDetection(d.UL_FlashUL)}}function c(H){D=H;var N=d.UL_PopPredialog.find(".idBtnUpload");Q.tglAlert(true,d.UL_PopPredialog,{callback:function(){d.UL_FlashUL.appendTo(N.parent()).setPosTo(N,
"LEFTI","TOPI").cloneDim(N).show()}})}function g(){Q.tglAlert(false,d.UL_PopPredialog)}function j(){var H=$(this);h(H)}function h(H){E||d.UL_FlashUL.appendTo(H).setPosTo(H,"LEFTI","TOPI").cloneDim(H).show()}function m(){E=true;var H;d.UL_PopPredialog.is(":visible")&&!$.browser.msie&&d.UL_PopPredialog.opacity(0);if(D=="profileImg"){U="single";var N=w.getEEId(d.ProfileImg);H={action:9,id:N,value1:"Filedata"}}else if(D=="favicon"){U="single";H={action:7,icon:"Filedata"}}else if(d.UL_FlashUL.isOrIsChildOf(d.HeadImg_Upload)){U=
"single";D="headerImg";H={action:17,header:"Filedata"}}else if(d.UL_FlashUL.isChildOf(".EE_CBText")){U="multi";D="addTextImg";N=d.UL_FlashUL.parents(".EE_CBText");H=R("Contentblock",N);H=H.getId();H={action:10,type:4,parent:0,parentblock:H,poslast:0,posnext:0,value1:"Filedata"};da=N}else if(d.UL_FlashUL.isChildOf(".EE_CBBlog")){U="multi";D="addBlogImg";N=d.UL_FlashUL.parents(".EE_CBBlog");H=R("Contentblock",N);H=H.getId();var S=N.find(".BE_idBE");S=w.getEEId(S);H={action:10,type:4,parent:S,parentblock:H,
poslast:0,posnext:0,value1:"Filedata"};da=N}else if(d.UL_FlashUL.isChildOf(".EE_CBGal")){U="multi";D="addGalImg";N=d.UL_FlashUL.parents(".EE_CBGal");H=R("Contentblock",N);H=H.getId();H={action:10,type:4,parent:0,parentblock:H,poslast:0,posnext:0,value1:"Filedata"};da=N}N=!G8.isLocaltest?G8.ax_jqxtnd.cookie("PREF"):"";U=="single"?y(n("Text_UL_Status_PleaseSelectSingle")):y(n("Text_UL_Status_PleaseSelectMulti"));W=[];v=C=0;P=false;d.UL_ErrorInfo.html("").hide();d.UL_Bar.show();d.UL_BarMover.width(0);
d.PopUL_Status.find(".idBtnOk,.idBtnStop").hide();return{multimode:U,ajaxParams:H,PREF:N,maxFileSize:o.UL.maxFileSize,selectWinFilterText:o.UL.selectWinFilterText,selectWinFilterExts:o.UL.selectWinFilterExts}}function k(){y(n("Text_UL_Status_SelectCanceled"));F()}function l(H,N){function S(){W=N;C=H;if(C==0){var ya=W.join(", ");I("fileSize",{imageList:ya});y(n("Text_UL_Status_NothingSelected"));G()}else if(W.length>0){ya=W.join(", ");I("fileSize",{imageList:ya})}Q.tglAlert(true,d.PopUL_Status)}var pa=
1;if(D=="addGalImg")pa=o.maxContents.totalImgsInGallery-da.find(".EE_galImg").length;else if(D=="addBlogImg")pa=o.maxContents.totalImgsInBentry-da.find(".EE_blogImg").length;else if(D=="addTextImg")pa=o.maxContents.totalImgsInTextCb-da.find(".EE_textCbImg").length;pa<H?Q.confirmm({headline:D=="addGalImg"?n("HL_UL_PreInfo_tooMuchImgsInGallery"):n("HL_UL_PreInfo_tooMuchImgsInBEntry"),contentText:D=="addGalImg"?n("Text_UL_PreInfo_tooMuchImgsInGallery",pa):n("Text_UL_PreInfo_tooMuchImgsInBEntry",pa),
okTitle:n("TT_UL_PreInfo_upload"),okAction:function(){S()},cancelTitle:n("TT_UL_PreInfo_noUpload"),cancelAction:function(){G()}}):S()}function f(H,N,S){if(H=="errorSecurity")S="Flash Securtiy";else if(H=="errorHTTP")S="Flash HTTP";else if(H=="errorIO")S="Flash IO";I("other",{imageList:N,errorDetails:S})}function p(H){I("other",{imageList:H,errorDetails:"Flash General"});F()}function q(){r();y(n("Text_UL_Status_LoadingImg",1,C,""));U=="multi"&&d.PopUL_Status.find(".idBtnStop").show().bind("click",
z)}function r(){function H(){var N=new Date;N=N-T;var S=v/C,pa=(C-v)/C;N=N/S*pa;S=v<C?v+1:v;o.UL.ULTimeLeft=N;y(n("Text_UL_Status_LoadingImg",S,C,s(o.UL.ULTimeLeft)))}T=new Date;o.UL.timeCalcInterval=setInterval(H,500)}function x(){if(o.UL.timeCalcInterval){clearInterval(o.UL.timeCalcInterval);o.UL.timeCalcInterval=false}}function s(H){var N=Math.round(H/1E3);H=Math.floor(N/3600);var S=Math.floor((N-H*3600)/60);N=N-H*3600-S*60;N=N+" sek";if(S>0)N=S+" min "+N;if(H>0)N=H+" h "+N;return N}function u(H,
N){v=H;if(N==1){N=280;d.UL_BarMover.width(Math.round(N*(H/C)));if(H<C)y(n("Text_UL_Status_LoadingImg",H+1,C,s(o.UL.ULTimeLeft)));else{x();y(n("Text_UL_Status_ImgsProcessing"))}}}function B(H,N){H=unescape(H);H=O.jsonToObj(H);var S=w.readObj("json",H);if(O.isSuccess(H))if(D=="profileImg"){N=w.readObj("elementJ",H).value1;N=w.makeImgPathFromId("UP",N,"normal");Pa.changeUploadedProfileImg(N)}else if(D=="favicon"){N=S.faviconPath;Pa.changeUploadedFavicon(N)}else if(D=="addGalImg"){N=w.readObj("elementJ",
H).dom;H=R("Gallery",da);H.addUploadedGalImg(N)}else if(D=="addBlogImg"){N=w.readObj("elementJ",H).dom;H=R("Blog",da);H.addUploadedBlogImg(N)}else if(D=="addTextImg"){N=w.readObj("elementJ",H).dom;H=R("TextCb",da);H.addUploadedTextCbImg(N)}else{if(D=="headerImg"){N=w.readObj("themeJ",H).currImgPath;fb.changeUploadedHeaderImg(N)}}else{P=true;if(S.authed!=0&&S.action!=27){H=S.actionError;if(H==1202||H==1203)S="fileSize";else if(H==1204)S="ajaxFormat";else if(H==3005){S="ajaxTotalItems";z()}else S=H==
1205||H==1206?"ajaxResolution":"other";I(S,{imageList:N,errorDetails:"Ajax "+H})}else O.traceAjaxError(H)}}function G(){x();d.PopUL_Status.find(".idBtnStop").hide();if(D=="addGalImg"){J.initLightbox(da);var H=R("Contentblock",da);H.updateCBTotalItems()}else D=="profileImg"&&Pa.handleProfileImgRatio();if(P){d.UL_Bar.fadeOut(300);d.PopUL_Status.find(".idBtnOk").show();y(n("Text_UL_Status_AllImgsUploadedError"))}else{y(n("Text_UL_Status_AllImgsUploadedSuccess"));Q.tglAlert(false,d.PopUL_Status)}F()}
function F(){if(d.UL_PopPredialog.is(":visible")){d.UL_PopPredialog.opacity(1);g()}E=D=false}function z(){ja.JS_stopUL();G()}function y(H){d.UL_Status.html(H)}function I(H,N){function S(Qa,ma){ma=ma.errorDetails?ma.errorDetails:"";ma=$(e({cl:"UL_errorBox UL_idErrorBox_"+Qa},A("icon_bp_toggle_collapsed_lo.png","iActObj UL_errorToggler UL_idImgListToggler"),n("HL_UL_Error_"+Qa,ma),e({cl:"Help_infoBtnReplace"}),e({cl:"UL_errorBoxImgList",hid:true})));L.extendHoverAndTt(ma);var gb=ma.find(".UL_idImgListToggler"),
hb=ma.find(".UL_errorBoxImgList");Ia.extendInfoBtn(ma.find(".Help_infoBtnReplace"),"ULError_"+Qa,"BP");ma.find(".UL_idImgListToggler").bind("click",function(){ga.tglBox(hb,gb,"UL_errorImgList")});return ma}N=N||{};P=true;d.UL_ErrorInfo.show();var pa=N.imageList?N.imageList+", ":"",ya=d.UL_ErrorInfo.find(".UL_idErrorBox_"+H);if(!ya.length){ya=S(H,N).appendTo(d.UL_ErrorInfo).fadeIn(300);H=d.PopUL_Status.parents(".blockMsg");H.top(H.intCss("top")-15)}ya.find(".UL_errorBoxImgList").append(pa);if(U=="single"){F();
d.PopUL_Status.find(".idBtnOk").show()}}var E,v,C,D,P,T,U,W,ja,da;G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{showULPredialog:c,ent_bindAddBtnFlashHover:j,swf_selectStart:m,swf_selectCanceled:k,swf_selectEnd:l,swf_error:f,swf_generalFail:p,swf_onStart:q,swf_onProgress:u,swf_onServerReturn:B,swf_onEnd:G}}(),Na=function t(){function a(k){k=$(k.target);if(J.isInEditMode())if(k.isChildOf(d.TextCbImg_Cover_Delete.find(".idBtnDelete"))){k=k.parents(".EE_textCbImg");
g(k);return false}else if(k.isChildOf(d.TextCbImg_Cover_Move.find(".idBtnUp"))){k=k.parents(".EE_textCbImg");j(k,"up");return false}else if(k.isChildOf(d.TextCbImg_Cover_Move.find(".idBtnDown"))){k=k.parents(".EE_textCbImg");j(k,"down");return false}}function b(){if(K.isOwner()){var k=e({id:"TextCbImg_Cover",cl:"fixPNGBg",hid:true,pos:"absolute"},e({id:"TextCbImg_Cover_Move"},M("icon_bbar_arrowdown_lo.png","idBtnDown iActObj",n("TT_TextCbImg_moveImgDown")),M("icon_bbar_arrowup_lo.png","idBtnUp iActObj",
n("TT_TextCbImg_moveImgUp"))),e({id:"TextCbImg_Cover_Delete"},M("icon_bbar_delete_lo.png","idBtnDelete iActObj",n("TT_GEN_delete"))));o.initDOMString+=k}}function c(){if(K.isOwner()){d.TextCbImgAddBtnMaster=$(e({cl:"TextCbImg_idBtnAdd"},M("btn_theme_addimg_imgblog_lo.png","iActObj",n("TT_AddImg_uploadNewImgs"))));var k=["TextCbImg_Cover","TextCbImg_Cover_Delete","TextCbImg_Cover_Move"];J.setDOMReference(k);Z.bind("click",a)}}function g(k){k.find(".EE_OBJ");var l=w.getEEId(k);L.tglObjToDelete(k,true);
Q.confirmm({headline:n("HL_BP_Confirm_deleteImg"),okAction:function(){k.removeAni(300);O.post({id:l,action:12})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete(k,false)}})}function j(k,l){if(l=="up"){var f=k.prevAll(".EE_textCbImg");f.length&&h(k,l,f.eq(0))}else{f=k.nextAll(".EE_textCbImg");f.length&&h(k,l,f.eq(0))}}function h(k,l,f){var p=w.getEEId(k),q=k.top()-Z.scrollTop();k.css("height");k.slideUp(300,function(){l=="up"?k.insertBefore(f):k.insertAfter(f);k.slideDown(300);
$("html,body").animate({scrollTop:k.top()-q},120);var r=V.getNeighborIds(k,k.parent().children(".EE_textCbImg"));if(r.poslast==0)r.poslast=w.getEEId(k.parents(".EE_CBText").find(".textCb_colCBLeft .EE_OBJ"));O.post({id:p,action:9,type:4,poslast:r.poslast,posnext:r.posnext})})}function m(k,l){var f=l.find(".TextCbImg_idBtnAdd");if(k){if(!f.length){f=d.TextCbImgAddBtnMaster.clone();f.insertBefore($(".idClr",l)).fadeIn(250);L.extendHoverAndTt(f);f.bind("mouseenter",za.ent_bindAddBtnFlashHover)}}else f.removeAni(300)}
G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c);return{tglBtnAdd:m}}();(function t(){function a(b,c){$Self(".EE_CBText",c).each(function(){new Va($(this))})}G8.globalSubscriber.bind("extendEE",a);return{}})();var Va=function t(a){this._glo_jDomObj=a;la.setJDomToObjMapping("TextCb",a,this);this._glo_id=w.getEEId(a);this._extendTextCbImgs(a);G8.globalSubscriber.bindProxy("extendEE",this._subscriber_cus_extendEE,this)};Va.prototype={_extendTextCbImgs:function t(a){if(K.isOwner()){var b=
this;$Self(".EE_textCbImg",a).each(function(){var c=$(this);new Wa(c,b)})}},_subscriber_cus_extendEE:function t(a,b){a=this._glo_jDomObj;if(a.isOrIsChildOf(b)||b.isOrIsChildOf(a))this._extendTextCbImgs(b)},addUploadedTextCbImg:function t(a){var b=this._glo_jDomObj;R("Contentblock",b);b.find(".EE_textCbImg").each(function(){var c=$(this),g=c.find(".EE_OBJ");if(g.attr("src").hasStr("showimg=4-0")){c.remove();return false}});a=$(a);a.insertBefore($(".TextCbImg_idBtnAdd",b));this._extendTextCbImgs(a);
L.extendHoverAndTt(a)}};var Wa=function t(a){this._glo_jDomObj=a;a.bindProxy("mouseenter",{show:true},this._hov_tglCover,this).bindProxy("mouseleave",{show:false},this._hov_tglCover,this);L.extendHoverAndTt(a)};Wa.prototype={_hov_tglCover:function t(a){var b=this._glo_jDomObj;if(J.isInEditMode())if(a=a.data.show){d.TextCbImg_Cover.prependTo(b).setPosTo(b,"TOPI","LEFTI").tglFadeIn(300);L.extendHoverAndTt(d.TextCbImg_Cover);a=b.parents(".TextCbImg_idDropzone").find(".EE_textCbImg");b=a.index(b);a=a.length;
d.TextCbImg_Cover_Move.find(".idBtnDown").tgl(b<a-1).end().find(".idBtnUp").tgl(b>0)}else d.TextCbImg_Cover.tglFadeOut(250)}};(function t(){function a(j,h){$Self(".EE_txtS,.EE_txtM",h).each(function(){new Xa($(this))})}function b(){if(K.isOwner()){var j=e({id:"TextEdit",hid:true},ca({e:"txt",id:"TextEdit_Input"})+e({cl:"GEN_editControls"},A("icon_edit_ok_lo.png","idBtnOk iActObj",n("TT_GEN_save")),A("icon_edit_cancel_lo.png","idBtnCancel iActObj",n("TT_GEN_cancel"))));o.initDOMString+=j}}function c(){ua.fixProfileSlogan();
if(K.isOwner()){var j=["TextEdit","TextEdit_Input"];J.setDOMReference(j);Z.bind("click",g)}}function g(j){j=$(j.target);if(J.isInEditMode())if(j.isChildOf(".EE_txtS:not(.idClpsdHl)")){j=j.parentsSelf(".EE_txtS");j=la.getJDomToObjMapping("editableText",j);j.startTextEdit();return false}else if(j.isChildOf(".EE_txtM")){j=j.parentsSelf(".EE_txtM");j=la.getJDomToObjMapping("editableText",j);j.startTextEdit();return false}}G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",
c).bind("extendEE",a);return{}})();var Xa=function t(a){this._glo_jDomObj=a;la.setJDomToObjMapping("editableText",a,this);this._glo_lineMode=a.hasClass("EE_txtS")?"single":"multi";this._glo_elementMode=a.hasClass("BE_idHeader")?"blogEntryHeadline":a.hasClass("BE_idCopy")?"blogEntryCopy":a.hasClass("idGalImgTitle")?"galImgTitle":this._glo_lineMode=="single"?"textSingle":"textMulti";this._glo_isSpecialField=a.hasClass("Profile_idName")?"profileName":a.hasClass("Profile_idSlogan")?"profileSlogan":a.is("h1.EE_txtS")?
"cbHeadline":"";this._glo_id=w.getEEId(a);K.isOwner()&&a.bindProxy("mouseenter",{show:true},this._hov_tglEEText,this).bindProxy("mouseleave",{show:false},this._hov_tglEEText,this);this._glo_lineMode=="multi"&&L.extendTextLinks(a)};Xa.prototype={_hov_tglEEText:function t(a){var b=this._glo_jDomObj;if(J.isInEditMode()&&!b.hasClass("idClpsdHl")){a=a.data.show;if($.browser.msie)a?b.addClass("msieEditableTextHi"):b.removeClass("msieEditableTextHi");else a?b.stopp().delay(200).fadeTo(300,0.65):b.stopp().fadeTo(300,
1)}},startTextEdit:function t(){d.TextEdit_Input.bindProxy("keyup",this._kyU_textEdit,this);d.TextEdit.find(".idBtnCancel").bindProxy("click",this._clk_textEditCancel,this).end().find(".idBtnOk").bindProxy("click",this._clk_textEditSave,this);var a=this._glo_jDomObj;this._glo_origText=a.html();a.find("a").each(function(){var c=$(this),g=c.attr("href");if(g.indexOf("http://")==0||g.indexOf("https://")==0){var j=g.replace("http://","").replace("https://","");j.indexOf("www.")==0?c.html(j):c.html(g)}});
var b=G8.ax_jqxtnd.htmlToInput(a.html());d.TextEdit_Input.cloneAsForm(a,{color:"#FFFFFF"}).val(b);$.blockUI({overlayCSS:{opacity:0.65},message:d.TextEdit,clonePosObj:a,onMsgIn:function(){d.TextEdit.slideDown(300)}})},_saveTextEdit:function t(){var a=this._glo_jDomObj,b="...",c=V.readFormVal(d.TextEdit_Input);if(c=="")c=b;if(this._glo_isSpecialField=="profileSlogan"){if(c.indexOf('"')!=0)c='"'+c;if(c.lastIndexOf('"')!=c.length-1)c+='"'}b=G8.ax_jqxtnd.inputToHtml(c);if(this._glo_elementMode=="galImgTitle"){var g=
$("#LB_Popup").data("origImgDivObj");b=w.getEEId(g);function j(s){g.find(".EE_OBJ").setAltText(s)}j(c);this._endTextEdit();O.post({action:9,type:4,id:b,line1:c},{afterError:function(){j(this._glo_origText)},afterSuccess:function(s){s=w.readObj("elementJ",s).line1;j(s)}})}else if(this._glo_elementMode=="blogEntryHeadline"){var h=a.parents(".EE_CBBlog"),m=w.getEEId(h.find(".BE_idBE")),k=w.getEEId(h);function l(s){a.html(s);ea.modBlogArr(k,"changeEntry",{entryId:m,headline:s});s=R("Blog",h);s.updateBESelector(h.data("currEntryId"))}
l(b);this._endTextEdit();O.post({action:9,type:6,id:m,line1:c},{afterError:function(){l(this._glo_origText)},afterSuccess:function(s){s=w.readObj("elementJ",s).line1;l(s)}})}else if(this._glo_elementMode=="blogEntryCopy"){m=w.getEEId(a.parents(".BE_idBE"));function f(s){a.html(s);L.extendTextLinks(a)}f(b);this._endTextEdit();O.post({action:9,type:6,id:m,value1:c},{afterError:function(){f(this._glo_origText)},afterSuccess:function(s){s=w.readObj("elementJ",s).value1;f(s)}})}else{var p=this._glo_elementMode==
"textSingle"?2:3,q=this._glo_id,r=this;function x(s){a.html(s);if(r._glo_isSpecialField=="profileName"){K.updateUserName(s);xa.resetFirstrunTooltip("profileName")}r._glo_isSpecialField=="profileSlogan"&&ua.fixProfileSlogan();r._glo_elementMode=="textMulti"&&L.extendTextLinks(a)}x(b);this._endTextEdit();O.post({id:q,action:9,type:p,value1:c},{afterError:function(){x(this._glo_origText)},afterSuccess:function(s){s=w.readObj("elementJ",s).value1;x(s)}})}},_endTextEdit:function t(){var a=this._glo_jDomObj;
this._glo_isSpecialField=="cbHeadline"&&a.data("originalText",a.html());$.unblockUI({fadeOut:200,msgObj:d.TextEdit});d.TextEdit_Input.unbind("keyup",this._kyU_textEdit);d.TextEdit.find(".idBtnCancel").unbind("click",this._clk_textEditCancel).end().find(".idBtnOk").unbind("click",this._clk_textEditSave)},_kyU_textEdit:function t(){var a=this._glo_jDomObj,b=d.TextEdit_Input;this._glo_elementMode=="galImgTitle"&&$("#LB_Bar_Meta").show();this._glo_lineMode=="single"&&b.val(b.val().stripNl());a.html(G8.ax_jqxtnd.inputToHtml(b.val())+
"&nbsp;");b.clonePos(a).cloneDim(a,{offHeight:27,offWidth:6})},_clk_textEditSave:function t(){this._saveTextEdit()},_clk_textEditCancel:function t(){var a=this._glo_jDomObj;a.html(this._glo_origText);this._endTextEdit()}};var Pa=function t(){function a(f){f=$(f.target);if(J.isInEditMode())if(f.isChildOf(d.ProfImg_FaviconThumb)){h();return false}else if(f.isChildOf(d.ProfileImg)){j();return false}}function b(){if(K.isOwner()){var f=e({id:"ProfImg_Cover",cl:"iActObj fixPNGBg"},e({id:"ProfImg_FaviconThumb"},
M(o.faviconSrc,"iActObj",n("TT_changeFavicon"),"ProfImg_imgProfImg_FaviconThumb")));o.initDOMString+=f}}function c(){d.ProfileImg=$(".Profile_idUserImg");g();if(K.isOwner()){var f=["ProfImg_FaviconThumb","ProfImg_Cover"];J.setDOMReference(f);d.ProfileImg.bind("mouseenter",{show:true},m).bind("mouseleave",{show:false},m).find(".EE_OBJ").after(d.ProfImg_Cover.hide());d.ProfImg_FaviconThumb.bindTglHoverClass("ProfImg_faviconThumbBgHi");L.extendHoverAndTt(d.ProfileImg);Z.bind("click",a)}}function g(){function f(q){var r=
d.ProfileImg;q.attr("width")>q.attr("height")&&q.attr("width")>0?r.addClass("SHAF_userNormal_Landscape").removeClass("SHAF_userNormal_Portrait"):r.addClass("SHAF_userNormal_Portrait").removeClass("SHAF_userNormal_Landscape")}var p=d.ProfileImg.find(".EE_OBJ");f(p);$("<img />").bind("load",function(){var q=$(this);f(q);q.remove()}).attr("src",p.attr("src"))}function j(){za.showULPredialog("profileImg")}function h(){za.showULPredialog("favicon")}function m(f){if(J.isInEditMode())(f=f.data.show)?d.ProfImg_Cover.stopp().delay(200).tglFadeIn(300):
d.ProfImg_Cover.stopp().tglFadeOut(300)}function k(f){var p=d.ProfileImg;p=p.find(".EE_OBJ");p.srcF(f);xa.resetFirstrunTooltip("profilePic")}function l(f){o.faviconSrc=f;$("link[rel='shortcut icon']").remove();$("<link>").attr({type:"image/x-icon",rel:"shortcut icon",href:o.faviconSrc}).appendTo("head");$("#ProfImg_imgProfImg_FaviconThumb").srcF(o.faviconSrc)}G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c);return{handleProfileImgRatio:g,changeUploadedProfileImg:k,
changeUploadedFavicon:l}}(),fb=function t(){function a(){if(K.isOwner()){var l=e({id:"HeadImg_Cover",pos:"absolute",hid:true},M("cover_theme_header_up.png","","","HeadImg_imgCoverArrowUp"),M("cover_theme_header_down.png","","","HeadImg_imgCoverArrowDown"),e({id:"HeadImg_CoverUp",cl:"iActObj"}),e({id:"HeadImg_CoverDown",cl:"iActObj"}),e({id:"HeadImg_Upload",cl:"iActObj",hid:true}));o.initDOMString+=l}}function b(){if(K.isOwner()){var l=["HeadImg_Cover","HeadImg_CoverUp","HeadImg_CoverDown","HeadImg_Upload",
"HeadImg_imgCoverArrowDown","HeadImg_imgCoverArrowUp","HeadImg_idHeaderImgs"];J.setDOMReference(l);k=j(o.profileData.currHeaderImgId,o.currHeaderImgs);var f="";$.each(o.currHeaderImgs,function(p,q){p=w.readObj("headerImg",q);f+=M(p.src.replace("img/",""),"HeadImg_idSlideImg","","dbHeader_"+p.id)});d.HeadImg_idHeaderImgs.html(f);d.HeadImg_idHeaderImgs.find(".HeadImg_idSlideImg").hide();$("#dbHeader_"+o.profileData.currHeaderImgId).addClass("idSelectedHeader").show();h();d.HeadImg_Cover.appendTo($("#HeadImg_idShadow")).show();
d.HeadImg_imgCoverArrowDown.hide();d.HeadImg_imgCoverArrowUp.hide();d.HeadImg_CoverDown.bind("mouseenter",{show:true,dir:"down"},g).bind("mouseleave",{show:false,dir:"down"},g).bind("click",{dir:"prev"},c);d.HeadImg_CoverUp.bind("mouseenter",{show:true,dir:"up"},g).bind("mouseleave",{show:false,dir:"up"},g).bind("click",{dir:"next"},c);d.HeadImg_Upload.bind("mouseenter",za.ent_bindAddBtnFlashHover)}}function c(l){l=l.data.dir;var f=300,p=d.HeadImg_idHeaderImgs,q=$(".HeadImg_idSlideImg",p),r=q.length,
x=k;$(".idSelectedHeader",p).removeClass("idSelectedHeader");if(l=="next")if(x<r-1){q.eq(x+1).addClass("idSelectedHeader").top(200).show().animate({top:"-=200px"},f,function(){q.filter(":not(.idSelectedHeader)").top(200)});k++}else{q.eq(0).addClass("idSelectedHeader").top(0).show().clone().appendTo(p).removeClass("idSelectedHeader").top(200).show().animate({top:"-=200px"},f,function(){q.filter(":not(:first)").top(200);var s=$(this);s.fadeOut(200,function(){s.remove()})});k=0}else if(l=="prev")if(x>
0){q.eq(x-1).addClass("idSelectedHeader").show().top(0);q.eq(x).animate({top:"+=200px"},f);k--}else{q.eq(r-1).addClass("idSelectedHeader");q.show().top(0);q.eq(0).clone().appendTo(p).top(0).show().animate({top:"+=200px"},f,function(){$(this).remove()});k=r-1}h();xa.resetFirstrunTooltip("headerImg");l=w.getEEId($(".idSelectedHeader",p));O.post({action:17,img:l})}function g(l){if(J.isInEditMode()){var f=l.data.show,p=l.data.dir;l=p=="down"?d.HeadImg_imgCoverArrowDown:d.HeadImg_imgCoverArrowUp;p=p==
"down"?d.HeadImg_imgCoverArrowUp:d.HeadImg_imgCoverArrowDown;if(f){l.tglFadeInXB(300);p.stopp().fadeOutXB(100)}else l.tglFadeOutXB(300)}}function j(l,f){for(var p=0;p<f.length;p++)if(f[p][0]==l)break;return p}function h(){var l=G8.isLocaltest?"header03":"showimg=";d.HeadImg_idHeaderImgs.find(".idSelectedHeader").attr("src").indexOf(l)!=-1?d.HeadImg_Upload.fadeInXB(300):d.HeadImg_Upload.fadeOutXB(300)}function m(l){l=w.makeImgPathFromId("UP",l,"normal");d.HeadImg_idHeaderImgs.find(".idSelectedHeader").attr("src",
l);xa.resetFirstrunTooltip("headerImg")}var k;G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{changeUploadedHeaderImg:m}}(),Ja=function t(){function a(){$("#LBExtCtrls").find(".idUpdateFullscreenData").trigger("click");var j={imgRessources:$("#LB_Popup").data("imgRessources"),currImgRessourceIndex:$("#LB_Popup").data("currImgRessourceIndex"),fadeTime:o.fullscreenGallery.fadeTime,holdTime:o.fullscreenGallery.holdTime};return j}function b(){d.MB_PageMode&&d.MB_PageMode.find(".idAdd").disbl(true);
d.MB_Pagemode_AddCBBox&&d.MB_Pagemode_AddCBBox.data("expanded")&&Aa.tglAddCBIcons(false)}function c(){d.MB_PageMode&&d.MB_PageMode.find(".idAdd").disbl(false)}function g(){var j=$("#LB_Popup");$("#LBExtCtrls").find(".idStopSlideshow").trigger("click");var h=j.data("origImgDivObj"),m=w.getEEId(h);h.find(".EE_OBJ");L.tglObjToDelete(j,true,"lightbox");Q.confirmm({headline:n("HL_BP_Confirm_deleteImg"),okAction:function(){var k=h.parents(".EE_CBGal");h.removeAni(300);$("#LBExtCtrls").find(".idRemoveImg").trigger("click");
L.tglObjToDelete($("#LB_Popup"),false,"lightbox");J.initLightbox(k);k=R("Contentblock",k);k.updateCBTotalItems();O.post({id:m,action:12})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete($("#LB_Popup"),false,"lightbox")}})}return{swf_getFullscreenInit:a,onOpen:b,onClose:c,clk_Delete:g}}(),Fa=function t(){function a(){if(K.isOwner()){var k="";k+=e({id:"GalImg_Cover",cl:"iActObj fixPNGBg",pos:"absolute",hid:true},e({id:"GalImg_Cover_Drag"},M("icon_bbar_drag_mini_lo.png","iActObj"))+
e({id:"GalImg_Cover_Delete"},M("icon_bbar_delete_mini_lo.png","idBtnDelete iActObj",n("TT_GEN_delete"))));k+=e({id:"GalImg_DragSpacer",hid:true});o.initDOMString+=k}}function b(){if(K.isOwner()){d.GalImgAddBtnMaster=$(e({cl:"GalImg_idBtnAdd"},M("btn_theme_addimg_imggal_lo.png","iActObj",n("TT_AddImg_uploadNewImgs"))));d.DragSpacer=$("#GalImg_DragSpacer");var k=["GalImg_Cover","GalImg_Cover_Delete","GalImg_Cover_Drag"];J.setDOMReference(k)}Z.bind("click",g);K.isOwner()&&Z.bind("mousedown",c)}function c(k){var l=
$(k.target);if(l.isChildOf(d.GalImg_Cover_Drag)){m.startDrag(k);k.stopPropagation()}}function g(k){k=$(k.target);if(J.isInEditMode())if(k.isChildOf(d.GalImg_Cover_Delete.find(".idBtnDelete"))){m.confirmDeleteImg();return false}else if(k.isChildOf(".EE_galImg")){m.openLightbox();return false}else if(k.isChildOf(".GalImg_idBtnAdd"))return false}function j(k){m=k}function h(k,l){var f=l.find(".GalImg_idBtnAdd");if(k){if(!f.length){f=d.GalImgAddBtnMaster.clone();f.insertBefore($(".idClr",l)).fadeIn(250);
L.extendHoverAndTt(f);f.bind("mouseenter",za.ent_bindAddBtnFlashHover)}}else f.removeAni(300)}var m;G8.globalSubscriber.bind("initCreatePageDOMString",a).bind("initExtendPageDOM",b);return{tglBtnAdd:h,setCurrGalImgObj:j}}(),ib=function t(){function a(s,u,B){u.parents(".EE_CB").trigger("mouseleave");o.inDragGalImg=true;B=B||{};h=u;m=R("GalImg",u);k=h.parent();l=".EE_galImg";f=B.dropTargets||k;p=B.cloneObj||h;q=k;r=q.children(l);x=V.getRelativeMouse(s,h);d.DragSpacer.insertBefore(h).show();p.appendTo("body").top(s.pageY-
x.y).left(s.pageX-x.x).unbind();$.browser.msie||p.opacity(0.8);h.hide();p.bind("mouseup",c);Z.bind("mousemove",b)}function b(s){var u=s.pageX,B=s.pageY;p.top(B-x.y).left(u-x.x);f.each(function(G,F){G=$(F);if(g(G,u,B)){if(q[0]!=G[0]){q=G;r=q.children(l+",.GalImg_idBtnAdd")}F=j(r,u,B);if(F=="NoSiblings")d.DragSpacer.prependTo(G);else if(F!==false)F>0&&r.eq(F-1).hasClass(".GalImg_invisible")?d.DragSpacer.insertAfter(r.not(".GalImg_invisible,.GalImg_idBtnAdd").filter(":last")):d.DragSpacer.insertBefore(r.eq(F));
return false}})}function c(){Z.unbind("mousemove",b);h.insertBefore(d.DragSpacer).show(300,function(){p.animate({left:h.left(),top:h.top()},300,function(){p.remove()})});d.DragSpacer.remove();r=q.children(l);var s=V.getNeighborIds(h,r);m.saveDrag({poslast:s.poslast,posnext:s.posnext});o.inDragGalImg=false}function g(s,u,B){var G=15;return u>=s.left()-G&&u<=s.left()+s.width()+G&&B>=s.top()-G&&B<=s.top()+s.height()+G}function j(s,u,B){var G=false;if(s.length)s.each(function(F,z){if(g($(z),u,B)){G=F;
return false}});else G="NoSiblings";return G}var h,m,k,l,f,p,q,r,x;return{startDrag:a}}();(function t(){function a(b,c){$Self(".EE_CBGal",c).each(function(){new Ya($(this))})}G8.globalSubscriber.bind("extendEE",a);return{}})();(function t(a){a.fn.lightBox=function(b){function c(D){D.stopPropagation();Ja.onOpen();h(this,C)}function g(D){D=a(D);D=D.attr("longdesc")?D.attr("longdesc"):D.attr("src");return G8.isLocaltest?D.replace("_thumb","_normal"):D.replace(/type=thumb/,"type=normal")}function j(D){D=
a(D);return D.attr("alt")}function h(D,P){a("embed, object, select").css({visibility:"hidden"});k();a("#LB_Popup").data("CBObj",P.parents(".EE_CBGal"));b.imageArray.length=0;b.activeImage=0;if(P.length==1)b.imageArray.push([g(D),j(D),D]);else for(var T=0;T<P.length;T++)b.imageArray.push([g(P[T]),j(P[T]),P[T]]);for(;b.imageArray[b.activeImage][2]!=D;)b.activeImage++;m();p()}function m(){var D=[],P=G8.isLocaltest?"":"http://"+o.parsedProfileUser.url+"/",T=G8.isLocaltest?"":"&PREF="+G8.ax_jqxtnd.cookie("PREF");
a.each(b.imageArray,function(U,W){U=W[0]+T;U=U.indexOf("http://www.eightpage.com/")==-1?P+U:U.replace("http://www.eightpage.com/",P);D.push({src:U,alt:W[1]})});a("#LB_Popup").data("imgRessources",D).data("currImgRessourceIndex",b.activeImage)}function k(){var D=e({id:"LB_Overlay"})+e({id:"LB_Popup"},e({id:"LB_PopInner"},e({id:"LB_ImgBox"},e({id:"LB_Loading"},e({cl:"Preload_preloaderLB"},A("Preload_preloader_lightbox.gif","Preload_imgPreloaderAni"))),e({id:"LB_ImgBoxInner"},e({id:"LB_ImgBoxImgBox"},
'<img id="LBImg">',e({id:"LB_Bar_Delete"},e({id:"LB_Bar_DeleteInner"},A("icon_bbar_delete_lo.png","iActObj",n("TT_LB_delete"),"LB_DeleteBtn"))),e({id:"LB_Bar_Meta"},e({id:"LB_Bar_MetaInner"},'<table id="LB_Bar_MetaTable"><tr><td>',e({id:"LB_ImgdetailsCaption"}),'</td><td id="LB_ImgdetailsCurrNumber">',"</td></tr></table>"))))),e({id:"LB_ControlBox"},e({id:"LBExtCtrls",hid:true},e({cl:"idRemoveImg"}),e({cl:"idStopSlideshow"}),e({cl:"idUpdateFullscreenData"})),'<table id="LB_Tab_Controls"><tr><td id="LB_Tab_Controls_CM">',
'</td><td id="LB_Tab_Controls_Navi">',e({id:"LB_Area_Navi"},A("icon_lb_arrow_prev_lo.png","iActObj",n("TT_LB_prevImg"),"LB_BtnPrev"),e({id:"LB_PlayNavi"},A("icon_lb_play_lo.png","iActObj",n("TT_LB_startSlideShow"),"LB_BtnPlay"),e({id:"LB_BtnPause",hid:true},A("icon_lb_pause_lo.png","iActObj idImgBtnPause",n("TT_LB_stopSlideShow")))),A("icon_lb_arrow_next_lo.png","iActObj",n("TT_LB_nextImg"),"LB_BtnNext")),'</td><td id="LB_Tab_Controls_Close">',A("icon_lb_close_lo.png","iActObj",n("TT_LB_close"),"LB_BtnClose"),
"</td></tr></table>")));a("body").append(D);L.extendHoverAndTt(a("#LB_Popup"));a("#LB_PlayNavi").flashembed({src:o.profileData.resPath.replace("www.eightpage.com",o.parsedProfileUser.url)+"func/gallery.swf",allowScriptAccess:"always",allowNetworking:"all",wmode:"transparent",version:[o.flashVersion]});a("#LB_Overlay").css({backgroundColor:b.overlayBgColor,opacity:b.overlayOpacity}).fadeIn();b.calcMarginTop=l();a("#LB_Popup").top(b.calcMarginTop).show();a("#LB_Loading,#LB_BtnClose").bind("click",v);
a("#LB_BtnPlay").bind("click",s);a("#LB_BtnPause").bind("click",u);a(window).bind("resize",f);a("#LB_ImgBoxImgBox").bind("mouseenter",function(){b.mouseIsOverImg=true}).bind("mouseleave",function(){b.mouseIsOverImg=false});a("#LB_DeleteBtn").bind("click",Ja.clk_Delete)}function l(){var D=a(window).height();return D>500?(D-300)/10+5:5}function f(){b.calcMarginTop=l();a("#LB_Popup").top(b.calcMarginTop);var D=a("#LBImg");if(D.is(":visible")){var P=D.data("origDimensions");P=q(P.realImgWidth,P.realImgHeight);
D.add("#LB_ImgBoxImgBox").css({width:P.zielImgWidth,height:P.zielImgHeight});a("#LB_ImgBox").css({width:P.zielBoxWidth,height:P.zielBoxHeight});a("#LB_ControlBox").css({width:P.zielControlboxWidth})}}function p(){a("#LB_ImgBoxImgBox").unbind("mouseenter",G).unbind("mouseleave",F);a("#LB_Loading").show();a("#LB_ImgBox").bind("click",v);a("#LBImg,#LB_ControlBox,#LB_ImgdetailsCurrNumber,#LB_Bar_Meta,#LB_Bar_Delete,#LB_Area_Navi").hide();a("<img />").bind("load",function(){var D=a(this);a("#LBImg").attr("src",
b.imageArray[b.activeImage][0]);r(D.attr("width"),D.attr("height"));D.remove()}).attr("src",b.imageArray[b.activeImage][0])}function q(D,P){var T=26,U=50,W=a(window).height()-T-b.calcMarginTop*2-U-b.containerBorderSize*2,ja=a(window).width()-b.containerBorderSize*2,da=ja/W,H=D/P;T=D;U=P;if(H>da){if(D>ja){T=ja;U=P*(T/D)}}else if(P>W){U=W;T=D*(U/P)}D=T+b.containerBorderSize*2;P=U+b.containerBorderSize*2;W=T<300?300:T;return{zielImgHeight:U,zielImgWidth:T,zielBoxWidth:D,zielBoxHeight:P,zielControlboxWidth:W}}
function r(D,P){var T=q(D,P);a("#LBImg").data("origDimensions",{realImgWidth:D,realImgHeight:P}).add("#LB_ImgBoxImgBox").css({width:T.zielImgWidth,height:T.zielImgHeight});a("#LB_ImgBox").animate({width:T.zielBoxWidth,height:T.zielBoxHeight},b.containerResizeSpeed,function(){x()});a("#LB_ControlBox").css({width:T.zielControlboxWidth})}function x(){a("#LB_Popup").data("currImgRessourceIndex",b.activeImage);a("#LB_ImgBox").unbind("click",v);a("#LB_Loading").hide();a("#LBImg").fadeIn(function(){B();
z();a("#LB_ControlBox").fadeIn(300)});if(b.slideshowRunning)b.slideshowTimeout=window.setTimeout(I,b.slideshowTime*1E3);E()}function s(){a("#LB_BtnPlay").hide();a("#LB_BtnPause").show();b.slideshowRunning=true;b.slideshowTimeout=window.setTimeout(I,b.slideshowTime*1E3)}function u(){a("#LB_BtnPause").hide();b.imageArray.length>1&&a("#LB_BtnPlay").show();window.clearTimeout(b.slideshowTimeout);b.slideshowRunning=false}function B(){var D=b.activeImage;b.imageArray[D][1]=j(C[D]);a("#LB_ImgdetailsCaption").html(b.imageArray[D][1]);
X.forceLinebreak(a("#LB_ImgdetailsCaption"),a("#LBImg").width()-100);a("#LB_Popup").data("origImgDivObj",C.eq(D).parents(".EE_galImg"));a("#LB_Popup").data("commentsExtended",false);new Ba(a("#LB_Popup"),"Lightbox");if(J.isInEditMode()){a("#LB_ImgdetailsCaption").addClass("EE_txtS EE_OBJ idGalImgTitle").bind("click",u);a.event.trigger("extendEE",[a("#LB_ImgdetailsCaption")])}if(b.imageArray.length>1){a("#LB_ImgdetailsCurrNumber").html("<b>"+(D+1)+"</b> / "+b.imageArray.length).show();a("#LB_Area_Navi").show();
b.slideshowRunning||a("#LB_BtnPlay").show()}a("#LB_ImgBoxImgBox").bind("mouseenter",G).bind("mouseleave",F);b.mouseIsOverImg&&G()}function G(){a("#LB_Bar_Meta").tglFadeIn(300);J.isInEditMode()&&b.imageArray.length>1&&a("#LB_Bar_Delete").tglFadeIn(300)}function F(){a("#LB_Bar_Meta").tglFadeOut(300);a("#LB_Bar_Delete").is(":visible")&&a("#LB_Bar_Delete").tglFadeOut(300)}function z(){a("#LBExtCtrls").find(".idRemoveImg").unbind("click").bind("click",function(){if(b.imageArray.length==1){b.imageArray.splice(b.activeImage,
1);v()}else{if(b.activeImage==b.imageArray.length-1){b.imageArray.splice(b.activeImage,1);C=C.not(C.eq(b.activeImage));b.activeImage--}else{b.imageArray.splice(b.activeImage,1);C=C.not(C.eq(b.activeImage))}p()}}).end().find(".idStopSlideshow").unbind().bind("click",u).end().find(".idUpdateFullscreenData").unbind().bind("click",function(){m()});if(b.imageArray.length){a("#LB_BtnPrev").unbind("click").bind("click",function(){b.slideshowRunning&&u();y();return false});a("#LB_BtnNext").unbind("click").bind("click",
function(){b.slideshowRunning&&u();I();return false})}}function y(){b.activeImage=b.activeImage==0?b.imageArray.length-1:b.activeImage-1;p()}function I(){b.activeImage=b.activeImage==b.imageArray.length-1?0:b.activeImage+1;p()}function E(){if(b.imageArray.length-1>b.activeImage){var D=new Image;D.src=b.imageArray[b.activeImage+1][0]}if(b.activeImage>0){D=new Image;D.src=b.imageArray[b.activeImage-1][0]}}function v(){u();J.initLightbox(a("#LB_Popup").data("CBObj"));a(window).unbind("resize",f);a("#LB_Popup").remove();
a("#LB_Overlay").fadeOut(300,function(){a("#LB_Overlay").remove()});a("embed, object, select").css({visibility:"visible"});Ja.onClose()}b=jQuery.extend({overlayBgColor:"#000",overlayOpacity:0.8,imageBlank:ba.prefixSrc("static","trans.gif"),containerBorderSize:2,containerResizeSpeed:400,slideshowTimeout:false,slideshowRunning:false,slideshowTime:5,imageArray:[],activeImage:0},b);var C=this;this.unbind("click.lightbox").bind("click.lightbox",c);return this}})(jQuery);var Za=function t(a,b){this._glo_jDomObj=
a;this._glo_p_GalleryObj=b;this._glo_totalComments=parseInt(a.getIdFromClass("tCmt_"));this._glo_dbId=w.getEEId(a);la.setJDomToObjMapping("GalImg",a,this);K.isOwner()&&a.bindProxy("mouseenter",{show:true},this._hov_tglCover,this).bindProxy("mouseleave",{show:false},this._hov_tglCover,this);a.bind("mouseenter",{mode:"imageTitle"},L.ent_tt).bind("mouseleave",{mode:"imageTitle"},L.lea_tt);this._glo_totalComments>0&&a.prepend(e({cl:"GalImg_commentMarker"}));L.extendHoverAndTt(a);this._glo_p_GalleryObj.handleDirectGalImgVisibility(a)};
Za.prototype={openLightbox:function t(){var a=this;a=a._glo_jDomObj;a.find(".EE_OBJ").trigger("click")},startDrag:function t(a){var b=this;imgDivObj=b._glo_jDomObj;ib.startDrag(a,imgDivObj,{cloneObj:$("<div>").addClass("GalImg_dragClone").append($(".EE_OBJ",imgDivObj).clone().removeAttr("id")),dropTargets:$(".EE_CBGal .CB_cont")})},confirmDeleteImg:function t(){var a=this,b=a._glo_jDomObj;L.tglObjToDelete(b,true);Q.confirmm({headline:n("HL_BP_Confirm_deleteImg"),okAction:function c(){var g=a._glo_jDomObj,
j=g.parents(".EE_CBGal");g.removeAni(300,function(){J.initLightbox(j);var h=R("Contentblock",j);h.updateCBTotalItems();a._glo_p_GalleryObj.updateGalleryDesign()});O.post({id:a._glo_dbId,action:12})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete(b,false)}})},_hov_tglCover:function t(a){if(J.isInEditMode()){a=a.data.show;var b=this._glo_jDomObj;if(a){Fa.setCurrGalImgObj(this);d.GalImg_Cover_Delete.add(d.GalImg_Cover_Drag).tgl(b.siblings(".EE_galImg").length);d.GalImg_Cover.prependTo(b).setPosTo(b,
"TOPI","LEFTI").tglFadeIn(300);L.extendHoverAndTt(d.GalImg_Cover)}else{Fa.setCurrGalImgObj(false);d.GalImg_Cover.tglFadeOut(250)}}},saveDrag:function t(a){var b=this,c=b._glo_jDomObj,g=b._glo_p_GalleryObj,j=R("Gallery",c.parents(".EE_CBGal")),h=g._glo_jDomObj,m=j._glo_jDomObj;c=b._glo_dbId;if(a.poslast==0)a.poslast=w.getEEId(m.find("h1.EE_OBJ"));O.post({id:c,action:9,type:4,poslast:a.poslast,posnext:a.posnext},{afterSuccess:function(){if(g!=j){j.updateCBTotalItems();j.updateGalleryDesign();J.initLightbox(m);
b._glo_p_GalleryObj=j}g.updateCBTotalItems();g.updateGalleryDesign();J.initLightbox(h)}})}};var Ya=function t(a){this._glo_jDomObj=a;la.setJDomToObjMapping("Gallery",a,this);this._updateToggler();this._extendGalImgs(a);G8.globalSubscriber.bindProxy("extendEE",this._subscriber_cus_extendEE,this)};Ya.prototype={_updateToggler:function t(){var a=this._glo_jDomObj,b=a.find(".EE_galImg");if(b.filter(".GalImg_invisible").length){if(!a.find(".GalImg_Tgl_showAllGalImgs").length){b=$(e({cl:"GalImg_Tgl_showAllGalImgs"},
M("icon_gen_theme_toggle_collapsed_lo.png","tgl_idBtnTgl iActObj"),e({cl:"tgl_togglerText"},n("Text_Gallery_Tgl_allGalImgs"))));b.insertAfter(a.find(".idClr")).bindProxy("click",this._clk_tglAllGalImgs,this)}}else a.find(".GalImg_Tgl_showAllGalImgs").length&&a.find(".GalImg_Tgl_showAllGalImgs").remove()},_extendGalImgs:function t(a){var b=this;$Self(".EE_galImg",a).each(function(){var c=$(this);new Za(c,b)});this._glo_firstGalleryImgsAlreadyExtended=true},_subscriber_cus_extendEE:function t(a,b){a=
this._glo_jDomObj;if(a.isOrIsChildOf(b)||b.isOrIsChildOf(a))this._extendGalImgs(b)},_clk_tglAllGalImgs:function t(){var a=this,b=this._glo_jDomObj;b.find(".GalImg_invisible").each(function(){var c=$(this);a._makeGalImgVisible(c)});b.find(".GalImg_Tgl_showAllGalImgs").remove()},_makeGalImgVisible:function t(a){a.hasClass("GalImg_invisible")&&a.removeClass("GalImg_invisible").find(".EE_OBJ").attr("src",a.find(".EE_OBJ").attr("longdesc")).removeAttr("longdesc")},handleDirectGalImgVisibility:function t(a){var b=
this._glo_jDomObj.find(".EE_galImg");if(this._glo_firstGalleryImgsAlreadyExtended)this._glo_jDomObj.find(".GalImg_Tgl_showAllGalImgs").trigger("click");else if(b.index(a)>o.maxDirectGalImgs&&!a.hasClass("GalImg_invisible")){a.addClass("GalImg_invisible").find(".EE_OBJ").attr("longdesc",a.find(".EE_OBJ").attr("src"));this._updateToggler()}},updateGalleryDesign:function t(){var a=this,b=this._glo_jDomObj;b=b.find(".EE_galImg");if(b.length>o.maxDirectGalImgs){b=b.filter(":lt("+o.maxDirectGalImgs+")");
b.each(function(){var c=$(this);a._makeGalImgVisible(c)})}},updateCBTotalItems:function t(){var a=R("Contentblock",this._glo_jDomObj);a.updateCBTotalItems()},addUploadedGalImg:function t(a){var b=this._glo_jDomObj,c=R("Contentblock",b);b.find(".EE_galImg").each(function(){var g=$(this),j=g.find(".EE_OBJ");if(j.attr("src").hasStr("showimg=3-0")){g.remove();return false}});a=$(a);a.insertBefore($(".GalImg_idBtnAdd",b));this._extendGalImgs(a);c.preloadPreviewImgs();L.extendHoverAndTt(a)}};var sa=function t(){function a(q){var r=
$(q.target);if(J.isInEditMode())if(r.isChildOf(d.CB_Bar_Privacy.add(d.CB_BarMini_Privacy))){q=r.hasClass("idBtnPrivacy1")?1:r.hasClass("idBtnPrivacy2")?2:r.hasClass("idBtnPrivacy3")?3:1;r=r.parents(".EE_CB");r=R("Contentblock",r);r.changePrivacy(q);return false}else if(r.isChildOf(d.CB_Bar_Move.add(d.CB_BarMini_Move))){q=r.hasClass("idBtnDown")?"down":r.hasClass("idBtnUp")?"up":r.hasClass("idBtnSkipDown")?"skipdown":r.hasClass("idBtnSkipUp")?"skipup":"";r=r.parents(".EE_CB");r=R("Contentblock",r);
r.moveCB(q);return false}else if(r.isChildOf(d.CB_Bar_Delete.add(d.CB_BarMini_Delete))){r=r.parents(".EE_CB");r=R("Contentblock",r);r.deleteCB();return false}else{if(r.isChildOf(".CLPS_cbToggler,.CB_head h1")&&!r.isChildOf(".EE_txtS:not(.idClpsdHl)")){r=r.parents(".EE_CB");r=R("Contentblock",r);r.tglCB();return false}}else if(r.isChildOf(".CLPS_cbToggler,.CB_head h1")){r=r.parents(".EE_CB");r=R("Contentblock",r);r.tglCB();return false}}function b(q,r){$Self(".EE_CB",r).each(function(){new $a($(this))})}
function c(){if(K.isOwner()){var q="";q+=e({id:"CB_Bar",cl:"fixPNGBg",pos:"absolute",hid:true},e({id:"CB_Bar_Move"},M("icon_gen_theme_arrowdown_lo.png","idBtnDown iActObj",n("TT_CB_moveCBDown")),M("icon_gen_theme_arrowup_lo.png","idBtnUp iActObj",n("TT_CB_moveCBUp")),M("icon_gen_theme_skipdown_lo.png","idBtnSkipDown iActObj",n("TT_CB_skipCBDown")),M("icon_gen_theme_skipup_lo.png","idBtnSkipUp iActObj",n("TT_CB_skipCBUp")))+e({id:"CB_Bar_Privacy"},M("icon_gen_theme_privacy1_lo.png","idBtnPrivacy1 iActObj",
n("TT_CB_privacySelf")),M("icon_gen_theme_privacy3_lo.png","idBtnPrivacy3 iActObj",n("TT_CB_privacyFriends")),M("icon_gen_theme_privacy2_lo.png","idBtnPrivacy2 iActObj",n("TT_CB_privacyAll")))+e({id:"CB_Bar_Delete"},M("icon_theme_cbar_delete_lo.png","iActObj",n("TT_CB_deleteCB")))+e({id:"CB_Bar_ShadowZone"}));q+=e({id:"CB_BarMini",pos:"absolute",hid:true},e({id:"CB_BarMini_Move"},M("icon_gen_theme_arrowdown_lo.png","idBtnDown iActObj",n("TT_CB_moveCBDown")),M("icon_gen_theme_arrowup_lo.png","idBtnUp iActObj",
n("TT_CB_moveCBUp")),M("icon_gen_theme_skipdown_lo.png","idBtnSkipDown iActObj",n("TT_CB_skipCBDown")),M("icon_gen_theme_skipup_lo.png","idBtnSkipUp iActObj",n("TT_CB_skipCBUp")))+e({id:"CB_BarMini_Privacy"},M("icon_gen_theme_privacy1_lo.png","idBtnPrivacy1 iActObj",n("TT_CB_privacySelf")),M("icon_gen_theme_privacy3_lo.png","idBtnPrivacy3 iActObj",n("TT_CB_privacyFriends")),M("icon_gen_theme_privacy2_lo.png","idBtnPrivacy2 iActObj",n("TT_CB_privacyAll")))+e({id:"CB_BarMini_Delete"},M("icon_theme_cbar_delete_lo.png",
"iActObj",n("TT_CB_deleteCB"))));o.initDOMString+=q}}function g(){if(K.isOwner()){var q=["CB_Bar","CB_Bar_Privacy","CB_Bar_Move","CB_Bar_Delete","CB_Bar_ShadowZone","CB_BarMini","CB_BarMini_Privacy","CB_BarMini_Move","CB_BarMini_Delete"];J.setDOMReference(q)}Z.bind("click",a)}function j(q){Q.tglPreloader(true);var r=q.category,x=r=="Video"?1:r=="Text"?2:r=="Gallery"?3:r=="Blog"?4:1;r=d.PageMaincontents.find(".EE_CB");var s=V.mouseOverObj(q.mx,q.my,r);q=s.object;s=s.position;var u=m("insert",q,r,s);
O.post({action:10,type:1,mode:x,parent:0,parentblock:0,poslast:u.poslast,posnext:u.posnext},{afterSuccess:function(B){B=w.readObj("elementJ",B);var G=$(B.dom),F=$("#db_"+u.poslast);F.parents("#Page_frmProfile").length?G.prependTo(d.PageMaincontents):G.insertAfter(F);ia.fcbPositionChanged();h("add",{id:B.id,privacy:B.privacy,view:B.view,totalComments:B.totalComments,prevId:u.poslast,nextId:u.posnext});f(B.id);if(x==4){var z=B.id;ea.modBlogArr(z,"addBlog");$.each(B.children,function(y,I){y=w.readObj("element",
I);y.type==6&&ea.modBlogArr(z,"addEntry",{entryId:y.id,date:y.date1,headline:y.line1})});Ga.tglBtnAdd(true,G)}else if(x==2)Na.tglBtnAdd(true,G);else if(x==3){J.initLightbox(G);Fa.tglBtnAdd(true,G)}$.event.trigger("extendEE",[G]);$("html,body").animate({scrollTop:G.top()},300);G.hide().slideDown(300);Q.tglPreloader(false);xa.resetFirstrunTooltip("contentblock")}})}function h(q,r){if(q=="add"){var x=r.prevId,s=k(r.id,r.privacy,r.view,r.totalComments);$.each(o.profileData.cbOrder,function(B,G){if(w.readObj("CB",
G).id==x){o.profileData.cbOrder.splice(B,0,s);return false}})}else if(q=="delete"){var u=r.id;$.each(o.profileData.cbOrder,function(B,G){if(w.readObj("CB",G).id==u){o.profileData.cbOrder.splice(B,1);return false}})}else q=="change"&&l(r.id,r)}function m(q,r,x,s){if(q=="standard"){r=V.getNeighborIds(r,x);var u=r.poslast,B=r.posnext;if(u==0)u=w.getEEId(d.Profile)}else if(q=="insert"){u=x.index($(".EE_CBFriends"))==0&&x.length>1;q=x.length;if(u)if(r){B=x.index(r);if(r.hasClass(".EE_CBFriends")){u=w.getEEId(r);
B=B<q-1?w.getEEId(x.eq(B+1)):0}else if(s=="before"){u=B>0?w.getEEId(x.eq(B-1)):0;B=w.getEEId(r)}else{u=w.getEEId(r);B=B<q-1?w.getEEId(x.eq(B+1)):0}}else{u=w.getEEId(x.filter(":last"));B=0}else{if(r){B=x.index(r);if(s=="before"){u=B>0?w.getEEId(x.eq(B-1)):0;B=w.getEEId(r)}else{u=w.getEEId(r);B=B<q-1?w.getEEId(x.eq(B+1)):0}}else B=u=0;if(B==0)B=w.getEEId(x.filter(".EE_CBFriends"))}if(u==0)u=w.getEEId(d.Profile)}return{poslast:u,posnext:B}}function k(q,r,x,s){return[q,r,x,s]}function l(q,r){q=p(q);if(r.privacy!=
undefined)q[1]=r.privacy;if(r.view!=undefined)q[2]=r.view;if(r.totalComments!=undefined)q[3]=r.totalComments}function f(q){function r(x){x=w.readObj("CB",x);$("#db_"+x.id).data("privacy",x.privacy).data("collapsed",x.collapsed).data("totalComments",x.totalComments)}q?r(p(q)):$.each(o.profileData.cbOrder,function(x,s){r(s)})}function p(q){var r=q instanceof jQuery?w.getEEId(q):q,x;$.each(o.profileData.cbOrder,function(s,u){if(u[0]==r){x=u;return false}});return x}G8.globalSubscriber.bind("initCreatePageDOMString",
c).bind("initExtendPageDOM",g).bind("extendEE",b);return{getCBNeighborIds:m,callAddCB:j,modCBArr:h,mapCBObjVars:f,getArrCB:p}}(),$a=function t(a){this._glo_jDomObj=a;la.setJDomToObjMapping("Contentblock",a,this);this._glo_id=w.getEEId(a);if(!a.data("CLPS_clpsExtended")){sa.getArrCB(a);var b,c="",g="";if(a.hasClass("EE_CBBlog")){this._glo_cbType="blog";b="infoicon_theme_blog.png";c=ea.getBlogEntriesArr(w.getEEId(a)).length;g=e({cl:"CLPS_preview"},e({cl:"CLPS_previewInner"}))}else if(a.hasClass("EE_CBGal")){this._glo_cbType=
"gallery";b="infoicon_theme_gallery.png";c=a.find(".EE_galImg").length;g=e({cl:"CLPS_preview"},e({cl:"CLPS_previewInner"},e({cl:"CLPS_previewThumb"},A("preview_gal_mini.png","CLPS_idImgPreview"))))}else if(a.hasClass("EE_CBText")){this._glo_cbType="text";b="infoicon_theme_text.png";g=e({cl:"CLPS_preview"},e({cl:"CLPS_previewInner"}))}else if(a.hasClass("EE_CBVideo")){this._glo_cbType="video";b="infoicon_theme_video.png";g=e({cl:"CLPS_preview"},e({cl:"CLPS_previewInner"},e({cl:"CLPS_previewThumb"},
A("preview_video_mini.png","CLPS_idImgPreview"))))}else if(a.hasClass("EE_CBFriends")){this._glo_cbType="friends";b="infoicon_theme_friend.png";c=a.find(".EE_friend").length;g=e({cl:"CLPS_preview"},e({cl:"CLPS_previewInner"},e({cl:"CLPS_previewThumb SHA_userMini"},A("preview_user_mini.png","CLPS_idImgPreview SHA_imgUserMini"))))}var j=a.data("totalComments"),h=e({cl:"CLPS_clpsCBCmts",hid:true},M("infoicon_theme_comment.png"),e({cl:"CLPS_clpsCBCmtsTotalComments"},j));if(this._glo_cbType=="friends")h=
"";var m=M("icon_gen_theme_toggle_expanded_lo.png","CLPS_cbToggler iActObj"),k=a.find(".CB_head");j=a.find("h1.EE_txtS");j.data("originalText",j.html());b=e({cl:"CLPS_clpsCBType"},M(b),e({cl:"CLPS_clpsCBTypeTotalItems"},c));c=e({cl:"CLPS_clpsFooterLine"});k.prepend(m).append(g);j.bindProxy("mouseenter",{show:true},this._hov_tglHeadlineHover,this).bindProxy("mouseleave",{show:false},this._hov_tglHeadlineHover,this);a.find(".CB_foot").html(c+b+h);g=a.data("collapsed");ga.tglCollapseToggler("CB",a.find(".CLPS_cbToggler"),
!g);a.data("CLPS_clpsExtended",true);g&&a.addClass("CB_clpsd");a.find(".CLPS_preview").hide().end().find(".CB_cont").tgl(!g).end().find(".CB_foot").tgl(g);j.tglClass("idClpsdHl",g).html(g?X.shortenText(j.data("originalText"),35):j.data("originalText"));g=$("<div />").addClass("CBContentWrap");g.prependTo(a).append(a.find(".CB_head")).append(a.find(".CB_cont")).append(a.find(".CB_foot"))}this.preloadPreviewImgs();if(this._glo_cbType=="blog")d.BEN.isChildOf(a)||d.BEN.insertBefore(a.find(".BE_idBE")).show();
a.bindProxy("mouseenter",{show:true},this._hov_tglHover,this).bindProxy("mouseleave",{show:false},this._hov_tglHover,this);L.extendHoverAndTt(a)};$a.prototype={getId:function t(){return this._glo_id},_hov_tglHeadlineHover:function t(a){var b=$(a.currentTarget),c=this._glo_jDomObj;if(c=c.data("collapsed"))if(a=a.data.show){this._tglPreview(true);this._tglTotalComments(true);b.bindProxy("mousemove",this._mov_clpsHeadline,this)}else{this._tglPreview(false);this._tglTotalComments(false);b.unbind("mousemove",
this._mov_clpsHeadline)}},_mov_clpsHeadline:function t(a){var b=this._glo_jDomObj,c=this._glo_cbType,g=$(a.currentTarget),j=g.width();a=V.getRelativeMouse(a,g).x/j;if(c=="gallery"){c=this._getPreviewSrcs();c=V.pickItemByPercent(c,a);b.find(".CLPS_idImgPreview").srcF(c)}else if(c=="friends"){c=this._getPreviewSrcs();c=V.pickItemByPercent(c,a);b.find(".CLPS_idImgPreview").srcF(c)}else if(c=="video"){c=this._getPreviewSrcs();c.length||(c=[ba.getStaticHostBySrcName(src)+o.profileImgsPathSuffix+"preview_video_mini.png"]);
c=V.pickItemByPercent(c,a);b.find(".CLPS_idImgPreview").srcF(c)}else if(c=="text"){c=b.find(".CB_cont .EE_txtM").text();c=X.shortenText(c,70);c=c.substr(Math.round(c.length*a)-1,35);b.find(".CLPS_previewInner").html(c)}else if(c=="blog"){c=ea.getBlogEntriesArr(w.getEEId(b));c=X.formatDate(w.readObj("BEntry",c[c.length-1]).date);b.find(".CLPS_previewInner").html(c)}},_tglTotalComments:function t(a){var b=this._glo_jDomObj;b=b.find(".CLPS_clpsCBCmts");a?b.tglFadeIn(300):b.tglFadeOut(300)},_tglPreview:function t(a){var b=
this._glo_jDomObj,c=b.find(".CLPS_preview"),g=this._glo_cbType;if(!(g=="friends"&&b.find(".EE_friend").length==0)){a&&c.left(b.find("h1").width());a?c.tglFadeInXB(300):c.tglFadeOutXB(300)}},updateCBTotalItems:function t(){var a=this._glo_jDomObj,b=this._glo_cbType,c;if(b=="gallery")c=a.find(".EE_galImg").length;else if(b=="blog")c=ea.getBlogEntriesArr(w.getEEId(a)).length;else if(b=="friends")c=o.profileData.friendOrder?o.profileData.friendOrder.length:0;c&&a.find(".CLPS_clpsCBTypeTotalItems").html(c)},
_hov_tglHover:function t(a){if(K.isOwner()){var b=this._glo_jDomObj,c=this._glo_cbType;if(J.isInEditMode()&&!o.inDragGalImg)if(a=a.data.show)if(b.data("collapsed"))this._tglCBBarMini(true);else{this._tglCBBar(true);if(c=="blog"){b=R("Blog",b);b.tglBtnDeleteBEntry(true)}}else if(b.data("collapsed"))this._tglCBBarMini(false);else{this._tglCBBar(false);if(c=="blog"){b=R("Blog",b);b.tglBtnDeleteBEntry(false)}}}},tglCB:function t(a){var b=this._glo_jDomObj,c=this._glo_cbType;if(b.data("collapsed")){c==
"friends"&&ia.hideAllFriends();b.removeClass("CB_clpsd");if(!a){var g=b.find(".CB_cont"),j=g.show().top();g.hide();a=b.find(".CB_head").top();g=j-Z.scrollTop()+g.height()-ta.height();if(g>0){g=Z.scrollTop()+g+40;if(g>a)g=a;$("html,body").animate({scrollTop:g},200)}}b.find(".CLPS_preview").fadeOut(300).end().find("h1.EE_txtS").html(b.find("h1.EE_txtS").data("originalText")).end().find(".CB_cont").slideDown(300,function(){b.find("h1.EE_txtS").removeClass("idClpsdHl")}).end().find(".CB_foot").slideUp(300).end().data("collapsed",
false);if(J.isInEditMode()){d.CB_BarMini.hide();this._tglClpsHoverFooter(false);this._tglCBBar(true);if(c=="blog"){c=R("Blog",b);c.tglBtnDeleteBEntry(true)}}}else{b.addClass("CB_clpsd").find("h1.EE_txtS").addClass("idClpsdHl").html(X.shortenText(b.find("h1.EE_txtS").data("originalText"),35)).end().find(".CB_cont").slideUp(300).end().find(".CB_foot").slideDown(300).end().data("collapsed",true);if(J.isInEditMode()){d.CB_Bar.hide();this._tglCBBarMini(true);this._tglLayer(false);if(c=="blog"){c=R("Blog",
b);c.tglBtnDeleteBEntry(false)}}}ga.tglCollapseToggler("CB",b.find(".CLPS_cbToggler"),!b.data("collapsed"));c=w.getEEId(b);a=b.data("collapsed")?0:1;sa.modCBArr("change",{id:c,view:a});sa.mapCBObjVars(c);K.isOwner()&&O.post({id:c,action:9,type:1,view:a})},_tglCBBar:function t(a){var b=this._glo_jDomObj;if(a){this._tglLayer(true);this._updateCBBars(d.CB_Bar);d.CB_Bar.prependTo(b).setPosTo(b,["TOPI",-61],"LEFTI").tglFadeIn(300);d.CB_Bar_ShadowZone.one("mouseenter",function(){b.trigger("mouseleave")})}else d.CB_Bar.stopp().opacity(1).fadeOut(300,
$.proxy(function(){this._tglLayer(false)},this))},_tglCBBarMini:function t(a){var b=this._glo_jDomObj;if(a){this._updateCBBars(d.CB_BarMini);d.CB_BarMini.appendTo(b).setPosTo(b,"RIGHTI","TOPI").tglFadeIn(150);this._tglClpsHoverFooter(true)}else{d.CB_BarMini.hide();this._tglClpsHoverFooter(false)}},_tglClpsHoverFooter:function t(a){var b=this._glo_jDomObj;b=b.find(".CLPS_clpsFooterLine");b.data("origWidth")||b.data("origWidth",b.width());var c=b.data("origWidth"),g=c+278;a=a?g:c;b.stopp().animate({width:a+
"px"},300)},deleteCB:function t(){var a=this._glo_jDomObj,b=this._glo_cbType,c=w.getEEId(a);L.tglObjToDelete(a,true);var g="",j;if(b=="blog"){j=n("HL_BP_Confirm_deleteBlog");g=n("Text_BP_Confirm_deleteBlog")}else if(b=="gallery"){j=n("HL_BP_Confirm_deleteGallery");g=n("Text_BP_Confirm_deleteGallery")}else if(b=="video")j=n("HL_BP_Confirm_deleteVideo");else if(b=="text")j=n("HL_BP_Confirm_deleteText");Q.confirmm({headline:j,contentText:g,okAction:qa(this,function(){a.removeAni(300,qa(this,function(){ia.fcbPositionChanged()}));
this._updateCBBars(d.CB_Bar);this._updateCBBars(d.CB_BarMini);O.post({id:c,action:12},{afterSuccess:qa(this,function(){sa.modCBArr("delete",{id:c});if(b=="blog"){ea.modBlogArr(c,"deleteBlog");Aa.updatePagemode()}})})}),okTitle:n("TT_GEN_delete"),cancelAction:qa(this,function(){L.tglObjToDelete(a,false)})})},_updateCBBars:function t(a){var b=this._glo_jDomObj,c=this._glo_cbType;if(a==d.CB_Bar)var g=d.CB_Bar_Delete,j=d.CB_Bar_Move;else{g=d.CB_BarMini_Delete;j=d.CB_BarMini_Move}this._hilitePrivacyIcon(b.data("privacy"));
L.extendHoverAndTt(a);var h=d.PageMaincontents.find(".EE_CB"),m=h.filter(":not(.EE_CBFriends)");a=m.length;if(c=="friends"){b=h.index(b);g.hide();j.find(".idBtnDown,.idBtnUp").hide().end().find(".idBtnSkipDown").tgl(b==0&&a>0).end().find(".idBtnSkipUp").tgl(b!=0&&a>0)}else{b=m.index(b);g.show();j.find(".idBtnSkipDown,.idBtnSkipUp").hide().end().find(".idBtnDown").tgl(b<a-1).end().find(".idBtnUp").tgl(b>0)}},_switchCB:function t(a,b){var c=this._glo_jDomObj,g=w.getEEId(c);this._tglCBBar(false);var j=
c.top()-Z.scrollTop(),h=c.height(),m=a=="skipdown"||a=="skipup";m&&$(".FO_idFriendTrenner").remove();var k=300+h/3;c.animate({height:0,paddingBottom:0},k,$.proxy(function(){this._tglLayer(false);a=="up"||a=="skipup"?c.insertBefore(b):c.insertAfter(b);$("html,body").animate({scrollTop:c.top()-j},120);m&&ia.fcbPositionChanged();c.show().animate({height:h},k,$.proxy(function(){c.css("height","")},this));var l=sa.getCBNeighborIds("standard",c,d.PageMaincontents.find(".EE_CB"));O.post({id:g,action:9,type:1,
poslast:l.poslast,posnext:l.posnext})},this))},_hilitePrivacyIcon:function t(a){var b=d.CB_BarMini_Privacy.add(d.CB_Bar_Privacy);$(".idBtnPrivacy"+a,b).hiliteSingleImg($("img[class*='idBtnPrivacy']",b))},_getPreviewSrcs:function t(){var a=this._glo_jDomObj,b=this._glo_cbType,c=[];if(b=="gallery")a.find(".EE_galImg > .EE_OBJ").each(function(g){if(g<o.maxGalPreviews){g=$(this);g.attr("longdesc")?c.push(g.attr("longdesc")):c.push(g.attr("src"))}});else if(b=="friends")a.find(".FO_idImgFImg").each(function(){c.push(w.makeImgPathFromId("share",
w.getImgId($(this)),"mini"))});else if(b=="video"){a=G8.ax_jqxtnd.readEmbedVideo(a.find(".EE_video"));if(a.thumbnailSrcs.length)c=a.thumbnailSrcs}return c},_tglLayer:function t(a){var b=this._glo_jDomObj;b=$(".CBContentWrap",b);a?b.addClass("CB_hover"):b.removeClass("CB_hover")},changePrivacy:function t(a){var b=this._glo_jDomObj,c=w.getEEId(b);this._hilitePrivacyIcon(a);O.post({id:c,action:9,type:1,privacy:a},{afterSuccess:$.proxy(function(g){g=w.readObj("elementJ",g).privacy;sa.modCBArr("change",
{id:c,privacy:g});sa.mapCBObjVars(c)},this)})},moveCB:function t(a){var b=this._glo_jDomObj,c;if(a=="up")c=b.prevAll(".EE_CB").eq(0);else if(a=="down")c=b.nextAll(".EE_CB").eq(0);else if(a=="skipup")c=d.PageMaincontents.find(".EE_CB").eq(0);else if(a=="skipdown")c=d.PageMaincontents.find(".EE_CB").filter(":last");this._switchCB(a,c)},preloadPreviewImgs:function t(){oa.preloadImgs(this._getPreviewSrcs())}};var Ga=function t(){function a(k){k=$(k.target);if(J.isInEditMode())if(k.isChildOf(d.BlogImg_Cover_Delete.find(".idBtnDelete"))){k=
k.parents(".EE_blogImg");g(k);return false}else if(k.isChildOf(d.BlogImg_Cover_Move.find(".idBtnUp"))){k=k.parents(".EE_blogImg");j(k,"up");return false}else if(k.isChildOf(d.BlogImg_Cover_Move.find(".idBtnDown"))){k=k.parents(".EE_blogImg");j(k,"down");return false}}function b(){if(K.isOwner()){var k=e({id:"BlogImg_Cover",cl:"fixPNGBg",hid:true,pos:"absolute"},e({id:"BlogImg_Cover_Move"},M("icon_bbar_arrowdown_lo.png","idBtnDown iActObj",n("TT_BlogImg_moveImgDown")),M("icon_bbar_arrowup_lo.png",
"idBtnUp iActObj",n("TT_BlogImg_moveImgUp"))),e({id:"BlogImg_Cover_Delete"},M("icon_bbar_delete_lo.png","idBtnDelete iActObj",n("TT_GEN_delete"))));o.initDOMString+=k}}function c(){if(K.isOwner()){d.BlogImgAddBtnMaster=$(e({cl:"BlogImg_idBtnAdd"},M("btn_theme_addimg_imgblog_lo.png","iActObj",n("TT_AddImg_uploadNewImgs"))));var k=["BlogImg_Cover","BlogImg_Cover_Move","BlogImg_Cover_Delete"];J.setDOMReference(k);Z.bind("click",a)}}function g(k){k.find(".EE_OBJ");var l=w.getEEId(k);L.tglObjToDelete(k,
true);Q.confirmm({headline:n("HL_BP_Confirm_deleteImg"),okAction:function(){k.removeAni(300);O.post({id:l,action:12})},okTitle:n("TT_GEN_delete"),cancelAction:function(){L.tglObjToDelete(k,false)}})}function j(k,l){if(l=="up"){var f=k.prevAll(".EE_blogImg");f.length&&h(k,l,f.eq(0))}else{f=k.nextAll(".EE_blogImg");f.length&&h(k,l,f.eq(0))}}function h(k,l,f){var p=w.getEEId(k),q=k.top()-Z.scrollTop();k.css("height");k.slideUp(300,function(){l=="up"?k.insertBefore(f):k.insertAfter(f);k.slideDown(300);
$("html,body").animate({scrollTop:k.top()-q},120);var r=V.getNeighborIds(k,k.parent().children(".EE_blogImg"));O.post({id:p,action:9,type:4,poslast:r.poslast,posnext:r.posnext})})}function m(k,l){var f=l.find(".BlogImg_idBtnAdd");if(k){if(!f.length){f=d.BlogImgAddBtnMaster.clone();f.insertBefore($(".idClr",l)).fadeIn(250);L.extendHoverAndTt(f);f.bind("mouseenter",za.ent_bindAddBtnFlashHover)}}else f.removeAni(300)}G8.globalSubscriber.bind("initCreatePageDOMString",b).bind("initExtendPageDOM",c);return{tglBtnAdd:m}}(),
ea=function t(){function a(f,p){$Self(".EE_CBBlog",p).each(function(){new ab($(this))})}function b(f){var p;$.each(o.profileData.blogOrder,function(q,r){if(r[0]==f){p=r[1];return false}});return p||[]}function c(f,p,q){q=q||{};var r=b(f);if(p=="removeEntry"){p=m(f,q.entryId);r.splice(p,1);return r.length==0?false:p>=r.length?w.readObj("BEntry",r[r.length-1]).id:w.readObj("BEntry",r[p]).id}else if(p=="addEntry")r[r.length]=g(q.entryId,q.date,q.headline);else if(p=="changeEntry")j(q.entryId,q.headline);
else if(p=="deleteBlog")$.each(o.profileData.blogOrder,function(x,s){if(s[0]==f){o.profileData.blogOrder.splice(x,1);return false}});else p=="addBlog"&&o.profileData.blogOrder.push([f,[]])}function g(f,p,q){return[f,p,q]}function j(f,p){f=h(f);f[2]=p}function h(f){var p;$.each(o.profileData.blogOrder,function(q,r){$.each(r[1],function(x,s){if(s[0]==f){p=s;return false}});if(p)return false});return p}function m(f,p){var q;$.each(b(f),function(r,x){if(x[0]==p){q=r;return false}});return q}function k(){var f=
"";f+=e({id:"BESel_Pane",pos:"absolute",hid:true},e({id:"BESel_PaneBot"})+e({id:"BESel_PaneInner"}));f+=e({id:"BEN",hid:true},e({id:"BENBtnAddBlog",hid:true},M("icon_gen_theme_addbentry_lo.png","idBtnAdd iActObj",n("TT_createBEntry"))),e({id:"BEN_Center"},e({id:"BEN_BtnPrev"},M("icon_gen_theme_bentryprev_lo.png","idBtnPrev iActObj",n("TT_prevBEntry")),M("icon_gen_theme_bentryprev_lo.png","idBtnPrevDisbl")),e({id:"BENSelector"}),e({id:"BEN_BtnNext"},M("icon_gen_theme_bentrynext_lo.png","idBtnNext iActObj",
n("TT_nextBEntry")),M("icon_gen_theme_bentrynext_lo.png","idBtnNextDisbl"))));if(K.isOwner())f+=e({id:"BE_BtnDelete",hid:true},M("icon_gen_theme_delete_lo.png","iActObj idBtnDelete",n("TT_deleteBEntry")));o.initDOMString+=f}function l(){var f=["BEN","BENBtnAddBlog","BENSelector","BESel_Pane","BE_BtnDelete"];J.setDOMReference(f);d.BEN.find(".idBtnPrevDisbl,.idBtnNextDisbl").opacity(0.5)}G8.globalSubscriber.bind("extendEE",a).bind("initCreatePageDOMString",k).bind("initExtendPageDOM",l);return{getBlogEntriesArr:b,
modBlogArr:c,getArrBEntry:h,getIndexBEntry:m}}(),ab=function t(a){this._glo_jDomObj=a;la.setJDomToObjMapping("Blog",a,this);this._glo_id=w.getEEId(a);this._extendBlogImgs(a);this.updateBESelector();G8.globalSubscriber.bindProxy("extendEE",this._subscriber_cus_extendEE,this);Z.bindProxy("click",this._delegator_clk_document,this)};ab.prototype={_subscriber_cus_extendEE:function t(a,b){a=this._glo_jDomObj;if(a.isOrIsChildOf(b)||b.isOrIsChildOf(a))this._extendBlogImgs(b)},_delegator_clk_document:function t(a){a=
$(a.target);if(d.BESel_Pane.is(":hidden")&&a.isChildOf(d.BENSelector)){this._BESel_tglPane(true);return false}else if(d.BESel_Pane.is(":visible")&&(!a.isChildOf(d.BENSelector)||!a.isChildOf(d.BESel_Pane)))this._BESel_tglPane(false);else if(a.isChildOf(d.BEN.find(".idBtnPrev"))){this._BEN_prevBEntry();return false}else if(a.isChildOf(d.BEN.find(".idBtnNext"))){this._BEN_nextBEntry();return false}if(J.isInEditMode())if(a.isChildOf(d.BENBtnAddBlog)){a=a.parents(".EE_CBBlog");this._addBEntry(a);return false}else if(a.isChildOf(d.BE_BtnDelete)){a.parents(".EE_CBBlog");
this._deleteBEntry();return false}},_extendBlogImgs:function t(a){if(K.isOwner()){var b=this;$Self(".EE_blogImg",a).each(function(){var c=$(this);new bb(c,b)})}},addUploadedBlogImg:function t(a){var b=this._glo_jDomObj;R("Contentblock",b);b.find(".EE_blogImg").each(function(){var c=$(this),g=c.find(".EE_OBJ");if(g.attr("src").hasStr("showimg=4-0")){c.remove();return false}});a=$(a);a.insertBefore($(".BlogImg_idBtnAdd",b));this._extendBlogImgs(a);L.extendHoverAndTt(a)},_BESel_tglPane:function t(a){if(a){$("#imgBENSelectorArrow").setImgHi();
d.BESel_Pane.appendTo(d.BENSelector.parent()).setPosTo(d.BENSelector,"LEFTI","BOTTOM").slideDown(300)}else{$("#imgBENSelectorArrow").setImgLo();d.BESel_Pane.slideUp(300)}},updateBESelector:function t(a){var b=this._glo_jDomObj,c=this._glo_id;d.BENSelector.data("BENSelectorExtd")||d.BENSelector.data("BENSelectorExtd",true).addClass("iActObj").html(e({id:"BENSelectorHL"})+M("bentry_selector_icon_toggle_lo.png","iActObj","","imgBENSelectorArrow")).bindProxy("mouseenter",{show:true},this._BESel_tglArrow,
this).bindProxy("mouseleave",{show:false},this._BESel_tglArrow,this);c=ea.getBlogEntriesArr(c);var g;if(c.length){a||(a=w.getEEId(b.find(".BE_idBE")));var j=w.readObj("BEntry",ea.getArrBEntry(a));d.BENSelector.find("#BENSelectorHL").html(X.formatDate(j.date));b.data("currEntryId",a);$.each(c,function(h,m){h=w.readObj("BEntry",m);m=h.id==a?"BESel_paneEntrySelected ":"";h=$(e({cl:m+"BESel_idPaneEntry iActObj"},e({cl:"BESel_idPaneEntryDate"},X.formatDate(h.date)),e({cl:"BESel_idPaneEntryHeadline"},X.shortenText(h.headline,
35)))).data("entryId",h.id);g=!g?h:g.add(h)})}else $("#BENSelectorHL").empty();$("#BESel_PaneInner").empty().append(g).find(".BESel_idPaneEntry").bindProxy("click",this._BESel_clickEntry,this).bindTglHoverClass("BESel_paneEntryHi");this._BESkip_update()},_BESel_clickEntry:function t(a){a=$(a.currentTarget);a=a.data("entryId");this._BESel_tglPane(false);this.switchBEntry(a)},_BESel_tglArrow:function t(a){a=a.data.show;var b=$("#imgBENSelectorArrow");a?b.setImgHi():b.setImgLo()},tglBtnDeleteBEntry:function t(a){var b=
this._glo_jDomObj,c=this._glo_id;if(a){a=ea.getBlogEntriesArr(c).length;a>1?d.BE_BtnDelete.prependTo(b.find(".BE_idBE")).setPosTo(b.find(".BE_idHeader"),"TOPI").tglFadeIn(300):d.BE_BtnDelete.hide();L.extendHoverAndTt(d.BE_BtnDelete)}else d.BE_BtnDelete.tglFadeOut(300)},_BESkip_update:function t(){var a=this._getIdsBEntry();d.BEN.find(".idBtnPrev").tgl(a.prevId).end().find(".idBtnPrevDisbl").tgl(!a.prevId).end().find(".idBtnNext").tgl(a.nextId).end().find(".idBtnNextDisbl").tgl(!a.nextId)},switchBEntry:function t(a){var b=
this._glo_jDomObj;Q.tglPreloader(true);$(".BlogImg_idDropzone",b);O.post({action:11,id:a},{afterSuccess:qa(this,function(c){c=$(w.readObj("elementJ",c).dom);var g=b.find(".BE_idBE");g.attr("id",$Self(".BE_idBE",c).attr("id")).find(".BE_idHeader").html(c.find(".BE_idHeader").html()).end().find(".BE_idCopy").html(c.find(".BE_idCopy").html()).end().find(".BlogImg_idDropzone").html(c.find(".BlogImg_idDropzone").html()).end().find(".CM_Box").remove();g.data("commentsExtended",false);$.event.trigger("extendEE",
[g]);L.extendHoverAndTt(g);this.updateBESelector(a);J.isInEditMode()&&Ga.tglBtnAdd(true,b);Q.tglPreloader(false)})})},_getIdsBEntry:function t(){var a=this._glo_jDomObj,b=this._glo_id;a=a.data("currEntryId");var c=ea.getIndexBEntry(b,a),g=ea.getBlogEntriesArr(b);b=c>0?w.readObj("BEntry",g[c-1]).id:false;c=c<g.length-1?w.readObj("BEntry",g[c+1]).id:false;return{currentId:a,prevId:b,nextId:c}},_addBEntry:function t(){var a=this._glo_jDomObj,b=this._glo_id;Q.tglPreloader(true);var c=ea.getBlogEntriesArr(b);
c=c.length?w.readObj("BEntry",c[c.length-1]).id:0;O.post({action:10,type:6,parent:0,parentblock:b,poslast:c,posnext:0},{afterSuccess:qa(this,function(g){g=w.readObj("elementJ",g);var j=$(g.dom);ea.modBlogArr(b,"addEntry",{entryId:g.id,date:g.date1,headline:g.line1});var h=a.find(".BE_idBE");h.attr("id","db_"+g.id).find(".BE_idHeader").html(g.line1).end().find(".BE_idCopy").html(g.value1).end().find(".BlogImg_idDropzone").html(j.find(".BlogImg_idDropzone").html()).end().find(".CM_Box").remove();h.data("commentsExtended",
false);Ga.tglBtnAdd(true,a);$.event.trigger("extendEE",[a]);L.extendHoverAndTt(a);this.updateBESelector(g.id);g=R("Contentblock",a);g.updateCBTotalItems();Q.tglPreloader(false)})})},_deleteBEntry:function t(){var a=this._glo_jDomObj,b=this._glo_id,c=a.find(".BE_idBE"),g=w.getEEId(c);w.readObj("BEntry",ea.getArrBEntry(g));L.tglObjToDelete(c,true);Q.confirmm({headline:n("HL_BP_Confirm_deleteBlogentry"),okAction:qa(this,function(){var j=false;O.post({action:12,id:g},{afterSuccess:qa(this,function(){var h=
ea.modBlogArr(b,"removeEntry",{entryId:g});this.updateBESelector(h);var m=R("Contentblock",a);m.updateCBTotalItems();if(h){L.tglObjToDelete(c,false);this.switchBEntry(h)}else{c.removeAni(300);j=true}})})}),okTitle:n("TT_GEN_delete"),cancelAction:qa(this,function(){L.tglObjToDelete(c,false)})})},_BEN_nextBEntry:function t(){var a=this._getIdsBEntry();a=a.nextId;this.switchBEntry(a)},_BEN_prevBEntry:function t(){var a=this._getIdsBEntry();a=a.prevId;this.switchBEntry(a)}};var bb=function t(a){this._glo_jDomObj=
a;a.bindProxy("mouseenter",{show:true},this._hov_tglCover,this).bindProxy("mouseleave",{show:false},this._hov_tglCover,this);L.extendHoverAndTt(a)};bb.prototype={_hov_tglCover:function t(a){var b=this._glo_jDomObj;if(J.isInEditMode())if(a=a.data.show){d.BlogImg_Cover.prependTo(b).setPosTo(b,"TOPI","LEFTI").tglFadeIn(300);L.extendHoverAndTt(d.BlogImg_Cover);a=b.parents(".BlogImg_idDropzone").find(".EE_blogImg");b=a.index(b);a=a.length;d.BlogImg_Cover_Move.find(".idBtnDown").tgl(b<a-1).end().find(".idBtnUp").tgl(b>
0)}else d.BlogImg_Cover.tglFadeOut(250)}};G8.DOM={};var o=G8.pageVars,d=G8.DOM,e=fa.makeDiv,A=fa.makeImageStatic,M=fa.makeImageTheme,ca=fa.makeElement,Y=fa.makeSpan,aa=fa.makeLink,n=Oa.getLocalizedString,wa=Oa.getLocalizedString12,R=la.getJDomToObjMapping;G8.Export={ax_lightbox:Ja,gx_upload:za};$(function(){ua.isIPhone()||J.initPage()})})();

