	function clickSalleDM (salle_id)
	{
		document.location='Fiche.aspx?from=dm&IDSalle=' + salle_id;
	}
	
	function clickSallePromo (salle_id)
	{
		document.location='Fiche.aspx?from=promo&IDSalle=' + salle_id;
	}
	function clickSalle (salle_id)
	{
		document.location='/pro/Fiche.aspx?IDSalle=' + salle_id;
	}
	function clickSalleP (prest_id)
	{
		document.location='Fichep.aspx?IDPrestataire=' + prest_id;
	}
	function clickPrestaPromo (prest_id)
	{
		document.location='Fichep.aspx?from=promo&IDPrestataire=' + prest_id;
	}
	
	function NewWindowsScroll(mypage,myname,w,h,pos,infocus) 
	{
	    NewWindowScroll(mypage,myname,w,h,pos,infocus);
	    return false;
    }
    function NewWindowScroll(mypage,myname,w,h,pos,infocus) 
    {
	    if(pos=="random") {
		    myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
    		mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;
	    }
	    if(pos=="center") {
		    myleft=(screen.width)?(screen.width-w)/2:100;
		    mytop=(screen.height)?(screen.height-h)/2:100;
	    }
	    else if((pos!='center' && pos!="random") || pos==null) {
		    myleft=0;
		    mytop=20;
	    }
	    settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=1,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no";
	    win=window.open(mypage,myname,settings);
	    win.focus();
    }
    function DevisAffiche(DevisId)
    {
      document.location ='Recapitulatif.aspx?IDDemandeDevisSalle='+DevisId;
    }
    function DevisAffichep(DevisId)
    {
      document.location ='Recapitulatif.aspx?IDDemandeDevisPrest='+DevisId;
    }
    function AfficheSalleOubliee(IDSalle)
    {
      document.location ='OubliMdp.aspx?IDSalle='+IDSalle;
    }
    function AffichePrestOublie(IDPrest)
    {
      document.location ='OubliMdpp.aspx?IDPrest='+IDPrest;
    }
    function AppelOffreAfficheClient(AO_Id)
    {
      document.location = 'suiviAppelOffre.aspx?IDAppelOffre=' + AO_Id;
    }
    
    function AppelOffreAfficheAbonne(AO_Id)
    {
      document.location = 'detailAppelOffre.aspx?IDAppelOffre=' + AO_Id;
    }
     function PaiementAffiche(PaiementId)
    {
      document.location = 'RecapitulatifPaiements.aspx?IDPaiement=' + PaiementId;
    }
    function PaiementAffichep(PaiementId)
    {
      document.location = 'RecapitulatifPaiementsp.aspx?IDPaiement=' + PaiementId;
    }
    