var articleURL = 'http://www.wort.lu/wort/web/dossiers/index.php'; var articleTitle = 'Steuersünder: Verfolgen bayerische Fahnder Spur nach Luxemburg?'; var teaserTitle = ''; var teaserText = 'Nach der Zusage zum Kauf einer umstrittenen CD mit Informationen über deutsche Steuersünder hat im Nachbarland Deutschland offenbar die Jagd auf Fiskusflüchtlinge begonnen. Laut dem Nachrichtenmagazin “Spiegel” führt eine Spur der bayerischen Steuerfahndung auch zu einem Geldinstitut nach Luxemburg.'; function postToMyspace(){ var targetUrl = 'http://www.myspace.com/Modules/PostTo/Pages/?u=' + encodeURIComponent(articleURL) + '&t=' + encodeURIComponent(teaserTitle) + '&c=' + encodeURIComponent(teaserText); window.open(targetUrl); } function postToFacebook() { var targetUrl = 'http://www.facebook.com/sharer.php?u=' + encodeURIComponent(articleURL) + '&t=' + encodeURIComponent(teaserTitle); window.open(targetUrl); } function postToDigg() { var targetUrl = 'http://digg.com/submit?url=' + encodeURIComponent(articleURL) + '&title=' + encodeURIComponent(teaserTitle) + '&bodytext=' + encodeURIComponent(teaserText); window.open(targetUrl); } function postToDelicious() { var targetUrl = 'http://del.icio.us/post?url=' + encodeURIComponent(articleURL) + '&title=' + encodeURIComponent(teaserTitle); window.open(targetUrl); } function postToGoogle() { var targetUrl = 'http://www.google.com/bookmarks/mark?op=add&hl=de&bkmk=' + encodeURIComponent(articleURL) + '&title=' + encodeURIComponent(teaserTitle); window.open(targetUrl); } function postToLinkedIn() { var targetUrl = 'http://www.linkedin.com/shareArticle?mini=true&url=' + encodeURIComponent(articleURL) + '&title=' + encodeURIComponent(teaserTitle) + '&summary=' + encodeURIComponent(teaserText) +'&source=wort.lu'; window.open(targetUrl); } function postToYaHoo() { var targetUrl = 'http://bookmarks.yahoo.com/toolbar/savebm?u='+encodeURIComponent(articleURL) + '&t=' + encodeURIComponent(teaserTitle); window.open(targetUrl); } function postToWindowsLive() { var targetUrl = 'http://favorites.live.com/quickadd.aspx?url='+encodeURIComponent(articleURL) + '&title=' + encodeURIComponent(teaserTitle) + '&text=' + encodeURIComponent(teaserText); window.open(targetUrl); } function postToTwitter() { var targetUrl = 'http://twitter.com/home?status='+ encodeURIComponent(articleTitle ) + ' @wort_lu'; window.open(targetUrl); } function updateInfo(text) { $('artikel_link_info').update(text); } function updateInfoStd() { $('artikel_link_info').update('Artikel Bookmarken'); } function displayEmailBox() { $('artikel_link_email').show(); $('artikel_link_email_error').hide(); $('artikel_link_email_success').hide(); $('artikel_link_bookmark').hide(); } function displayBookmarkBox() { $('artikel_link_email').hide(); $('artikel_link_email_error').hide(); $('artikel_link_email_success').hide(); $('artikel_link_bookmark').show(); } function checkArticleMail() { var error = ''; var boolErr = false; var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; var emailTo = $('email_to').getValue(); var emailFrom = $('email_from').getValue(); if ( emailTo.length == 0 ) { error += '