
var actual_seccion = 0;

function graphicsb_data0()
{
    /*---------------------------------------------
    Scroll Bar Images
    ---------------------------------------------*/
	this.up_button = "img/sample2_up.gif";                                          //image path and name only
	this.up_button_roll = "img/sample2_up_roll.gif";                                //image path and name only
	this.down_button = "img/sample2_down.gif";                                      //image path and name only
	this.down_button_roll = "img/sample2_down_roll.gif";                            //image path and name only

	this.slider_tile_bg_style = "background-image:url(img/sample2_slider_bg.gif);"  //image defined as CSS style

	this.bubble_top_cap = "img/sample2_bubble_topcap.gif,2";                        //image path and name, height - (width is automatically set to scroll bar width)
	this.bubble_bottom_cap = "img/sample2_bubble_bottomcap.gif,2";                  //image path and name, height - ""
	this.bubble_center = "img/sample2_bubble_center.gif,7";                         //image path and name, height - ""
	this.bubble_tile_bg_style = "img/sample2_bubble_bg.gif";                        //image path and name only

    /*---------------------------------------------
    Scroll Bar Container and Content
    ---------------------------------------------*/

	this.container_width = 87
	this.container_height = 80

	this.container_bg_color = "";

	this.content_padding = 7;
	this.content_styles = "font-family:Arial;font-weight:normal;font-size:11px; color:##5F5D5C; ";
	this.content_class_name = "texto_scroll";

    /*---------------------------------------------
    Scroll Bar Behaviour and Width
    ---------------------------------------------*/

	this.scroll_bar_width = 9                     //The width of the bar in pixels.
	this.scroll_increment = 10                     //The distance to scroll when clicking the up or down buttons.


	this.allow_hover_scroll = true;                //Auto scroll while hovering over top and bottom buttons.
	this.hover_scroll_delay = 70;                   //Milliseconds (1/1000 second)


	this.use_hand_cursor = true;

}


function graphicsb_data1()
{
    /*---------------------------------------------
    Scroll Bar Images
    ---------------------------------------------*/
	this.up_button = "img/sample2_up.gif";                                          //image path and name only
	this.up_button_roll = "img/sample2_up_roll.gif";                                //image path and name only
	this.down_button = "img/sample2_down.gif";                                      //image path and name only
	this.down_button_roll = "img/sample2_down_roll.gif";                            //image path and name only

	this.slider_tile_bg_style = "background-image:url(img/sample2_slider_bg.gif);"  //image defined as CSS style

	this.bubble_top_cap = "img/sample2_bubble_topcap.gif,2";                        //image path and name, height - (width is automatically set to scroll bar width)
	this.bubble_bottom_cap = "img/sample2_bubble_bottomcap.gif,2";                  //image path and name, height - ""
	this.bubble_center = "img/sample2_bubble_center.gif,7";                         //image path and name, height - ""
	this.bubble_tile_bg_style = "img/sample2_bubble_bg.gif";                        //image path and name only

    /*---------------------------------------------
    Scroll Bar Container and Content
    ---------------------------------------------*/

	this.container_width = 450
	this.container_height = 100

	this.container_bg_color = "#F4F3F3";

	this.content_padding = 7;
	this.content_styles = "font-family:Arial;font-weight:normal;font-size:11px; color:##5F5D5C; ";
	this.content_class_name = "";

    /*---------------------------------------------
    Scroll Bar Behaviour and Width
    ---------------------------------------------*/

	this.scroll_bar_width = 9                     //The width of the bar in pixels.
	this.scroll_increment = 10                     //The distance to scroll when clicking the up or down buttons.


	this.allow_hover_scroll = true;                //Auto scroll while hovering over top and bottom buttons.
	this.hover_scroll_delay = 70;                   //Milliseconds (1/1000 second)


	this.use_hand_cursor = true;

}



	
	function enviaCorreo(noticia) {
		window.open("noticia_envio.php?noticia="+noticia,"Noticia",'width=510,height=290,resizable=yes');
	}
	
	function imprimeNoticia(id) {
		window.open("noticia_impresion.php?noticia="+id,"Noticia","width=540,height=610,scrollbars=yes,x=0,y=0");
	}	
	
	function openBigPhoto(foto) {
		window.open("foto.php?foto="+foto,"Ampliacion","top=0,left=0,scrollbars=NO,resizable=yes");
	}	


	function seleccionaMes(mes){
		form = document.meses;
		//guardamos el mes elegido
		$mes_actual = form.mes_actual.value;
		form.mes_actual.value = mes;
		
		if($mes_actual == 11 && mes==0){
			indice = form.anyo_elegir.selectedIndex+1;
		
		}
		else if($mes_actual == 0 && mes==11){
			indice = form.anyo_elegir.selectedIndex-1;
		}
		else{
			//guardamos el anyo elegido
			indice = form.anyo_elegir.selectedIndex;
		}
			anyo = form.anyo_elegir.options[indice].value;
			form.anyo_actual.value = anyo;		
			//
		
		
		form.submit();
	
	}
	
	function seleccionaAnyo(){
		form = document.meses;
		
		//guardamos el anyo elegido
		indice = form.anyo_elegir.selectedIndex;

		anyo = form.anyo_elegir.options[indice].value;
		form.anyo_actual.value = anyo;		
		//
		
		form.submit();
	
	}	
	
	function ocultarDesc(id){
			document.getElementById(id).className = "noMostrar";
	}


	function mostrarDesc(id,clase){
			document.getElementById(id).className = clase;
	}

	
	
	function desplegar(id){
			
			ident = "enlace_"+id;
			clase = document.getElementById(ident).className;
			if(clase == "noMostrar"){
				//cambiamos la flecha
				ident = "flecha_"+id;
				document.getElementById(ident).src = "img/flecha_enlaces_a.jpg";
				
			
				//mostramos los enlaces
				ident = "enlace_"+id;
				document.getElementById(ident).className = "enlaces";
			}
			else{
				//cambiamos la flecha
				ident = "flecha_"+id;
				document.getElementById(ident).src = "img/flecha_enlaces.jpg";
				
		
				//mostramos los enlaces
				ident = "enlace_"+id;
				document.getElementById(ident).className = "noMostrar";
				
			}
	}
	



function graphicsb_data2()
{
    /*---------------------------------------------
    Scroll Bar Images
    ---------------------------------------------*/
	this.up_button = "img/sample2_up.gif";                                          //image path and name only
	this.up_button_roll = "img/sample2_up_roll.gif";                                //image path and name only
	this.down_button = "img/sample2_down.gif";                                      //image path and name only
	this.down_button_roll = "img/sample2_down_roll.gif";                            //image path and name only

	this.slider_tile_bg_style = "background-image:url(img/sample2_slider_bg.gif);"  //image defined as CSS style

	this.bubble_top_cap = "img/sample2_bubble_topcap.gif,2";                        //image path and name, height - (width is automatically set to scroll bar width)
	this.bubble_bottom_cap = "img/sample2_bubble_bottomcap.gif,2";                  //image path and name, height - ""
	this.bubble_center = "img/sample2_bubble_center.gif,7";                         //image path and name, height - ""
	this.bubble_tile_bg_style = "img/sample2_bubble_bg.gif";                        //image path and name only

    /*---------------------------------------------
    Scroll Bar Container and Content
    ---------------------------------------------*/

	this.container_width = 330
	this.container_height = 100

	this.container_bg_color = "#F4F3F3";

	this.content_padding = 7;
	this.content_styles = "font-family:Arial;font-weight:normal;font-size:11px; color:##5F5D5C; ";
	this.content_class_name = "";

    /*---------------------------------------------
    Scroll Bar Behaviour and Width
    ---------------------------------------------*/

	this.scroll_bar_width = 9                     //The width of the bar in pixels.
	this.scroll_increment = 10                     //The distance to scroll when clicking the up or down buttons.


	this.allow_hover_scroll = true;                //Auto scroll while hovering over top and bottom buttons.
	this.hover_scroll_delay = 70;                   //Milliseconds (1/1000 second)


	this.use_hand_cursor = true;

}




	
