function editItem(col, row, usr, idt, cur, url)
{
	window.open('phpPortal/edit.php?col=' + col + '&row=' + row + '&usr=' + usr + '&idt=' + idt + '&cur=' + cur + '&u_portal_home=' + escape(url), 'Edit', 'width=460,height=420,scrollbars=yes, resizable=yes');
}

function openParam(url)
{
	window.open('phpPortal/param.php?u_portal_home=' + escape(url), 'Param', 'width=600,height=420,scrollbars=yes, resizable=yes');
}
function PopupCentrer(page,largeur,hauteur,options)
{
	var top=(screen.height-hauteur)/2;
	var left=(screen.width-largeur)/2;
	window.open(page,"popup","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
}

function PopupFullScreen(page ,options)
{
   window.open(page,"popup", options);
}

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
