var oldviewbm=viewbm;var anonymizemeurl="http://www.anonymize-me.de/?from=yodlbmrk&t=";var anonymizemeimg="http://www.anonymize-me.de/?from=yodlbmrk&t=!IMG!";var timeoutspeed=10;function Set_Cookie(c,e,a,h,d,g){var b=new Date();b.setTime(b.getTime());if(a){a=a*1000*60*60*24}var f=new Date(b.getTime()+(a));document.cookie=c+"="+escape(e)+((a)?";expires="+f.toGMTString():"")+((h)?";path="+h:"")+((d)?";domain="+d:"")+((g)?";secure":"")}var SrX,SrY,oldSrX;function getscreenres(){oldSrX=SrX;if(self.innerHeight){SrX=self.innerWidth;SrY=self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){SrX=document.documentElement.clientWidth;SrY=document.documentElement.clientHeight}else{if(document.body){SrX=document.body.offsetWidth;SrY=document.body.offsetHeight}}}}var scrOfX=0,scrOfY=0;function getScrollXY(){if(typeof(window.pageYOffset)=="number"){scrOfY=window.pageYOffset;scrOfX=window.pageXOffset}else{if(document.body&&(document.body.scrollLeft||document.body.scrollTop)){scrOfY=document.body.scrollTop;scrOfX=document.body.scrollLeft}else{if(document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)){scrOfY=document.documentElement.scrollTop;scrOfX=document.documentElement.scrollLeft}}}}var mX=0;var mY=0;var sL=0;var sT=0;var AnnehmenDassMausAusserhalbDesBrowsers=7;function initmousemove(a){if(!a){a=window.event}if(a){mX=(document.all)?window.event.x:a.pageX;mY=(document.all)?window.event.y:a.pageY;ViewAreaCheckContact();ObjectOnMouseCheckContact();if(mysitesFirstStartInfoViewed==0||mysitesFirstStartInfoViewed==""){mysitesFirstStartInfoViewed=1;Set_Cookie("yodlbookmarkFSIV",mysitesFirstStartInfoViewed,180,"/","","");parent.infobar('Tipp: Legen Sie Ihre h&auml;ufigsten www-Adressen bei "MySites" ab, um sie sp&auml;ter mit nur einem Klick zu &ouml;ffnen.')}}AnnehmenDassMausAusserhalbDesBrowsers=0}function ObjectOnMouseCheckContact(){for(check in objectOnMouseOver){ObjectOnMouseCheckOne(check)}for(check in objectOnMouseOut){ObjectOnMouseCheckOne(check)}}function ObjectOnMouseCheckOne(a){checkDeclare(a);if(objectVisible[a]!=0){if(objectHeight[a]+objectWidth[a]<2){alert('Problem "ObjH/W-Lack@ID-'+a+'".\nBitte melden Sie dieses Problem umgehend per Mail an\nprogrammierung.yodl [at] thinklabs-ltd [dot] net')}else{if(mX>objectposX[a]&&mX<objectposX[a]+objectWidth[a]&&mY-5>objectposY[a]&&mY<objectposY[a]+objectHeight[a]){MouseInObjectArea[a]=1}else{MouseInObjectArea[a]=0}if(MouseInObjectArea[a]!=oldMouseInObjectArea[a]){if(oldMouseInObjectArea[a]==0){setTimeout(objectOnMouseOver[a],0)}else{if(oldMouseInObjectArea[a]==1){setTimeout(objectOnMouseOut[a],0)}}oldMouseInObjectArea[a]=MouseInObjectArea[a]}}}}function ViewAreaCheckContact(){for(var b in ViewAreaX1){if(mX>ViewAreaX1[b]+sL&&mY>ViewAreaY1[b]+sT&&mX<ViewAreaX2[b]+sL&&mY<ViewAreaY2[b]+sT){MouseInViewArea[b]=1}else{MouseInViewArea[b]=0}if(oldMouseInViewArea[b]!=MouseInViewArea[b]){if(b=="favprefarea"){if(oldMouseInViewArea[b]==0){hideprefmenu()}}if(ViewAreaHiddenWithoutMouse[b]>0){for(var a in objectposX){if(objectViewArea[a]==b&&objectInWork[a]==0&&typeof(document.getElementById(a)!="undefined")){if(document.getElementById(a)){updateposition(a)}}}}oldMouseInViewArea[b]=MouseInViewArea[b]}}}var objectDeclared=new Array();var oldtransparenz=new Array();var transparenz=new Array();var solltransparenz=new Array();var oldobjectVisible=new Array();var objectVisible=new Array();var objectInWork=new Array();var objectOnMouseOver=new Array();var objectOnMouseOut=new Array();var oldMouseInObjectArea=new Array();var MouseInObjectArea=new Array();var objectposX=new Array();var objectposY=new Array();var objectsollposX=new Array();var objectsollposY=new Array();var oldobjectposX=new Array();var oldobjectposY=new Array();var objectWidth=new Array();var objectHeight=new Array();var objectfirstcall=new Array();var objectViewArea=new Array();var oldobjectHidden=new Array();var objectHidden=new Array();var oldMouseInViewArea=new Array();var MouseInViewArea=new Array();var ViewAreaX1=new Array();var ViewAreaY1=new Array();var ViewAreaX2=new Array();var ViewAreaY2=new Array();var ViewAreaScrollX=new Array();var ViewAreaScrollY=new Array();var ViewAreaHiddenWithoutMouse=new Array();function checkDeclare(a){if(typeof(objectDeclared[a])=="undefined"){objectDeclared[a]=1;if(typeof(objectViewArea[a])=="undefined"){objectViewArea[a]="wholescreen"}if(typeof(oldobjectVisible[a])=="undefined"){oldobjectVisible[a]=-123}if(typeof(objectVisible[a])=="undefined"){objectVisible[a]=0}if(typeof(objectInWork[a])=="undefined"){objectInWork[a]=0}if(typeof(objectsollposX[a])=="undefined"){objectsollposX[a]=0}if(typeof(objectposX[a])=="undefined"){objectposX[a]=-10}if(typeof(oldobjectposX[a])=="undefined"){oldobjectposX[a]=0}if(typeof(objectsollposY[a])=="undefined"){objectsollposY[a]=0}if(typeof(objectposY[a])=="undefined"){objectposY[a]=0}if(typeof(oldobjectposY[a])=="undefined"){oldobjectposY[a]=0}if(typeof(transparenz[a])=="undefined"){transparenz[a]=2}if(typeof(oldtransparenz[a])=="undefined"){oldtransparenz[a]=1}if(typeof(solltransparenz[a])=="undefined"){solltransparenz[a]=100}if(typeof(objectHidden[a])=="undefined"){objectHidden[a]=0}if(typeof(oldobjectHidden[a])=="undefined"){oldobjectHidden[a]=0}if(typeof(objectHeight[a])=="undefined"){objectHeight[a]=0}if(typeof(objectWidth[a])=="undefined"){objectWidth[a]=0}if(typeof(objectfirstcall[a])=="undefined"){objectfirstcall[a]=1}if(typeof(MouseInObjectArea[a])=="undefined"){MouseInObjectArea[a]=-1}if(typeof(oldMouseInObjectArea[a])=="undefined"){oldMouseInObjectArea[a]=-1}}}function adaptposition(a){checkDeclare(a);if(objectsollposX[a]>ViewAreaX1[objectViewArea[a]]&&objectsollposX<ViewAreaX2[objectViewArea[a]]&&objectsollposY[a]>ViewAreaY1[objectViewArea[a]]&&objectsollposY[a]<ViewAreaY2[objectViewArea[a]]){objectHidden[a]=0}else{objectHidden[a]=1}if(objectInWork[a]==0){updateposition(a)}}function adapttransp(b,a){checkDeclare(b);solltransparenz[b]=a;if(objectInWork[b]==0){updateposition(b)}}function updateposition(a){objectInWork[a]=1;objectposX[a]=objectposX[a]+((objectsollposX[a]-objectposX[a])/3);objectposY[a]=objectposY[a]+((objectsollposY[a]-objectposY[a])/3);if(objectfirstcall[a]==1){objectfirstcall[a]=0;objectposX[a]=objectsollposX[a];objectposY[a]=objectsollposY[a]}if(objectposX[a]>ViewAreaX1[objectViewArea[a]]&&objectposX[a]<ViewAreaX2[objectViewArea[a]]&&objectposY[a]>ViewAreaY1[objectViewArea[a]]&&objectposY[a]<ViewAreaY2[objectViewArea[a]]){objectInViewArea=1}else{objectInViewArea=0}if(objectHidden[a]==1||objectInViewArea==0){sollt=0}else{sollt=solltransparenz[a]}if(MouseInViewArea[objectViewArea[a]]==0){if(ViewAreaHiddenWithoutMouse[objectViewArea[a]]==1){if(solltransparenz[a]<100){sollt=0}else{sollt=Math.round(sollt*2/3)}}else{if(ViewAreaHiddenWithoutMouse[objectViewArea[a]]==2){sollt=0}}}if(objectInViewArea==1){transparenz[a]=transparenz[a]+Math.round((sollt-transparenz[a])/3)}else{transparenz[a]=sollt}if(Math.abs(transparenz[a]-oldtransparenz[a])>0){if(Math.abs(transparenz[a]-sollt)<4){transparenz[a]=sollt}if(transparenz[a]<3){objectVisible[a]=0}else{objectVisible[a]=1}if(objectVisible[a]==1){document.getElementById(a).style.opacity=Math.round(transparenz[a])/100;document.getElementById(a).style.filter="alpha(opacity="+Math.round(transparenz[a])+")";oldtransparenz[a]=transparenz[a]}if(objectVisible[a]!=oldobjectVisible[a]){if(objectVisible[a]==1){document.getElementById(a).style.display="block"}else{if(objectVisible[a]==0){document.getElementById(a).style.display="none"}}oldobjectVisible[a]=objectVisible[a]}}if(objectVisible[a]==1){xdist=Math.abs(objectposX[a]-oldobjectposX[a]);ydist=Math.abs(objectposY[a]-oldobjectposY[a]);if(xdist>0){if(xdist<0.5){objectposX[a]=objectsollposX[a]}document.getElementById(a).style.left=Math.round(objectposX[a])+"px";oldobjectposX[a]=objectposX[a]}if(ydist>0){if(ydist<0.5){objectposY[a]=objectsollposY[a]}document.getElementById(a).style.top=Math.round(objectposY[a])+"px";oldobjectposY[a]=objectposY[a]}}if(Math.abs(transparenz[a]-sollt)>1||Math.abs(objectposY[a]-objectsollposY[a])>1||Math.abs(objectposX[a]-objectsollposX[a])>1){setTimeout("updateposition('"+a+"')",timeoutspeed)}else{objectInWork[a]=0}}function DefineViewArea(e,c,f,b,d,a){ViewAreaHiddenWithoutMouse[e]=a;oldMouseInViewArea[e]=123;MouseInViewArea[e]=123;ViewAreaX1[e]=c;ViewAreaY1[e]=f;ViewAreaX2[e]=b;ViewAreaY2[e]=d;if(typeof(ViewAreaScrollX[e])=="undefined"){ViewAreaScrollX[e]=0}if(typeof(ViewAreaScrollY[e])=="undefined"){ViewAreaScrollY[e]=0}ViewAreaCheckContact()}var imgProZeile=1;var imgBreite=163;var imgHoehe=110;function createbox(a){jscont+='<div id="'+a+'_pos" class="movable" style="z-index:50;text-align:left"><table cellpadding=0 cellspacing=0 class="boxtab"><tr>';jscont+='<td class="bookmark_b1"></td>';jscont+='<td class="bookmark_b2" id="'+a+'_x"><div class="bookmark_b2d"></div></td>';jscont+='<td class="bookmark_b3"></td>';jscont+="</tr><tr>";jscont+='<td class="bookmark_b4" id="'+a+'_y"><div class="bookmark_b4d"></div></td>';jscont+='<td class="bookmark_b5"><div class="bookmark_b5d"><div class="bookmark_b5d2"></div></div></td>';jscont+='<td class="bookmark_b6"><div class="bookmark_b6d"></div></td>';jscont+="</tr></table></div>";jscont+='<div class="boxclose" title="Schlie&szuml;en" id="'+a+"_closex\"  onMouseUp=\"viewbookmarks=0;thumbshotpos();visibility('boxes',0);visibility('boxview',1);Set_Cookie( 'yodltoolboxview', 'no', 180, '/', '', '' );\"  onMouseOver=\"this.style.backgroundPosition='-8px 0px'\" onMouseDown=\"this.style.backgroundPosition='-16px 0px'\"  onMouseOut=\"this.style.backgroundPosition='0px 0px'\"></div>";jscont+='<div class="boxfavadd" title="Seite hinzuf&uuml;gen" id="'+a+'_favadd"  onMouseUp="addfav();" onMouseOver="this.style.backgroundPosition=\'0px -47px\'" onMouseDown="this.style.backgroundPosition=\'0px -86px\'"  onMouseOut="this.style.backgroundPosition=\'0px -10px\'"></div>';jscont+='<div class="boxfavpref" title="Einstellungen" id="'+a+'_favpref"  onMouseUp="openfavpref()" onMouseOver="this.style.backgroundPosition=\'-92px -68px\'" onMouseDown="this.style.backgroundPosition=\'-106px -82px\'"  onMouseOut="this.style.backgroundPosition=\'-106px -68px\'"></div>'}var visi="";function visibility(b,a){if(a==0){visi="none"}else{visi="block"}document.getElementById(b).style.display=visi}function createboxtabs(a,c){jscont+='<table id="'+a+'_tabs_pos"  cellpadding=0 cellspacing=0 border=0 class="tableiste"><tr>';var b=0;for(tabname in c){b++;jscont+='<td id="'+a+"_tab"+b+'" onMouseOver="boxtabhover(\''+a+"',"+b+',1);" onMouseOut="boxtabhover(\''+a+"',"+b+',0);" onMouseUp="boxtabgo(\''+a+"',"+b+');" class="boxtabM" valign="bottom">';jscont+='<div class="boxtabL" id="'+a+"_tab"+b+'L"></div><div class="boxtabR" id="'+a+"_tab"+b+'R"></div><span>'+c[tabname]+"</span>";jscont+="</td>"}jscont+="</tr></table>"}var jscont="";var lx,ly,rx,ry,mx,my;function boxtabhover(b,c,a){mx=0;if(a==0){my=178;lx=134;ly=76;rx=147;ry=104;textdec="none";color="#666666";fontweight="normal"}else{if(a==1){my=239;lx=147;ly=76;rx=121;ry=104;textdec="underline";color="#000088";fontweight="normal"}}if(c==ActiveTab[b]){my=206;lx=121;ly=76;rx=134;ry=104;textdec="none";color="#333333";fontweight="bold"}document.getElementById(b+"_tab"+c).style.backgroundPosition="-"+mx+"px -"+my+"px";document.getElementById(b+"_tab"+c).style.textDecoration=textdec;document.getElementById(b+"_tab"+c).style.fontWeight=fontweight;document.getElementById(b+"_tab"+c).style.color=color;document.getElementById(b+"_tab"+c+"L").style.backgroundPosition="-"+lx+"px -"+ly+"px";document.getElementById(b+"_tab"+c+"R").style.backgroundPosition="-"+rx+"px -"+ry+"px"}var oldActiveTab=new Array();var ActiveTab=new Array();function boxtabgo(a,b){oldActiveTab[a]=ActiveTab[a];ActiveTab[a]=b;boxtabhover(a,oldActiveTab[a],0);boxtabhover(a,ActiveTab[a],2);document.getElementById("boxtab"+oldActiveTab[a]).style.display="none";document.getElementById("boxtab"+ActiveTab[a]).style.display="block"}function inityodlbookmarks(){parsebookmarks();getscreenres();bookmarktabs=new Array();bookmarktabs=Array("MySites");createboxtabs("bookmarks",bookmarktabs);createbox("bookmarks");document.getElementById("jscont").innerHTML=jscont;ActiveTab.bookmarks=1;boxtabgo("bookmarks",1);objectViewArea.bookmarks_pos="background";objectViewArea.bookmarks_tabs_pos="background";objectViewArea.bookmarks_closex="background";objectViewArea.bookmarks_favadd="background";yodlbookmarkresize();AnnehmenDassMausAusserhalbDesBrowsers=8;mouseoutofwindowtrigger();initmousemove()}var sx=0;var sy=0;var cnt=1;var boxheight=9;function yodlbookmarkresize(){getscreenres();DefineViewArea("wholescreen",-1,-1,SrX,SrY*4,1);DefineViewArea("background",-1,-1,SrX,SrY,2);thumbshotpos()}function thumbshotpos(){imgProZeile=Math.round(SrX/imgBreite-1);if(imgProZeile>imgCount){imgProZeile=imgCount}boxwidth=Math.round(imgProZeile*imgBreite-160+35+60);if(boxwidth<226){boxwidth=226}sx=Math.round(SrX/2-(boxwidth)/2-35-30);sy=0;boxheight=Math.round((Math.round(imgCount/imgProZeile+0.4999))*imgHoehe-46+2);if(typeof(parent.adaptframeheight)!="undefined"){if(viewbookmarks==1){parent.adaptframeheight(sy+(boxheight+46+38+9)+"px")}else{parent.adaptframeheight("40px")}if(parent.bmframeheight!=parent.bmoldframeheight){parent.bmoldframeheight=parent.bmframeheight;yodlbookmarkresize()}}objectsollposX.bookmarks_tabs_pos=sx+20;objectsollposY.bookmarks_tabs_pos=sy;adaptposition("bookmarks_tabs_pos");objectsollposX.bookmarks_pos=sx;objectsollposY.bookmarks_pos=sy+21;adaptposition("bookmarks_pos");objectsollposX.bookmarks_closex=boxwidth+sx+100;objectsollposY.bookmarks_closex=sy+27;adaptposition("bookmarks_closex");objectsollposX.bookmarks_favadd=boxwidth+sx+90;objectsollposY.bookmarks_favadd=boxheight/2+sy+30;adaptposition("bookmarks_favadd");document.getElementById("bookmarks_x").style.width=boxwidth+"px";document.getElementById("bookmarks_pos").style.width=(SrX-10-objectsollposX.bookmarks_pos)+"px";document.getElementById("bookmarks_y").style.height=boxheight+"px";thumbposupdate()}function thumbposupdate(){var f=5;var g=0;var h=0;var c=-1;var e=0;var i=0;var a=-1;bmexp=viewbm.split("|");bmcont="";cnt=0;var d=new Array();var b=new Array();for(bm in bmexp){if(bmexp[bm]!=""){cnt++;b[cnt]=(sy+f+15+5);d[cnt]=(sx+g+25);g=g+imgBreite;if(g>imgProZeile*imgBreite-1){g=0;f=f+imgHoehe}}}cnt=0;for(bm in bmexp){if(bmexp[bm]!=""){bmtmp=bmexp[bm].split("=");cnt++;objectsollposY["favlnk"+cnt]=b[bmtmp[0]];objectsollposX["favlnk"+cnt]=d[bmtmp[0]];adaptposition("favlnk"+cnt)}}}var favprefopen=0;function openfavpref(){favprefopen=1;DefineViewArea("favprefarea",objectsollposX.bookmarks_favpref-150,objectsollposY.bookmarks_favpref-99,objectsollposX.bookmarks_favpref+30,objectsollposY.bookmarks_favpref+50,2);objectViewArea.prefmenu="favprefarea";objectsollposX.prefmenu=objectsollposX.bookmarks_favpref-142;objectsollposY.prefmenu=objectsollposY.bookmarks_favpref-92;objectposY.prefmenu=objectsollposY.prefmenu;objectposX.prefmenu=objectsollposX.prefmenu;document.getElementById("favbg"+activefav).style.backgroundPosition="0px 0px";adapttransp("prefmenu",100)}var mayfinish=1;var activefav=0;function handleBMopt(b,a){if(mayfinish==0||favprefopen==1){a=0}activefav=b;if(a==1){DefineViewArea("prefviewarea",objectsollposX["favlnk"+b],objectsollposY["favlnk"+b],objectsollposX["favlnk"+b]+162,objectsollposY["favlnk"+b]+110,2);objectViewArea.bookmarks_favpref="prefviewarea";objectsollposX.bookmarks_favpref=objectsollposX["favlnk"+b]+146;objectsollposY.bookmarks_favpref=objectsollposY["favlnk"+b]+96}else{objectsollposY.bookmarks_favpref+=16}adaptposition("bookmarks_favpref")}function mouseoutofwindowtrigger(){if(AnnehmenDassMausAusserhalbDesBrowsers==8){mX=SrX+10;mY=SrY+10;ViewAreaCheckContact();ObjectOnMouseCheckContact()}else{AnnehmenDassMausAusserhalbDesBrowsers++}scroll(0,0);if(viewbm!=oldviewbm){oldviewbm=viewbm;savebm()}setTimeout("mouseoutofwindowtrigger()",500)}var sbm=document.getElementById("bmsave");function savebm(){sbm.style.display="block";sbm.style.left=Math.round(SrX/2-(boxwidth)/2-35-30)+"px";document.getElementById("bmsavefr").src="bookmarks.php?save=1&viewbm="+escape(viewbm)}function str_ireplace(f,e,d){var c,a="";var b=0;var g;f+="";b=f.length;if(!(e instanceof Array)){e=new Array(e);if(f instanceof Array){while(b>e.length){e[e.length]=e[0]}}}if(!(f instanceof Array)){f=new Array(f)}while(f.length>e.length){e[e.length]=""}if(d instanceof Array){for(a in d){d[a]=str_ireplace(f,e,d[a])}return d}b=f.length;for(c=0;c<b;c++){g=new RegExp(f[c],"gi");d=d.replace(g,e[c])}return d}var bmexp=new Array();var bmtmp=new Array();var bm="";var bmcont="";var oldbmcont="";var crondo="";var tmpcnt=0;var tmppx=0;function parsebookmarks(){if(viewbm==""){return}tmpcnt=0;cnt=0;crondo="";bmexp=viewbm.split("|");bmcont="";affimgcont="";for(bm in bmexp){if(bmexp[bm]!=""){bmtmp=bmexp[bm].split("=");tmpcnt++;cnt=bmtmp[0];bmcont+='<div class="movable" style="z-index:200;" id="favlnk'+tmpcnt+'" onMouseOver="handleBMopt('+tmpcnt+',1);"><a href="javascript:NeuesFenster(   \''+bmtmp[1]+'\'  );" id="favbg'+tmpcnt+'" class="favlnk" onMouseOver="this.style.backgroundPosition=\'0px 0px\';" onMouseOut="this.style.backgroundPosition=\'0px -125px\';" title="'+bmtmp[2]+' in neuem Tab/Fenster &ouml;ffnen"><img src="sitethumb.php?url=http%3A%2F%2F'+escape(bmtmp[1])+"&tit="+escape(unescape(bmtmp[2]))+'"></a></div>';affimgcont+='<img src="'+anonymizemeimg+"http://"+bmtmp[1]+'">';objectposX["favlnk"+tmpcnt]+=1;objectposY["favlnk"+tmpcnt]+=1;crondo+="adaptposition('favlnk"+cnt+"');"}}if(bmcont.length!=oldbmcont.length&&bmcont!=""){oldbmcont=bmcont;document.getElementById("boxtab1").innerHTML=bmcont;setTimeout("document.getElementById('affimg').innerHTML='"+affimgcont+"';",6000)}setTimeout(crondo,0)}var tmptake=0;var tmppx=0;var tmppy=0;var activefavpos=0;var tmptakepos;var tmptakepostake=0;var activefavpostake=0;function favaedit(a){mayfinish=0;hideprefmenu();if(a=="r"||a=="l"){mayfinish=1;var b=new Array();var c=new Array();cnt=0;for(bm in bmexp){if(bmexp[bm]!=""){cnt++;bmtmp=bmexp[bm].split("=");b[cnt]=bmtmp[0];c[bmtmp[0]]=cnt}}activefavpos=(activefav);if(a=="r"){if(Math.round(b[activefav])+2>bmexp.length){tmptake=1}else{tmptake=Math.round(b[activefav])+1}}else{if(a=="l"){if(Math.round(b[activefav])-1<1){tmptake=bmexp.length-1}else{tmptake=Math.round(b[activefav])-1}}}tmptakepos=tmptake;activefavpostake=activefav;tmptakepostake=c[tmptake];info("Element "+activefav+" ist auf Position :"+b[activefav]+"  Tauschpartner ist Position "+tmptake+" = Element "+tmptakepostake);tmp=bmexp[activefavpostake];bmexp[activefavpostake]=bmexp[tmptakepostake].substr(0,bmexp[tmptakepostake].indexOf("="))+bmexp[activefavpostake].substr(bmexp[activefavpostake].indexOf("="));bmexp[tmptakepostake]=tmp.substr(0,tmp.indexOf("="))+bmexp[tmptakepostake].substr(bmexp[tmptakepostake].indexOf("="))}else{if(a=="x"){if(imgCount>1){mayfinish=1;var b=new Array();var c=new Array();cnt=0;oldbmexp=bmexp;delete bmexp;bmexp=new Array();for(bm in oldbmexp){if(oldbmexp[bm]!=""){bmtmp=oldbmexp[bm].split("=");if(bm!=activefav){cnt++;savepos=bmtmp[0];if(savepos>oldbmexp[activefav]){savepos--;info("    (minor)")}bmexp[cnt]=savepos+"="+bmtmp[1]+"="+bmtmp[2]}else{}}}handleBMopt(activefav,0);objectposX[activefav]="";imgCount--}else{favaedit("e")}}else{if(a=="e"){info("EDIT: *** avp="+bmexp[activefav].split("=")[0]);for(bm in bmexp){if(bmexp[bm]!=""){cnt++;bmtmp=bmexp[bm].split("=");if(bmtmp[0]==bmexp[activefav].split("=")[0]){ybmedit(activefav,bm,bmtmp[0],bmtmp[1],bmtmp[2])}}}}}}if(mayfinish){finishactions()}}function finishactions(){viewbm=bmexp.join("|");oldbmcont="";parsebookmarks();thumbshotpos();info('vbm: "'+viewbm+'"')}function addfav(){if(!mayfinish){alert('Bitte schlie?en Sie Ihre ?nderungen im aktuellen Bookmark mit "Speichern" oder "x" ab.')}else{cnt=0;var a=0;for(bm in bmexp){if(bmexp[bm]!=""){cnt++;bmtmp=bmexp[bm].split("=");if(a<bmtmp[0]){a=bmtmp[0]}}}imgCount++;bmexp[bmexp.length]=""+(parseInt(a)+1)+"==";finishactions();info("hoechst: "+a+'<br>vbm: "'+viewbm+'"');activefav=parseInt(a)+1;favaedit("e")}}function checkedit(b){AnnehmenDassMausAusserhalbDesBrowsers=0;mX=10;mY=10;ViewAreaCheckContact();ObjectOnMouseCheckContact();if((tit.value==""||titneveredited==1)&&b=="url"){var a=str_ireplace("http://","",str_ireplace("www.","",url.value));if(a.indexOf(".")>1){a=a.substr(0,a.indexOf("."))}tit.value=a}}var tit,url;var origvar1="-";var origvar2="-";function ybmedit(b,a,e,d,c){if(c==""){parent.infobar("Im Bookmark-Editor k&ouml;nnen Sie jetzt Ihre eigenen Links hinzuf&uuml;gen, die durch eine Vorschau repr&auml;sentiert werden.")}else{parent.infobar("Jetzt k&ouml;nnen Sie &Auml;nderungen an Ihrem <i>"+c+"</i>-Bookmark vornehmen.")}editcont="";editcont+='<div style="color:#ffffff;font-weight:bold;font:normal 8pt Arial,Sans-Serif;margin:4px;width:150px;height:100px;padding:1px 3px 0px 3px;backgroundColor:#ff00ff;">';editcont+='<div onClick="ybmeditend(\'dontsave\');" style="display:block;height:14px;width:14px;border:1px solid #378598;background:#4894a7;color:#9fdbea;float:right;overflow:hidden;margin-bottom:6px;font-size:8pt;cursor:pointer;cursor:hand;">x</div>';editcont+='<form action="javascript:ybmeditend();" method="post" enctype="text/plain">';editcont+='<input class="bmeditbox" id="bmedit_tit" style="width:140px;margin-top:10px;background:none;border:none;padding:0px;height:15px;font-size:8pt;text-align:center" onKeyUp="titneveredited=0;checkedit(\'tit\')" value="'+unescape(c)+'" /><br>';origvar1=d;origvar2=c;editcont+='<input class="bmeditbox" id="bmedit_url" style="width:140px;margin-top:16px;background:none;border:none;padding:0px;height:15px;font-size:8pt;text-align:center" onKeyUp="checkedit(\'url\')" value="'+("http://www."+unescape(d)).replace("www.www.","www.")+'" /><br>';editcont+="";editcont+="";editcont+='<center><input type="submit" style="height:22px;font-size:9pt;font-weight:bold;width:100px;"  value="hinzuf&uuml;gen"></center></form>';editcont+="</div>";document.getElementById("favlnk"+b).style.backgroundImage="url(./img/bookmarkchange.gif)";document.getElementById("favlnk"+b).style.backgroundPosition="0px 0px";mayfinish=0;document.getElementById("favlnk"+b).innerHTML=editcont;tit=document.getElementById("bmedit_tit");url=document.getElementById("bmedit_url");info("-------"+a+" - "+e);titneveredited=1;editcron(a,e);setTimeout("   url.focus();",700)}function ybmeditend(a){parent.infobar("");if(a=="dontsave"){if(origvar2==""){origvar2="[unbenannt]"}newtitle=origvar2;newurl=origvar1;mayfinish=1;if(origvar1==""){setTimeout("favaedit('x');",350)}}else{newurl=(url.value.replace("http://www.","").replace("http://",""));newtitle=(tit.value.toString());if(newurl.length<5||!newurl.indexOf(".")>2){alert("Bitte geben Sie eine korrekte URL ein.\nBeispiel: http://www.eBay.de")}else{if(newtitle.length<1){alert("Sie sollten einen Bezeichner festlegen.\nBeispiel:\n Bezeichner: eBay\nURL: http://www.eBay.de")}else{mayfinish=1}}}}function editcron(a,b){if(mayfinish){bmexp[a]=b+"="+escape(newurl)+"="+escape(newtitle);info("edited:"+a+" = "+bmexp[a]);finishactions()}else{setTimeout("editcron("+a+","+b+")",250)}}function savebookmarks(){alert("bookmarks.php: savebookmarks() noch nicht gemacht.")}var tcnt=0;function faveditpos(a){bmexp=viewbm.split("|");bmcont="";tcnt=0;for(bm in bmexp){if(bmexp[bm]!=""){tcnt++;bmtmp=bmexp[bm].split("=");if(bmtmp[0]==a){return tcnt}}}}var ifo="";function info(a){ifo+=a+"<br>"}function hideprefmenu(){favprefopen=0;objectsollposY.prefmenu=-99;adapttransp("prefmenu",0)}function NeuesFenster(a){a=anonymizemeurl+a;window.open(a,"_blank")}document.onmousemove=initmousemove;document.onscroll=getScrollXY;window.onLoad=inityodlbookmarks();window.onresize=yodlbookmarkresize;