function popup(width,height,url,name,attr)
{
	if(attr!="")
		attr=","+attr;
	
	var limpide = window.open( url,name,"left="+(screen.availWidth-width)/2+",top="+(screen.availHeight-height)/2+",width="+width+",height="+height+attr);
	
	if( limpide != null )
	{
		limpide.focus();
	}
}