function OpenPlan(idplan)
{
Url = 'http://intvg.sites-acs.net/plan-mappy/?id=06930829-' + idplan;
Titre = 'Plan';
Param = 'width=640,height=550';
window.open(Url,Titre,Param);
}


function OpenPlanSimul()
{
Url = 'images/plan.swf';
Titre = 'PlanSimul';
Param = 'width=640,height=550';
window.open(Url,Titre,Param);
}


function OpenImg()
{
Url = 'images/rappel.gif';
Titre = 'Zoom';
Param = 'width=400,height=280';
window.open(Url,Titre,Param);
}


function OpenFormP()
{
Url = 'htfr/0012.htm';
Titre = 'Messagerie';
Param = 'width=700,height=700,scrollbars=yes';
window.open(Url,Titre,Param);
}


document.cookie = 'chkcook=54321;';
bCookieOn = document.cookie.indexOf('chkcook=');
aAction = '0'; // Toujours  0 pour les clients PJ
logoD = '0005'; // Logo pour rappel diffr. Actuellement inactif
function fcallback()
{
if (document.images["callback"].width > 1) {
window.open('http://callback.sites-acs.net/Webclient/client/callme.php?HNOaction='+aAction+'&idc='+iIdc+'&bCookieOn='+bCookieOn+'&url='+sUrl,'CallServer','toolbar=no,directories=no,status=no,menubar=no,resizable=no,width=310,height=380,top=200,left=200,scrollbars=no');
}
}
//Init Global
gif_loop="init";
function fcallbackstat()
{
if ((gif_loop == "init") && (document.images["callback"].width > 1))
{
callbackStat= new Image(1,1);
callbackStat.src="http://callback.sites-acs.net/Webclient/client/aff.php?idc="+iIdc+"&url="+sUrl;
gif_loop="";
}
}



function Zoom(theURL) 
{ 
w=window.open(theURL,"Photos","toolbar=no,menubar=no,location=no,scrollbars=no,resizable=no,width=350,height=400");
MSIE=(navigator.appVersion.indexOf("MSIE")!=-1);
VERS=parseInt(navigator.appVersion);
if ((!MSIE) || (VERS >=5))
w.focus();
}