/* 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(picture)
{
  var code = "<p align=\'left\'><h3><img src=\'images/icons/original.png\'>&nbsp;Profil geprüft und als Echt zertifiziert!</h3><br/><img src=\'userpics/"+picture+"\'><br/><img src=\'images/icons/original.png\'>&nbsp;Lade auch Du ein Echtheitsbild hoch!</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;
}

function billingChanged(type, val)
{
  var url = "http://www.elflirt.de/ef_account_transfer.php";
  var add = "?type="+type+"&monthyear="+val.value;
  
  window.parent.location=url+add;
}
