var win;
function flotante(url,width,height,left,top,name) 
 { 	 
 	var settings = "width="+width+",height="+height+",left="+left+",top="+top+",scrollbars=yes";
 	if(win)win.close();
 	window.focus();
 	
 	win=window.open(url,'_blank',settings);
 }

 