var __lyrics=0;

function player(id)
{
  var eng='', ger='', img='', p, url='', top='', txt='';

  if ((cfg & 0x00F0) == 0) {

    alert("Die Multimedia-Wiedergabe ist abgestellt!\n\nSie können Multimedia unter 'Einstellungen' anschalten.")

    return;
  }

  switch (id) {
    case 1820:
      url = "sounds/kevin_mcarthy-20090303.mp3";
      top = "Sprachnachricht von Kevin Mcarthy (03.03.2009)";
      break;

    case 1810:
      url = "sounds/kevin_mcarthy-20090113.mp3";
      top = "Sprachnachricht von Kevin Mcarthy (13.01.2009)";
      break;

    case 1800:
      url = "sounds/kevin_mcarthy-20081228.mp3";
      top = "Gesangseinlage für Dana von Kevin Mcarthy (28.12.2008)";
      eng = "<img src='gfx/smilies/swing.gif' hspace='4' vspace='4'>";
      break;

    case 1700:
      url = "sounds/david_franklin-20090113.mp3";
      top = "Sprachnachricht von David Franklin (13.01.2009)";
      break;

    case 1600:
      url = "sounds/fatima_bwaya-20081207.mp3";
      top = "Sprachnachricht von Fatima Bwaya (07.12.2008)";
      break;
    case 1500:
      url = "sounds/mr_martinez-20080117.mp3";
      top = "Sprachnachricht von Mr. A.C. Martinez (17.01.2008)";
      break;
    case 1400:
      url = "sounds/rosemary_savimbi-20071222.mp3";
      top = "Sprachnachricht von Rosemary Savimbi (22.12.2007)";
      break;
    case 1300:
      url = "sounds/pastor_paul-20070825.mp3";
      top = "Sprachnachricht von Pastor Paul (25.08.2007)";
      txt = "Anruf von Pastor Paul aus Ghana von der Rufnummer <a href='tools/phone_de.phtml?q=00233275492132'>+233-27-5492132<\/a><hr>"; 
      eng = "Here is Pastor Paul from Ghana.<br><br>"+
	    "I receive your mail with nervouscy.<br><br>"+
	    "I'm going back now to compromise everything "+
	    "and ask you for the bank so far.<br><br>"+
	    "I'm pending our contract.<br><br>"+
	    "This know this money is cookie debance "+
	    "and for me all I information to them "+
	    "I did them contact for you so far.<br><br>"+
	    "Yours in hurry - Pastor Paul.<br>"+
	    "Please together: \"Aba, Aba, Aba,\"";
      ger = "Hier ist Pastor Paul aus Ghana.<br><br>"+
	    "Ich erhielt ihre Mail mit Ungeduld.<br><br>"+
	    "Ich möchte nicht alles gefährden und "+
	    "frage daher nach dem Namen der Bank.<br><br>"+
	    "Ich folge unserer Abmachung.<br><br>"+
	    "Du sollt wissen, dass das Geld bereit liegt und "+
            "ich so frei war, die Bank in deinem Namen zu kontaktieren.<br><br>"+
            "Dein eiliger Pastor Paul.<br>"+
            "Lass uns beten: \"Vater, Vater, Vater.\"";
      break;
    case 1310:
      url = "sounds/pastor_paul-20070827.mp3";
      top = "Sprachnachricht von Pastor Paul (27.08.2007)";
      txt = "Anruf von Pastor Paul aus Ghana von der Rufnummer <a href='tools/phone_de.phtml?q=00233275492132'>+233-27-5492132<\/a><hr>"; 
      eng = "Pastor Giorgio here is Pastor Paul from Ghana.<br><br>"+
	    "Now we have some deal information to debance. OK.<br><br>"+
	    "Always good day.<br>"+
	    "\"Aba, Aba, Aba,\" - Bye, bye";
      ger = "Pastor Giorgio hier ist Pastor Paul aus Ghana.<br><br>"+
	    "Wir haben einige Informationen über unseren Handel. OK.<br><br>"+
	    "Einen schönen Tag.<br>"+
            "\"Vater, Vater, Vater.\" - Tschüß";
      break;
    case 1320:
      url = "sounds/pastor_paul-20070828.mp3";
      top = "Telefongespräch mit Pastor Paul (28.08.2007)";
      break;
    case 1200:
      url = "sounds/dominic_whajan-20070724.mp3";
      top = "Sprachnachricht von Dominic Whajan (24.07.2007)";
      eng = "Hello. Good morning Mr. Sven.<br><br>" +
	    "This is Mr. Dominic (Whajan) from<br>" +
	    "Global Trust Company in Switzerland<br><br>" +
	    "Please I call you yesterday,<br>" +
	    "but I couldn't reach you,<br>" +
	    "cause this is why I'm calling today.<br><br>" +
	    "My call is a review of Mr. Trevor Chambers,<br>" +
	    "construction we have a deal.<br>" +
	    "And you know I'm recharge you hope some question in<br>" +
	    "Switzerland, do that is why I'm calling you today.<br>" +
	    "And give you the message ?again? and<br>" +
	    "and how we complete and how you can come<br>" +
	    "to Switzerland and meet me.<br><br>" +
	    "Please try to reach me on this number,<br>" + 
	    "I would look you for the call,<br>" +
	    "because tomorrow I'm travelling.<br>" +
	    "Please try to call me today.<br><br>" +
	    "The number is <a href='tools/phone_de.phtml?q=0041786221430'>0041786221430<\/a>.<br>" +
	    "The number again is 0041786221430.<br>" +
	    "Thank you and I'm waiting for you or your call.<br><br>" +
	    "Bye";
      ger = "Hallo. Guten Morgen Mr. Sven<br><br>" +
	    "Hier ist Doninic (Whajan) von der<br>" +
	    "Global Trust Company - Schweiz.<br><br>" +
	    "Ich rief Sie bereits gestern an,<br>" +
	    "aber Sie waren nicht zu erreichen.<br>" +
	    "Deshalb rufe ich heute wieder an.<br><br>" +
	    "Mein Anruf hat mit Trevor Chambers zu tun,<br>" +
	    "wir haben ein noch ein Geschäft laufen.<br>" +
	    "Es sind noch einige Fragen offen,<br>" +
	    "daher rufe ich Sie heute an,<br>" +
	    "um Ihnen Nachricht zu geben, dass wir<br>" +
	    "zu einem Geschäftsabschluss kommen und<br>" +
	    "Sie mich in der Schweiz treffen können.<br><br>" +
            "Bitte versuchen Sie mich anzurufen,<br>" +
	    "ich erwarte heute Ihren Rückruf,<br>" +
	    "da ich morgen unterwegs bin.<br>" +
	    "Bitte rufen Sie mich heute an.<br><br>" +
	    "Die Rufnummer lautet: <a href='tools/phone_de.phtml?q=0041786221430'>0041786221430<\/a>,<br>" +
	    "nochmal, die Nummer ist: 0041786221430<br>" +
	    "Vielen Dank, ich warte auf Sie bzw. Ihren Anruf.<br><br>" +
	    "Tschüß";
      break;
    case 1100:
      url = "sounds/robbinsonjames_20070205.mp3";
      top = "Sprachnachricht von Robbinson James (05.02.2007)";
      break;
    case 1000:
      url = "sounds/salomon_eze-20061227.mp3";
      top = "Sprachnachricht von Salomon Eze (27.12.2006)";
      break;
    case 950:
      url = "sounds/sean_jones-20060330.mp3";
      top = "Sprachnachricht von Sean Jones (29.07.2006)";
      break;
    case 900:
      url = "sounds/whyn_jacob-20060522.mp3";
      top = "Sprachnachricht von Dr. Whyn Olu Jacob (22.05.2006)";
      txt = "Telefonanruf für \"Jan van de Groov\" von der Nummer <a href='tools/phone_de.phtml?q=002348034118248'>+234 803 411 8248<\/a> aus Nigeria.";
      break;
    case 800:
      url = "sounds/kofi_annan-20060506.mp3";
      top = "Sprachnachricht von \"Kofi Annan\" von der UNO (06.05.2006)";
      eng = "Hello Mr. Casper Le Theater.<br>" +
	    "This is Kofi Annan.<br><br>" +
	    "I'm calling cause you have an e-mail.<br>" +
	    "Please check your e-mail!<br><br>" +
	    "You have a wonderful day.<br>" +
	    "Thank you";
      ger = "Hallo Herr Casper Le Theater.<br>" +
	    "Hier ist Kofi Annan.<br><br>" +
	    "Ich rufe an, weil Sie Post haben.<br>" +
	    "Bitte rufen Sie Ihre E-Mails ab!<br><br>" +
	    "Haben Sie einen schönen Tag.<br>" +
	    "Vielen Dank";
      break;
    case 700:
      url = "sounds/robert_new-20060404.mp3";
      top = "Sprachnachricht von Robert Proffitt (05.04.2006)";
      eng = "Hello. Good morning.<br><br>" +
    	    "Is that Reverend Horst?<br><br>" +
	    "Hello, this ist Robert.<br><br>" +
	    "I am the son of my late New.<br><br>" +
	    "Please can you call me in Belgium?<br><br>" +
	    "Can you call me on this number<br>" +
	    "so we can discuss?<br><br>" +
	    "Thank you very much and God bless you!";
      ger = "Hallo. Guten Morgen.<br><br>" +
    	    "Ist dort Reverend Horst?<br><br>" +
	    "Hallo, hier ist Robert.<br><br>" +
	    "Ich bin der Sohn des verstorbenen New.<br><br>" +
	    "Bitte können Sie mich in Belgien anrufen?<br><br>" +
	    "Können Sie mich unter dieser Nummer anrufen,<br>" +
	    "damit wir miteinander sprechen können?<br><br>" +
	    "Vielen Dank und Gott segne Sie."
      break;
    case 701:
      url = "sounds/robert_new-20060405.mp3";
      top = "Sprachnachricht von Robert Proffitt (05.04.2006)";
      eng = "Good morning Sir.<br>" +
    	    "It is me - Robert.<br><br>" +
	    "The Son of Mrs. Nine.<br><br>" +
	    "Please, this is the second time<br>" +
	    "I'm leaving a message.<br><br>" +
	    "Yeah, my mother wants you to get<br>" +
	    "in touch, only I'm in Belgium now.<br><br>" +
	    "Please call me on this number<br>" +
	    "so we can diskuss.<br><br>" +
	    "Thank you";
      ger = "Guten Morgen mein Herr.<br>" +
    	    "Ich bin es - Robert.<br><br>" +
    	    "Der Sohn von Mrs. Nine.<br><br>" +
    	    "Bitte, dies ist das zweite Mal,<br>" +
	    "dass ich eine Nachricht hinterlasse.<br><br>" +
	    "Yeah, meine Mutter möchte Sie erreichen,<br>" +
    	    "leider bin ich gerade in Belgien.<br><br>" +
    	    "Bitte rufen Sie mich unter dieser Nummer zurück,<br>" +
    	    "damit wir miteinander sprechen können<br><br>" +
	    "Vielen Dank";
      break;
    case 702:
      url = "sounds/robert_new-20060406.mp3";
      top = "Sprachnachricht von Robert Proffitt (06.04.2006)";
      eng = "Hello Reverend.<br><br>"+
    	    "It is me - Robert<br><br>"+
  	    "Please try and get in contact with me<br>"+
    	    "so we can ??? dis'acuty ??? <br><br>"+
    	    "And I'm asking them to try and translate<br>"+
            "the message to you, so they said<br>"+
            "they are going to do it today.<br><br>"+
	    "Thank you very much";
      ger = "Hallo Reverend.<br><br>"+
    	    "Ich bin es - Robert.<br><br>"+
    	    "Bitte versuchen Sie Kontakt zu mir herzustellen,<br>"+
    	    "so dass wir... ???<br><br>"+
            "Und ich habe sie gebeten zu versuchen die<br>"+
            "Nachricht an Sie zu übersetzen, sie sagten,<br>"+
            "sie werden es heute machen.<br><br>"+
	    "Vielen herzlichen Dank";
      break;
    case 703:
      url = "sounds/robert_new-20060407.mp3";
      top = "Sprachnachricht von Robert Proffitt (07.04.2006)";
      eng = "Good morning.<br><br>" +
    	    "Please talk.<br><br>" +
    	    "It's me - Robert<br><br>" +
    	    "I'm still hoping to hear from you.<br><br>" +
    	    "My mother said you never<br>" +
	    "reply to her email.<br><br>" +
    	    "Please trying contact her<br>" +
	    "as soon as possible.<br><br>" +
	    "Thank you";
      ger = "Guten Morgen.<br><br>" +
    	    "Bitte sprechen Sie.<br><br>" +
    	    "Ich bin's - Robert.<br><br>" +
    	    "Ich hoffe von ihnen zu hören.<br><br>" +
    	    "Meine Mutter sagte, dass Sie nie<br>" +
	    "auf ihre Mail antworten.<br><br>" +
    	    "Bitte versuchen Sie, so schnell wie<br>" +
    	    "möglich Kontakt mit ihr aufzunehmen.<br><br>" +
	    "Vielen Dank";
      break;
    case 704:
      url = "sounds/robert_new-20060410.mp3";
      top = "Telefongespräch mit Robert Proffitt (10.04.2006)";
	break;
    case 705:
      url = "sounds/robert_new-20060410-2.mp3";
      top = "Sprachnachricht von Robert Proffitt (10.04.2006)";
	break;
    case 706:
      url = "sounds/robert_new-20060412.mp3";
      top = "Telefongespräch mit Robert Proffitt (12.04.2006)";
	break;
    case 707:
      url = "sounds/robert_new-20060419.mp3";
      top = "Telefongespräch mit Robert Proffitt (19.04.2006)";
	break;
    case 708:
      url = "sounds/robert_new-20060421.mp3";
      top = "Sprachnachricht von Robert Proffitt (21.04.2006)";
	break;
    case 709:
      url = "sounds/robert_new-20060425.mp3";
      top = "Telefongespräch mit Robert Proffitt (25.04.2006)";
	break;
    case 710:
      url = "sounds/robert_new-20060428.mp3";
      top = "Sprachnachricht von Robert Proffitt (28.04.2006)";
	break;
    case 711:
      url = "sounds/robert_new-20060429.mp3";
      top = "Sprachnachricht 1 von Robert Proffitt (29.04.2006)";
	break;
    case 712:
      url = "sounds/robert_new-20060429-2.mp3";
      top = "Sprachnachricht 2 von Robert Proffitt (29.04.2006)";
	break;
    case 713:
      url = "sounds/robert_new-20060502.mp3";
      top = "Telefongespräch mit Robert Proffitt (02.05.2006)";
	break;
    case 714:
      url = "sounds/robert_new-20060503.mp3";
      top = "Sprachnachricht von Robert Proffitt (03.05.2006)";
	break;
    case 600:
      url = "sounds/chris_khumalo-20060330.mp3";
      top = "Sprachnachricht von Christopher Khumalo (30.03.2006)";
      eng = "Hi Professor Jura.<br>"+
	    "This is Chris Khumalo calling from South Africa.<br><br>"+
	    "Please can you call me by <a href='tools/phone_de.phtml?q=002772255'>+2773355<\/a>.<br><br>"+
	    "Thank you";
      ger = "Hallo Professor Jura.<br>"+
	    "Hier ist Chris Khumalo aus Südafrika.<br><br>"+
	    "Können Sie mich unter <a href='tools/phone_de.phtml?q=002772255'>+2773355<\/a> zurückrufen.<br><br>"+
	    "Vielen Dank";
	break;
    case 500:
      url = "sounds/mosa_williams_1.mp3";
      top = "Sprachnachricht 1 von Mosa Williams (11.03.2006)";
	break;
    case 501:
      url = "sounds/mosa_williams_2.mp3";
      top = "Sprachnachricht 2 von Mosa Williams (14.03.2006)";
      txt = "Sprachnachricht von Mosa Williams aus Südafrika von der Rufnummer <a href='tools/phone_de.phtml?q=002348051392344'>+234 805 139 2344<\/a> aus Nigeria mit der Bitte um Kontaktaufnahme nach Amsterdam ";
	break;
    case 400:
      url = "sounds/barrister_taylor_1.mp3";
      top = "Sprachnachricht 1 von Barrister McTaylor";
	break;
    case 401:
      url = "sounds/barrister_taylor_2.mp3";
      top = "Sprachnachricht 2 von Barrister McTaylor";
	break;
    case 402:
      url = "sounds/barrister_taylor_3.mp3";
      top = "Sprachnachricht 3 von Barrister McTaylor";
	break;
    case 300:
      url = "sounds/barrister_williams-20060119.mp3";
      top = "Sprachnachricht von Barrister Williams (19.01.06)";
	break;
    case 200:
      url = "sounds/lawson_akwasi_1-20060106.mp3";
      top = "Sprachnachricht 1 von Lawson Akwasi (06.01.06)";
	break;
    case 201:
      url = "sounds/lawson_akwasi_2-20060106.mp3";
      top = "Sprachnachricht 2 von Lawson Akwasi (06.01.06)";
	break;
    case 100:
      url = "sounds/frank_wang-20050805.mp3";
      top = "Sprachnachricht von Frank Wang (20.08.05)";
	break;

    default:
  }

  if (document.getElementById) {

    if (img)
      img = '<img src="'+img+'" hspace="4" vspace="4">';

    popup("m"+id,'width:500px;left:90px;top:-12px;',top,'<div style="margin:4px">'+get_player(url)+'<\/div><table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="poptext" colspan="2">'+txt+'<\/td><\/tr><tr valign="top"><td class="poptext" width="50%">'+eng+'<\/td><td class="poptext" width="50%">'+ger+'<\/td><\/tr><\/table>'+img);

    return;
  }

  if (!__lyrics || __lyrics.closed)
    __lyrics = window.open("", "lyrics", "width=500,height=400,resizable=yes,scrollbars=yes,menubar=no,location=no,status=no,screenX=0,screenY=0");

  __lyrics.document.write('<html><head><title>'+top+'<\/title><link rel="stylesheet" type="text/css" href="style.css"><\/head><body bgcolor="FFFFE0" link="#404080" alink="#404080" vlink="#404080" onload="if(self.sizeToContent)self.sizeToContent()">');
  __lyrics.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="4"><tr><td class="pophead" width="100%">'+top+'<\/td><\/tr><tr><td width="100%">'+get_player(url)+'<\/td><\/tr><\/table>');
  __lyrics.document.write('<table width="100%" border="0" cellspacing="0" cellpadding="4"><tr valign="top"><td class="poptext" width="50%">'+eng+'<\/td><td class="poptext" width="50%">'+ger+'<\/td><\/tr><\/table><\/body><\/html>');
  __lyrics.document.close();

  __lyrics.focus();
}

function get_player(url)
{
  var p;

  if (snd)
    url = snd + url;

  if ((cfg & 0x0F00) == 0x0200 && have_swf()) {
    p = '<embed src="sounds/mplayer.swf" type="application/x-shockwave-flash" width="240" height="20" quality="high" flashvars="file='+url+'&autostart=true&repeat=false&showeq=false&showdigits=true&showdownload=true&link='+url+'"><\/embed>';

    if ((cfg & 0x00F0) == 0x0020)	// with ActiveX
      p = '<obj'+'ect classid="CLSID:D27CDB6E-AE6D-11CF-96B8-444553540000" width="240" height="20"><param name="movie" value="sounds/mplayer.swf"><param name="quality" value="high"><param name="flashvars" value="file='+url+'&autostart=true&repeat=false&showeq=false&showdigits=true&showdownload=true&link='+url+'">'+p+'<\/object>';
  }
  else {
    p = '<embed src="'+url+'" type="audio/mpeg" autostart="true" loop="false" width="400" height="45"><span class="poptext"><a href="'+url+'" type="audio/mpeg">Datei laden<\/a><\/span><\/embed>';

    if ((cfg & 0x00F0) == 0x0020)	// with ActiveX
      p = '<obj'+'ect classid="CLSID:05589FA1-C356-11CE-BF01-00AA0055595A" width="400" height="45"><param name="filename" value="'+url+'"><param name="autostart" value="true">'+p+'<\/object>';
  }

  return p;
}

function add_mp3(id)
{
  document.write('<span class="pop" id="m'+id+'"><\/span><a href="javascript:void(0)" onclick="player('+id+')"><img class="control" src="gfx/hear.jpg" alt="Anh&ouml;ren" border="0"><\/a>');
}


function mp3_player(id)
{
  return '<span class="pop2" id="m'+id+'"><\/span><a href="javascript:void(0)" onclick="player('+id+')"><img class="control" src="gfx/hear.jpg" alt="Anh&ouml;ren" border="0" vspace="8"><\/a>';
}


