// JavaScript Document
/*function emoticon(text) {
	var txtarea = document.form1.comentario;
	text = ' ' + text + ' ';
	if (txtarea.createTextRange && txtarea.caretPos) {
		var caretPos = txtarea.caretPos;
		caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
		txtarea.focus();
	} else {
		txtarea.value  += text;
		txtarea.focus();
	}
}*/


/*function popup(dir)
   { window.open(dir, '', 'dependent,HEIGHT=200,resizable=yes,scrollbars=yes,WIDTH=650');
   }*/
   
/*function popup_streaming(dir)
   { window.open(dir, '', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=340');
   }*/
   
/*function popup_img(dir)
   { window.open(dir, '', 'HEIGHT=500,resizable=yes,scrollbars=yes,WIDTH=650');
   }*/
   
function popup_variable(dir,ancho,largo)
   { window.open(dir,'','dependent,resizable=yes,scrollbars=yes,height='+largo+',width='+ancho);
   }
