/* This notice must be untouched at all times.

Version 1.0
Author: Christian Mogge
*/

        
function showProfilePicture(desc, picture)
{
  var code = desc + "<br/><img src=\'userpics/profile/"+picture+"\'>";
  Tip(code);
}

function showPicture(picture)
{
  var code = "<img src=\'"+picture+"\'>";
  Tip(code);
}

function showPictureFromUser(desc, picture)
{
  var code = desc + "<br/><img src=\'"+picture+"\'>";
  Tip(code);
}

function showOriginal()
{
  var code = "<p align=\'center\'><img src=\'images/icons/accept.png\'>&nbsp;Dieser Flirter wurde von uns als ECHT geprüft und bestätigt!<br/><img src=\'images/echt.jpg\'><br/>Lade auch du ein Bild hoch, welches deine Echtheit beweist.</p>";
  Tip(code);
}

function reload(lang){
  var cook= "language="+lang;
  document.cookie=cook;
  //location.href('http://www.elflirt.de/);
  window.location.reload();
  location.href('http://www.elflirt.de');
}


function languageChanged(url, lang)
{
  var add = "&language="+lang.value;
  
  window.parent.location=url+add;
}