/*
  $Id: ficheprod.js,v 1.0 2007/02/10 22:30:55 hpdl Exp $

   plug-in #1

*/
function openFicheProd(url){
//debug	//alert(url);
var Width = 860 ;
var Height = 590 ;
var Top = 0 ;
var Left =( screen.width - Width )/ 2;
var popUrl = url;
//alert('passed! ->'+url);
self.name = "WinMain";
fenRef = window.open (popUrl, "Descriptif", "top="+Top+", left="+Left+", width="+Width+", height="+Height+", resizable=yes,scrollbars=yes, toolbar=no, location=no, directories=no, status=no, scrollbars=yes");
fenRef.name = "nouvelle";

}



function pUpToWmain(MainGetUrl)
{
//debug
//alert('passed! ->'+MainGetUrl)
;}
function addtocart(Url,quant)
{
//debug
//alert ('passed->'+Url+'&quant='+quant );
//
var urlSansQuant = Url;
var urlAvecQuant = urlSansQuant.replace("||",quant);
//alert (urlAvecQuant );
window.location.href = urlAvecQuant ;

;}



