/** change font news **/
var max=19;
var min=10;
var numero= 12;
function increaseFontSize() {
	if(numero!=max) numero += 1;
    else numero=10;
	$("#nota_txt_noticia").css("font-size", numero);
    $("#nota_txt_noticia > *,#nota_txt_noticia > * > *,#nota_txt_noticia > * > * >*,#nota_txt_noticia > * > * > * > * ,#nota_txt_noticia > * > * > * > * > *,#nota_txt_noticia > * > * > * > * > * > *,#nota_txt_noticia > * > * > * > * > * >* >*,#nota_txt_noticia > * > * > * > * > * >* >*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*>*").css("font-size", numero);

}

function decreaseFontSize() {
	if(numero!=min) numero -= 1;
    else numero=19;
	$("#nota_txt_noticia").css("font-size", numero);
    $("#nota_txt_noticia > *,#nota_txt_noticia > * > *,#nota_txt_noticia > * > * >*,#nota_txt_noticia > * > * > * > * ,#nota_txt_noticia > * > * > * > * > *,#nota_txt_noticia > * > * > * > * > * > *,#nota_txt_noticia > * > * > * > * > * >* >*,#nota_txt_noticia > * > * > * > * > * >* >*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*>*,#nota_txt_noticia > * > * > * > * > * >* >*>*>*>*").css("font-size", numero);

}


/** end change font news **/



/** mail popup **/
function popupMail(id) {
	var url = "mailer_news.php?id="+id;
	newwindow=window.open(url,'TiempoSur_Mail','height=610,width=529');
	if (window.focus) {newwindow.focus()}
}
/** end mail popup **/


/** print popup **/
function popupPrint(id) {
	var url = "print_news.php?id="+id;
	newwindow=window.open(url,'TiempoSur_Imprimir','height=600,width=570,scrollbars=yes');
	if (window.focus) {newwindow.focus()}

}



/*$(document).ready(function() {




});
*/

/*$(document).ready(function() {
	if (document.f_articles.terms){
		if (document.f_articles.terms.length){
	  		for (i=0; i<document.f_articles.terms.length; i++){
	  		term_view(document.f_articles.terms[i].value);
			}
		}
		else{
			term_view(document.f_articles.terms.value);
		}
	}
});
function term_view(id){
	$.ajax({
		url: "ajax_term_view.php?id="+$("#term_id_"+id).val(),
		success: function(data){
			$('#term_'+id).SetBubblePopup({
				innerHtml: '<p>'+data+'</p>'
			});
		}
	});


}*/
