function affichePub(div,para) {
  document.getElementById(div).innerHTML=para;
}
 
function post_shop(url_shop,prod_name,marque,price,cours,page_type,colonne,pays,ligne_type) {
  document.getElementById("url_shop").value=url_shop;
  document.getElementById("country_post").value=pays;
  document.getElementById("prod").value=prod_name;
  document.getElementById("brand").value=marque;
  document.getElementById("prix").value=price;
  document.getElementById("cours_devise").value=cours;
  document.getElementById("type_page").value=page_type;
  document.getElementById("column").value=colonne;
  document.getElementById("type_ligne").value=ligne_type;
  document.getElementById("TLH_SOL").value=location.hostname;
  document.getElementById("shop").submit();
}
 
 
function demarreSolDisclaim(partner_name) {
 //var fo = new SWFObject("http://87.98.167.182/shopping/sol_byebye.swf","solDisclaim", "1", "1", "8", "#FFFFFF"); // attention à cible_domaine plus bas !!
 var fo = new SWFObject("/shopping/sol_byebye.swf","solDisclaim", "1", "1", "8", "#FFFFFF");
 fo.addVariable("partner", partner_pub);
 fo.addVariable("brand", brand_pub );
 fo.addVariable("product", product_pub );
// fo.addVariable("internal", initial_pub );
 fo.addVariable("byebye", "byebye" );
 fo.addVariable("coun", country_pub );
 fo.addVariable("country_ip", country_ip_pub );
// fo.addVariable("cible_domaine", "rps" ); 
 fo.addVariable("cible_domaine", "home" ); 
 fo.addVariable("diploCat", diploCat_pub );
// fo.addVariable("dejaCat", (cat_kelkoo_pub=="-1" ? 0 : 1) );
 fo.addVariable("TLH", location.hostname);
 fo.addParam ("allowScriptAccess","always");
 fo.addParam ("wmode","opaque");
 fo.write("solDisclaim_flash");
}


document.write('<form id="shop" action="/shopping/redirect_shop.php" method="POST" target="_blank"><input type="hidden" name="prod" id="prod" value="empty" /> <input type="hidden" name="url_shop" id="url_shop" value="empty" />  <input type="hidden" name="prix" id="prix" value="empty" />  <input type="hidden" name="brand" id="brand" value="empty" />  <input type="hidden" name="cours_devise" id="cours_devise" value="1" /> <input type="hidden" name="type_page" id="type_page" value="empty" /><input type="hidden" name="column" id="column" value="empty" /><input type="hidden" name="country_post" id="country_post" value="empty" /><input type="hidden" name="type_ligne" id="type_ligne" value="empty" /><input type="hidden" name="TLH_SOL" id="TLH_SOL" value="empty" /></form>');
document.write('<div id="divByeByePub" align="center"><img src="/shopping/data_loaded.gif"></div><div id="solDisclaim_flash" align="center"></div>');
setTimeout("demarreSolDisclaim()",500);
