YAHOO.namespace('Msgr.Pingbox');

YAHOO.Msgr.Pingbox = function(){
    var $D=YAHOO.util.Dom, $E=YAHOO.util.Event, $=$D.get;
    var flashMinVersion = "9.0.124", flashObjectId = "pingbox_studio_external";
    var fstamp = document.createElement('iframe');

    var winId = Math.floor(Math.random()*1e13).toString(36);
    window.name = winId; 
    $E.onDOMReady( function() { 
        $D.setStyle(YAHOO.Msgr.Pingbox.Config.studio_id,'display','block');
        
        if (swfobject.hasFlashPlayerVersion("6.0.65")) { // this is the lowest version that supports the Express Install process

            if(!swfobject.hasFlashPlayerVersion(flashMinVersion)){
                // Express Install will run, track with a beacon!
                fstamp.src = YAHOO.Msgr.Pingbox.Config.expflash_url;
            }

            swfobject.embedSWF(
                "http://l.yimg.com/us.yimg.com/lib/msg/eden/pingbox/builds/studio_149801.swf", 
                YAHOO.Msgr.Pingbox.Config.studio_id, "310", "137", flashMinVersion, 
                "http://l.yimg.com/us.yimg.com/lib/msg/swf/expressinstall.swf", 
                { // flashvar
                        closeUrl: YAHOO.Msgr.Pingbox.Config.close_url+"#"+winId, // "http://wgweb.msg.yahoo.com/badge/site/close.php#"+winId,
                        ntype: "",
                        ufid: "",
                        uname: ""
                },
                { // params
                        bgcolor: "#FFFFFF",
                        allowScriptAccess: "always"
                },
                { // attributes
                        id: flashObjectId
                }
            );
        }
        else if (swfobject.hasFlashPlayerVersion("1")) { // really old flash
            fstamp.src = YAHOO.Msgr.Pingbox.Config.oldflash_url;
        }
        else { // no flash at all
            fstamp.src = YAHOO.Msgr.Pingbox.Config.noflash_url;
        }

        $(YAHOO.Msgr.Pingbox.Config.fstamp_id).appendChild(fstamp);
    });

    return {
        Config: YAHOO.Msgr.Pingbox.Config,
        stamp:function(id) {
            $(YAHOO.Msgr.Pingbox.Config.fstamp_id).removeChild(fstamp);
            fstamp = document.createElement('iframe');
            fstamp.src = "http://wgweb.msg.yahoo.com/stamp.php?intl=de&id="+id;
            $(YAHOO.Msgr.Pingbox.Config.fstamp_id).appendChild(fstamp); 
        },
        getDisplayName:function(){ return " "; },
        getYid:function() { return ""; },
        getNetworks:function(){ return "<content time=\"1265771159\">\n<networks signature=\"DezLxnKlTFjqfSFDiLNzbGoDlcETR/4QNHMIZiLiBc+fkFyFfxFwx28vpQLtFEwowjUCZiMOuRVs+7XpwQ1CDUSlD+gJu8mpi9Ui0JUUslLINCsdf73w5CDnAGRhIjKnxkofZ69sgVg4PbHt9eEHGIbx3DqWJfiInsJhAskvIFqRB/9h07cuHucQySmVEhdglmRSh4RzVfrH/59++jEal4aJ132AP/9irvlUDx5VjS3leWIxEvUL2hGBDsHIDnwezlf3sQ0DwqninpyzY+KD9BhhT8DXxlYV+W3m62ZbkzgVXh1yVv142FxXQwJ5Tcf8NYGfXXT0RgGRVu/d9Cb7/Q==\">\r\n	<network appUrl=\"\" code=\"embed\" id=\"myspace\" logo=\"logo_2\" name=\"MySpace\" seqno=\"0\">\r\n		<sizes enableCustom=\"true\">\r\n			<recommended height=\"300\" width=\"425\"/>\r\n		</sizes>\r\n		<instructions><![CDATA[<font face='Verdana' size='11'><font color='#555555'><b>Anleitung für MySpace</b><br></font><font color=\"#666666\">1. Kopieren Sie den Code in die Zwischenablage.<br>2. Melden Sie sich bei <font color=\"#3a6ccb\"><a href=\"http://www.myspace.com\" target=\"_blank\"><u>MySpace</u></a></font> an.<br>3. Klicken Sie \"Profil bearbeiten\".<br>4. Wählen Sie den Bereich aus, in dem Sie die Pingbox einbauen möchten.<br>5. Kopieren Sie den Pingbox-Code in den ausgewählten Bereich (Strg+v).<br>6. Blättern Sie zum Ende der Seite und klicken Sie \"Alle Änderungen speichern\".<br>7. Klicken Sie “Profil anzeigen”, um Ihre Pingbox zu sehen.</font></font>]]></instructions>\r\n	</network>\r\n	<network appUrl=\"\" code=\"embed\" id=\"hi5\" logo=\"logo_7\" name=\"hi5\" seqno=\"1\">\r\n		<sizes enableCustom=\"true\">\r\n			<recommended height=\"300\" width=\"450\"/>\r\n		</sizes>\r\n		<instructions><![CDATA[<font face='Verdana' size='11'><font color='#555555'><b>Anleitung für hi5</b><br></font><font color=\"#666666\">1.	Kopieren Sie den Code in die Zwischenablage.<br>2. Melden Sie sich bei <font color=\"#3a6ccb\"><a href=\"http://hi5.com\" target=\"_blank\"><u>hi5</u></a></font> an.<br>3. Klicken Sie \"Mein Profile\" oben auf der Seite an.<br>4. Klicken Sie im Bereich \"Interessen\" „Diesen Abschnitt bearbeiten“.<br>5. Kopieren Sie den Pingox-Code in ein Fenster Ihrer Wahl (Strg + v).<br>6. Klicken Sie \"Profil speichern\".</font></font>]]></instructions>\r\n	</network>\r\n	<network appUrl=\"\" code=\"embed\" id=\"blogger\" logo=\"logo_5\" name=\"Blogger\" seqno=\"2\">\r\n		<sizes enableCustom=\"true\">\r\n			<recommended height=\"400\" width=\"220\"/>\r\n			<small height=\"300\" width=\"410\"/>\r\n		</sizes>\r\n		<instructions><![CDATA[<font face='Verdana' size='11'><font color='#555555'><b>Anleitung für Blogger</b><br></font><font color=\"#666666\">1. Kopieren Sie den Code in die Zwischenablage.<br>2. Melden Sie sich bei <font color=\"#3a6ccb\"><a href=\"http://www.blogger.com\" target=\"_blank\"><u>Blogger</u></a></font> an.<br>3. Klicken Sie den Link \"Layout\" in Ihrem Dashboard an.<br>4. Klicken Sie \"Seitenelement hinzufügen\" im Layout-Bereich an.<br>5. Klicken Sie im Bereich \"HTML/JavaScript\" in dem Popup den Button \"ZUM BLOG HINUFÜGEN\" an.<br>6. Geben Sie dem Bereich einen Namen-  vielleicht Pingbox?<br>7. Kopieren Sie den Pingbox-Code in den Content-Bereich (Strg+v).<br>8. Klicken Sie \"Änderungen speichern\".</font></font>]]></instructions>\r\n	</network>\r\n	<network appUrl=\"\" code=\"embed\" id=\"livespaces\" logo=\"logo_14\" name=\"Live Spaces\" seqno=\"3\">\r\n		<sizes enableCustom=\"true\">\r\n			<recommended height=\"300\" width=\"380\"/>\r\n		</sizes>\r\n		<instructions><![CDATA[<font face='Verdana' size='11'><font color='#555555'><b>Anleitung für Windows Live Spaces</b><br></font><font color=\"#666666\">1. Kopieren Sie den Code in die Zwischenablage.<br>2. Melden Sie sich bei <font color=\"#3a6ccb\"><a href=\"http://spaces.live.com\" target=\"_blank\"><u>Live Spaces</u></a></font> an.<br>3. Klicken Sie \"Blogeintrag hinzufügen\".<br>4. Geben Sie einen Titel für Ihren Eintrag an – zum Beispiel \"Meine Pingbox\".<br>5. Klicken Sie den \"HTML\"-Link.<br>6. Kopieren Sie den Pingbox-Code in den Eintrags-Bereich (Strg+v).<br>7. Klicken Sie \"Eintrag veröffentlichen\".</font></font>]]></instructions>\r\n	</network>\r\n	<network appUrl=\"\" code=\"embed\" id=\"livejournal\" logo=\"logo_17\" name=\"Live Journal\" seqno=\"4\">\r\n		<sizes enableCustom=\"true\">\r\n			<recommended height=\"300\" width=\"575\"/>\r\n		</sizes>\r\n		<instructions><![CDATA[<font face='Verdana' size='11'><font color='#555555'><b>Anleitung für Live Journal</b><br></font><font color=\"#666666\">1. Kopieren Sie den Code in die Zwischenablage.<br>2. Melden Sie sich bei <font color=\"#3a6ccb\"><a href=\"http://livejournal.com\" target=\"_blank\"><u>Live Journal</u></a></font> an.<br>3. Wählen Sie \"Eintrag verfassen\".<br>4. Klicken Sie \"Embed Media Link\" an.<br>5. Kopieren Sie den Pingbox-Code in das Fenster \"Insert Embed Content\" (Strg+v).<br>6. Klicken Sie \"Insert\".<br>7. Klicken Sie \"Eintrag speichern\".</font></font>]]></instructions>\r\n	</network>\r\n</networks>\r\n</content>\n<!-- in108.msg.sp1.yahoo.com uncompressed Tue Feb  9 19:05:59 PST 2010 -->\n"; },
        getThemes:function(){ return "<themes><theme id=\"0\" name=\"fun\" maskPrefix=\"pingbox_sharpedge\" src=\"http://l.yimg.com/us.yimg.com/lib/msg/eden/pingbox/pingbox_sharpedge4.swf\"> \n    <symbol name=\"pingbox_sharpedge_bg\"/>\n    <previewClass>pingbox_none_thumb</previewClass>\n    <symbol name=\"pingbox_sharpedge_ov\"/>\n    <manageThumb foreground=\"pingbox_sharpedge_mini_2\" background=\"pingbox_sharpedge_bg\"/> \n    </theme><theme id=\"5\" name=\"professional\" maskPrefix=\"pingbox_professional\" src=\"http://l.yimg.com/us.yimg.com/lib/msg/eden/pingbox/pingbox_professional4.swf\">\n    <symbol name=\"pingbox_professional_bg\"/>\n    <previewClass>pingbox_none_thumb</previewClass>\n    <symbol name=\"pingbox_professional_ov\"/>\n    <manageThumb foreground=\"pingbox_professional_mini_2\" background=\"pingbox_professional_bg\"/>\n    </theme><theme id=\"6\" name=\"seasonal\" maskPrefix=\"pingbox_sharpedge\" src=\"http://l.yimg.com/us.yimg.com/lib/msg/eden/pingbox/pingbox_sharpedge4.swf\"> \n    <symbol name=\"pingbox_sharpedge_bg\"/>\n    <previewClass>pingbox_none_thumb</previewClass>\n    <symbol name=\"pingbox_sharpedge_ov\"/>\n    <manageThumb foreground=\"pingbox_sharpedge_mini_2\" background=\"pingbox_sharpedge_bg\"/> \n    </theme></themes>"; },
        getStrings:function(){ return "<strings>\n<string id=\"activate_link_label\">Aktivieren</string>\n<string id=\"add_gloss\">Glanz</string>\n<string id=\"add_pingbox_label\">Pingbox hinzufügen</string>\n<string id=\"add_to_network\">Zu %NETWORK% hinzufgen</string>\n<string id=\"any_website_instructions_label\">Anleitung zum Hinzufügen der Pingbox zu einer Webseite:</string>\n<string id=\"away_message_1\">Besuch mich später\!</string>\n<string id=\"away_message_2\">Sorry, ich hab Dich verpasst. Wir treffen uns später.</string>\n<string id=\"away_message_3\">Bei der Arbeit.</string>\n<string id=\"away_message_4\">Places to go, people to see, things to do...</string>\n<string id=\"away_message_5\">Beschützer der Welt vor allem Bösen.</string>\n<string id=\"away_message_label\">Offline-Nachricht:</string>\n<string id=\"background_color_label\">Hintergrundfarbe:</string>\n<string id=\"background_label\">Hintergrundbild:</string>\n<string id=\"cancel_label\">Abbrechen</string>\n<string id=\"choose_different_name\">%TITLE% existiert bereits.\nWählen Sie bitte einen anderen Namen.</string>\n<string id=\"code_copied_label\">Code in Zwischenablage.</string>\n<string id=\"code_label\">Kopieren Sie den Code  und folgen Sie den Hinweisen für %NETWORK%</string>\n<string id=\"code_link_label\">Code erstellen</string>\n<string id=\"code_only_label\">Andere Websites</string>\n<string id=\"continue_label\">Weiter</string>\n<string id=\"copy_code_label\">In Zwischenablage kopieren</string>\n<string id=\"copy_paste_to_website\">Code kopieren und auf Website einfgen</string>\n<string id=\"create_new_label\">Neue Pingbox</string>\n<string id=\"create_pingbox_label\">Pingbox erstellen</string>\n<string id=\"custom_size_label\">Persönlich:</string>\n<string id=\"date_modified_label\">Zuletzt geändert:</string>\n<string id=\"deactivate_link_label\">Abschalten</string>\n<string id=\"default_display_name\">Hans Mustermann</string>\n<string id=\"default_pingbox_title\">Neue Pingbox</string>\n<string id=\"default_status_text\">Verfügbar</string>\n<string id=\"delete_dialog_text\">&lt;p&gt;Sie sind dabei, %TITLE% permanent zu löschen.&lt;/p&gt;&lt;p&gt;Vergessen Sie nicht, den Code von Ihren Webseiten zu löschen.&lt;/p&gt;</string>\n<string id=\"delete_dialog_title\">Pingbox löschen</string>\n<string id=\"delete_link_label\">Löschen</string>\n<string id=\"delete_widget_cancel\">Abbrechen</string>\n<string id=\"delete_widget_delete\">Löschen</string>\n<string id=\"disabled_status_label\">Aus</string>\n<string id=\"display_name_is_required\">Anzeigename ist erforderlich.</string>\n<string id=\"display_name_label\">Ihr Anzeigename:</string>\n<string id=\"download_messenger_label\">Yahoo! Messenger installieren</string>\n<string id=\"download_messenger_link\">http://de.messenger.yahoo.com/download/</string>\n<string id=\"edit_link_label\">Bearbeiten</string>\n<string id=\"enabled_status_label\">An</string>\n<string id=\"enter_custom_message\">Eigene Message eingeben</string>\n<string id=\"font_family_arial\">Arial</string>\n<string id=\"font_family_verdana\">Verdana</string>\n<string id=\"font_size_10\">10</string>\n<string id=\"font_size_11\">11</string>\n<string id=\"font_size_12\">12</string>\n<string id=\"font_size_14\">14</string>\n<string id=\"font_size_16\">16</string>\n<string id=\"font_size_20\">20</string>\n<string id=\"footer_about_link\">Über</string>\n<string id=\"footer_about_link_url\">http://de.messenger.yahoo.com/pingbox</string>\n<string id=\"footer_how_it_works_link\">So funktioniert es</string>\n<string id=\"footer_how_it_works_link_url\">http://de.messenger.yahoo.com/pingbox/moreinfo</string>\n<string id=\"footer_help_link\">Hilfe</string>\n<string id=\"footer_help_link_url\">http://help.yahoo.com/l/de/yahoo/messenger/pingbox/</string>\n<string id=\"form_error_text\">&lt;p&gt;Sie müssen alle erforderlichen Felder ausfüllen, um weiterzumachen. &lt;/p&gt;</string>\n<string id=\"form_error_title\">Fehlende erforderliche Felder</string>\n<string id=\"get_code_label\">Weiter</string>\n<string id=\"hide_step_by_step_instructions\">Anleitung ausblenden</string>\n<string id=\"instructions_label\">Anleitung, wie Sie die Pingbox zu %NETWORK% hinzufügen können:</string>\n<string id=\"last_modified_label\">Letzte Änderung: %DATE%</string>\n<string id=\"logo_instance_name\">logo</string>\n<string id=\"logo_swf_url\">http://l.yimg.com/us.yimg.com/i/msgr/widget/logo/logo_pingbox_de.swf</string>\n<string id=\"manage_tab_label\">Pingboxen Managen</string>\n<string id=\"manage_tab_tagline\">Pingboxen verwalten</string>\n<string id=\"more_info\">Weitere Info</string>\n<string id=\"next_label\">Weiter</string>\n<string id=\"nickname_prompt\">Spitzname</string>\n<string id=\"no_pingboxes_label\">Sie haben noch keine Pingboxen angelegt.</string>\n<string id=\"pingbox_actual_size_message\">Wirkliche Größe: %WIDTH% x %HEIGHT% Pixel.</string>\n<string id=\"pingbox_limit_text\">&lt;p&gt;Sie haben das Limit von 10 Pingboxen erreicht. Bitte löschen Sie zunächst eine Pingbox, bevor Sie eine neue anlegen. &lt;/p&gt;</string>\n<string id=\"pingbox_limit_title\">Pingbox-Limit erreicht</string>\n<string id=\"pingbox_messenger_yahoo_com\">http://wgweb.msg.yahoo.com/badge/Pingbox.swf</string>\n<string id=\"pingbox_name_is_required\">Name der Pingbox ist erforderlich.</string>\n<string id=\"pingbox_name_required\">Name der Pingbox ist erforderlich.</string>\n<string id=\"pingbox_resized_message\">%TITLE% ist auf die Vorschaugröße angepasst.</string>\n<string id=\"pingbox_saved\">%TITLE% wurde gespeichert.</string>\n<string id=\"pingbox_tagline\">Fügen Sie Ihrem Profil in einem sozialen Netzwerk, Ihrem Blog oder Ihrer Webseite eine Pingbox hinzu und chatten Sie mit Ihren Besuchern auf dem  Yahoo! Messenger!</string>\n<string id=\"pingbox_title_label\">Yahoo! Messenger Pingbox™</string>\n<string id=\"pingbox_url\">http://de.pingbox.messenger.yahoo.com</string>\n<string id=\"preview_label\">Vorschau</string>\n<string id=\"publish_label\">Zu Webseite hinzufügen</string>\n<string id=\"publish_prompt\">Webseite auswählen und %TITLE% hinzufügen</string>\n<string id=\"publish_tagline\">%TITLE% kann jetzt zu Ihrer Website hinzugefügt werden</string>\n<string id=\"question_want_to_save_changes\">Möchten Sie die Änderungen an %TITLE% speichern?</string>\n<string id=\"recommended_size_label\">Empfohlen:</string>\n<string id=\"save_error_popup_confirm_button_label\">Aktualisieren</string>\n<string id=\"save_error_popup_message\">Ihre Sitzung ist abgelaufen. Bitte klicken Sie auf Aktualisieren.</string>\n<string id=\"save_label\">speichern</string>\n<string id=\"save_widget_no\">Nein</string>\n<string id=\"save_widget_yes\">Ja</string>\n<string id=\"send_button_label\">Senden</string>\n<string id=\"shape_label\">Form:</string>\n<string id=\"show_step_by_step_instructions\">Anleitung</string>\n<string id=\"size_selection_label\">Größe:</string>\n<string id=\"small_size_label\">Weitere:</string>\n<string id=\"standard_size_label\">Standard:</string>\n<string id=\"text_label\">Text-Größe und Farbe:</string>\n<string id=\"theme_group_color\">Farben</string>\n<string id=\"theme_group_fun\">Spaß</string>\n<string id=\"theme_group_professional\">Professional</string>\n<string id=\"theme_group_seasonal\">Saisonal</string>\n<string id=\"toggle_enforce_username_label\">Spitznamen müssen zum chatten eingegeben werden</string>\n<string id=\"toggle_icon_label\">Yahoo! Messenger Anzeigebild anzeigen</string>\n<string id=\"underage_faq_url\">http://help.yahoo.com/l/de/yahoo/messenger/pingbox/index.html</string>\n<string id=\"unsaved_changes_text\">&lt;p&gt;Möchten Sie die Änderungen an \"%TITLE%\" speichern??&lt;/p&gt;</string>\n<string id=\"unsaved_changes_title\">Ungesicherte Änderungen</string>\n<string id=\"user_too_young\">Es scheint Sie haben keine Rechte, eine Pingbox anzulegen.</string>\n<string id=\"user_ypc_blocked\">&lt;p&gt;Sorry! Anscheinend haben Sie keine Rechte, eine Pingbox anzulegen.&lt;/p&gt;\n&lt;p&gt;Bitte fragen Sie Ihre Eltern nach Berechtigung.&lt;/p&gt;</string>\n<string id=\"welcome_message_1\">Hi Leute…Ihr könnt jetzt mit mir auf meinem Profil chatten\!</string>\n<string id=\"welcome_message_2\">Hey! Was ist los?</string>\n<string id=\"welcome_message_3\">Chat mich an!</string>\n<string id=\"welcome_message_4\">Willkommen bei mir. Also, was denkst Du?</string>\n<string id=\"welcome_message_5\">Wie geht's? Schreib doch mal.</string>\n<string id=\"welcome_message_label\">Online-Begrüßung:</string>\n<string id=\"whats_next\">&lt;p&gt;&lt;b&gt;Was nun?&lt;/b&gt;&lt;ul&gt;&lt;li&gt;Überprüfen Sie Ihre Seite und stellen Sie sicher, dass die Pingbox installiert wurde.&lt;/li&gt;&lt;li&gt;Melden Sie sich bei Yahoo! Messenger an.&lt;/li&gt;&lt;li&gt;Senden und Empfangen Sie IMs von Freunden und Besuchern!&lt;/li&gt;&lt;/ul&gt;&lt;/p&gt;</string>\n<string id=\"widget_title_hint\">IMs von Besuchern erscheinen in Ihrer Yahoo! Messenger Liste unter diesem Gruppennamen</string>\n<string id=\"widget_title_label\">Pingbox speichern als:</string>\n<string id=\"ybang_instance_name\">logo_ybang_de</string>\n<string id=\"ypc_faq_url\">http://help.yahoo.com/l/de/yahoo/messenger/pingbox/</string>\n\n</strings>"; },
        getPingboxStrings:function() { return "<strings>\n<string id=\"cancel_button_label\">Abbrechen</string>\n<string id=\"click_here_to_reconnect\">Klicken Sie hier, um sich erneut zu verbinden.</string>\n<string id=\"click_here_to_turn_on\">Klicken Sie hier, um Pingbox zu aktivieren</string>\n<string id=\"copy_address_label\">Adresse kopieren</string>\n<string id=\"enter_nickname_to_chat\">Geben Sie einen Spitznamen ein, um mit mir zu chatten.</string>\n<string id=\"font_family_arial\">Arial</string>\n<string id=\"font_family_verdana\">Verdana</string>\n<string id=\"font_size_10\">10</string>\n<string id=\"font_size_11\">11</string>\n<string id=\"font_size_20\">20</string>\n<string id=\"get_messenger_url\">http://de.messenger.yahoo.com</string>\n<string id=\"get_pingbox_label\">Yahoo! Messenger Pingbox laden</string>\n<string id=\"get_pingbox_url\">http://de.messenger.yahoo.com/pingbox</string>\n<string id=\"get_yahoo_msgr_label\">Yahoo! Messenger laden</string>\n<string id=\"hi_username\">Hi %USERNAME%</string>\n<string id=\"logo_instance_name\">logo</string>\n<string id=\"logo_swf_url\">http://l.yimg.com/us.yimg.com/i/msgr/widget/logo/logo_pingbox_de.swf</string>\n<string id=\"nickname_prompt\">Spitzname</string>\n<string id=\"options_header_label\">Optionen</string>\n<string id=\"our_chat_is_private\">Unser Chat ist privat. Niemand außer uns kann mitlesen.</string>\n<string id=\"pingbox_has_timed_out\">Die Pingbox hat die Verbindung wegen Inaktivität verloren.</string>\n<string id=\"pingbox_url\">http://de.pingbox.messenger.yahoo.com</string>\n<string id=\"privacy_policy_label\">Datenschutzrichtlinien</string>\n<string id=\"privacy_url\">http://info.yahoo.com/privacy/de/yahoo/</string>\n<string id=\"remember_nickname_label\">Spitzname merken</string>\n<string id=\"send_button_label\">Senden</string>\n<string id=\"start_button_label\">Chat starten</string>\n<string id=\"status_busy\">Beschäftigt</string>\n<string id=\"status_idle\">Leerlauf</string>\n<string id=\"status_offline\">Offline</string>\n<string id=\"status_online\">Verfügbar</string>\n<string id=\"terms_of_services_label\">AGB</string>\n<string id=\"tos_url\">http://de.docs.yahoo.com/info/utos.html</string>\n<string id=\"turn_off_pingbox_label\">Pingbox abschalten</string>\n<string id=\"turn_on_pingbox_label\">Pingbox aktivieren</string>\n<string id=\"type_your_message\">Tippen Sie Ihre Message hier ein!</string>\n<string id=\"typing\">tippt</string>\n<string id=\"username_is_available\">%USERNAME% ist verfügbar</string>\n<string id=\"username_is_busy\">%USERNAME% ist beschäftigt</string>\n<string id=\"username_is_idle\">%USERNAME% ist im Leerlauf</string>\n<string id=\"username_is_offline\">%USERNAME% ist offline</string>\n<string id=\"visitor\">Besucher</string>\n<string id=\"ybang_instance_name\">logo_ybang_de</string>\n</strings>"; },
        getBackgrounds:function(){ return "<backgrounds><theme theme_id=\"1\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_smileybiggrin_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_smileybiggrin_1.jpg</thumbnail_url><default_color/></theme>\n<theme theme_id=\"2\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_smileydevil_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_smileydevil_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"3\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_yahoologorepeat_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_yahoologorepeat_1.jpg</thumbnail_url><default_color/></theme>\n<theme theme_id=\"4\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_shrooms_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_shrooms_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"5\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_skulls_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_skulls_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"6\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_cowboy_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_cowboy_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"7\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_fur_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_fur_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"8\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_hifi_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_hifi_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"9\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_grass_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_grass_1.jpg</thumbnail_url><default_color/></theme>\n<theme theme_id=\"10\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_wood_grain_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_wood_grain_1.gif</thumbnail_url><default_color/></theme><theme theme_id=\"11\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_serene_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_serene_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"12\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_mavrik_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_mavrik_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"13\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_waves_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_waves_1.jpg</thumbnail_url><default_color/></theme><theme theme_id=\"15\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_water_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_water_1.jpg</thumbnail_url><default_color/></theme>\n<theme theme_id=\"16\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_camo_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_camo_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"18\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_antique_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_antique_1.gif</thumbnail_url><default_color/></theme><theme theme_id=\"19\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_nnb_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_nnb_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"20\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_bluesketch_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_bluesketch_1.jpg</thumbnail_url><default_color/></theme>\n<theme theme_id=\"21\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_nouveauflowers_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_nouveauflowers_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"22\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_weeds_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_weeds_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"23\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_ckng_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_ckng_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"24\" tile=\"true\" group_id=\"0\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_greentea_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_greentea_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"101\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_yahoo_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_yahoo_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"102\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_pro_greyline_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_greyline_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"103\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_pro_gridsm_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_gridsm_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"104\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_pro_45line_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_45line_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"105\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_ylwskin_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_ylwskin_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"106\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_curve_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_curve_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"107\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_grey_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_grey_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"108\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_pur_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_pur_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"109\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_darkblu_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_darkblu_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"110\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_stream_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_stream_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"111\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_stripes_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_stripes_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"112\" tile=\"true\" group_id=\"5\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgscale_pro_blu_1.swf</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_pro_blu_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"201\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_halloween_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_halloween_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"202\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_fall_1.jpg</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_fall_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"203\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_cny_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_cny_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"204\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_indeday_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_indeday_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"205\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_stpatrick_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_stpatrick_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"206\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_thksgvng_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_thksgvng_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"207\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_giftgalore_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_giftgalore_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"208\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_hearts_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_hearts_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"209\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_hannukah_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_hannukah_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"14\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_snow_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_snow_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"211\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_sleighbells_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_sleighbells_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"212\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_kwanzaa_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_kwanzaa_1.gif</thumbnail_url><default_color/></theme>\n<theme theme_id=\"17\" tile=\"true\" group_id=\"6\"><wallpaper_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgtile_sea_easter_1.gif</wallpaper_url><thumbnail_url>http://l.yimg.com/us.yimg.com/i/msgr/widget/bg2/grp_pbbgthumb_sea_easter_1.gif</thumbnail_url><default_color/></theme>\n</backgrounds>"; },
        getCrumb:function(){ return "cd919040a5a30d8fe99b1b27b07d4a0f4b72261b"; },
        getAccess:function() { return 0; },
        getIntl:function() { return "de"; },

        doPopup:function(url, fullWin) {
            url = unescape(url);
            setTimeout( 
                function() {
                    var o = $(flashObjectId);
                    if(!window.open(url, "_blank", fullWin?"":"location=1,scrollbars=1,status=1,width=750,height=600")) {
                        o.onPopupBlocked(url); 
                    }
                }, 
                0
            );
        },
        loginPopup:function(url, fullWin) { YAHOO.Msgr.Pingbox.doPopup(url, fullWin, true); },
        isLoggedIn:function() { return !!YAHOO.Msgr.Pingbox.getCookie() },
        getCookie:function() {
            var ar = document.cookie.split("; ");
            for(var i=0; i<ar.length; i++){
                if((ar[i].substr(0,2)=="T=")){
                    return ar[i];
                }
            }       
            return "";
        },
        resizeStudio:function(width, height) {
            $D.setStyle(flashObjectId,'width',width+'px');
            $D.setStyle(flashObjectId,'height',height+'px');
        },
        reloadPage:function() {location.reload() },
        updateFlash:function(check, crumb, displayName, yid) {
            YAHOO.Msgr.Pingbox.getCrumb = function() { return crumb; };
            YAHOO.Msgr.Pingbox.getAccess = function() { return check; };
            YAHOO.Msgr.Pingbox.getDisplayName = function() { return displayName; };
            YAHOO.Msgr.Pingbox.getYid = function() { return yid; };
            // patch for weird behavior where the studio cranks out an insane amount of login popups.
            // this carries some edge-case downsides, such as the inability to tell if someone logged off after a popup login.
            YAHOO.Msgr.Pingbox.isLoggedIn = function() { return true; };

            try { // hide header login stuff
                var ygmalis = $('ygmauserinfo').getElementsByTagName('li');
                for (var i = ygmalis.length - 1; i >= 0; i--){
                    if(!$D.hasClass(ygmalis[i],'last-child')) { $D.setStyle(ygmalis[i],'display','none'); }
                };
            } catch (e) {}

            try { 
                var o = $(flashObjectId);
                o.userSignedIn();
                o.focus();
            } catch (e) {}

        },
        setHeader:function(param) {
            var header=document.getElementById('headText');
            switch(param) {
                case 1:
                case 2:
                default:
                    header.innerHTML="<strong>You've added Pingbox!</strong> Now you can send and receive IMs with visitors on your page using <a href='http://messenger.yahoo.com/win/'>Yahoo Messenger 9.0!</a>";
                }
        },
        setOrkutWid:function(wid) {
            gadgets.rpc.call('', 'addWid', YAHOO.Msgr.Pingbox.addCallback, wid );       
        },
        addCallback:function() {
            return false;
        },
        setFacebookWid:function(wid,complete) {
            if(complete!=0) {
                top.location.replace('http://apps.facebook.com/ypingbox/invite.php?ufid=&wid='+wid ) ;
            }
        }
    };
}();
