var strBaseURL          = "http://www.1-porno.org/";
var strPrefixePageVideo = "video-";
var strSuffixePageVideo = ".html";

function mdBestOf(objLien, pctValue, bValF, strTraceurEPT, strUrl)
{
  valF = "";
  if (bValF == true) valF = "&f=1";
  objLien.href="./ept/out.php?pct="+ pctValue + valF + "&link="+strTraceurEPT+ "&url="+strBaseURL+strPrefixePageVideo+strUrl+strSuffixePageVideo;
  return true;
}

function moBestOf(objLien, strUrl)
{
  objLien.href = strBaseURL+strPrefixePageVideo+strUrl+strSuffixePageVideo;

  return true;
}

function mdBTxt(objLien, indice, pctValue, bValF, strTraceurEPT, strUrl)
{
  strTraceurEPTVideo = "Txt" + indice + strTraceurEPT;
  return mdBestOf(objLien, pctValue, bValF, strTraceurEPTVideo, strUrl);
}

function moBTxt(objLien, strUrl)
{
  return moBestOf(objLien, strUrl);
}

function mdBImgMil(objLien, indice, pctValue, bValF, strTraceurEPT, strUrl)
{
  strTraceurEPTVideo = "imgMil" + indice + strTraceurEPT;
  return mdBestOf(objLien, pctValue, bValF, strTraceurEPTVideo, strUrl);
}

function moBImgMil(objLien, strUrl)
{
  return moBestOf(objLien, strUrl);
}

function mdBHead(objLien, indice, pctValue, bValF, strTraceurEPT, strUrl)
{
  strTraceurEPTVideo = "Head" + indice + strTraceurEPT;
  return mdBestOf(objLien, pctValue, bValF, strTraceurEPTVideo, strUrl);
}

function moBHead(objLien, strUrl)
{
  return moBestOf(objLien, strUrl);
}

function mdBLeft(objLien, indice, pctValue, bValF, strTraceurEPT, strUrl)
{
  strTraceurEPTVideo = "gau" + indice + strTraceurEPT;
  return mdBestOf(objLien, pctValue, bValF, strTraceurEPTVideo, strUrl);
}

function moBLeft(objLien, strUrl)
{
  return moBestOf(objLien, strUrl);
}

function mdBRight(objLien, indice, pctValue, bValF, strTraceurEPT, strUrl)
{
  strTraceurEPTVideo = "dr" + indice + strTraceurEPT;
  return mdBestOf(objLien, pctValue, bValF, strTraceurEPTVideo, strUrl);
}

function moBRight(objLien, strUrl)
{
  return moBestOf(objLien, strUrl);
}

function mdBestOfPartenaire(objLien, strTraceurEPT, strDomaine)
{
  objLien.href="./ept/out.php?link=txtPart"+strTraceurEPT+"&trade="+strDomaine;
  return true;
}

function moBestOfPartenaire(objLien, strDomaine)
{
  objLien.href = "http://www."+strDomaine;

  return true;
}