<!--

function popup(url,width,height)
	{
	var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,navigation toolbar=no,status=no, top=0, left=0');
	Win.focus() ;
	}


function popimage(imagen,my_width,my_height)
	{
	 if(typeof(imagepop)!='undefined')
	 	imagepop.close();

	imagepop=window.open('popimage.php?image='+imagen+'&width='+my_width+'&height='+my_height,'imagepop','status=no,menubars=no,width='+my_width+',height='+my_height+',resize=no,scrollbars=no,top=70,left=70')
		 imagepop.focus();
	}


//prende un elemento con id univoco
function prendiElementoDaId(id_elemento)
	{
	var elemento;
	if(document.getElementById)
		elemento = document.getElementById(id_elemento);
	else
		elemento = document.all[id_elemento];
	return elemento;
	};

function Apri(str,nome,width,height) {
    window.open(str, nome, 'width='+width+',height='+height+',scrollbars=yes,status=no,location=no,toolbar=no');
}

//-->
