$(document).ready(function(){ 
   /*-------------------------------------------
           INPUT - BUSCADOR DE PRODUCTOS
   -------------------------------------------*/


  $('#CMS_FOR_119_DIV_CAM_BUSCADOR > input').click(function()
   {
       if(this.value=='   Productos') this.value=''
   });
   
   /*-------------------------------------------
                Estilo de INPUT'S
   -------------------------------------------*/

   $('.CMS_FOR_CAM').focus(function()
   {
        $(this).css('border','1px #B5C700 solid');
   });

   $('.CMS_FOR_CAM').blur(function()
   {
        $(this).css('border','1px #CCCCCC solid');
   });
	
   $('.CMS_FOL_CAM_LOG').focus(function()
   {
        $(this).css('border','1px #B5C700 solid');
   });

   $('.CMS_FOL_CAM_LOG').blur(function()
   {
        $(this).css('border','1px #CCCCCC solid');
   });
	
   $('.CMS_FOL_CAM_PASS').focus(function()
   {
        $(this).css('border','1px #B5C700 solid');
   });

   $('.CMS_FOL_CAM_PASS').blur(function()
   {
        $(this).css('border','1px #CCCCCC solid');
   });
	
   /*-------------------------------------------
    BOTON ESPECIFICACIONES - FORMA DE CONTACTO
   -------------------------------------------*/
   
  $('#paginador_glosario > #LAYER_PAGINATION > a > div').css('cursor','pointer');
  $('#paginador_listadoProductos > #LAYER_PAGINATION > a > div').css('cursor','pointer');

   /*-------------------------------------------
                     GLOSARIO
   -------------------------------------------*/

   $('#paginador_glosario > #LAYER_PAGINATION > a').each( function(i)
   {
			switch($(this).text())
			{
			   case '1': $(this).text('A'); break;
			   case '2': $(this).text('B'); break;
			   case '3': $(this).text('C'); break;
			   case '4': $(this).text('D'); break;
			   case '5': $(this).text('E'); break;
			   case '6': $(this).text('F'); break;
			   case '7': $(this).text('G'); break;
			   case '8': $(this).text('H'); break;
			   case '9': $(this).text('I'); break;
			   case '10':$(this).text('J'); break;
			   case '11':$(this).text('K'); break;
			   case '12':$(this).text('L'); break;
			   case '13':$(this).text('M'); break;
			   case '14':$(this).text('N'); break;
			   case '15':$(this).text('O'); break;
			   case '16':$(this).text('P'); break;
			   case '17':$(this).text('Q'); break;
			   case '18':$(this).text('R'); break;
			   case '19':$(this).text('S'); break;
			   case '20':$(this).text('T'); break;
			   case '21':$(this).text('U'); break;
			   case '22':$(this).text('V'); break;
			   case '23':$(this).text('W'); break;
			   case '24':$(this).text('X'); break;
			   case '25':$(this).text('Y'); break;
			   case '26':$(this).text('Z'); break;
			}       
   });

   $('#paginador_glosario > #LAYER_PAGINATION > span').each( function(i)
   {
   	    var caracter;
        switch($(this).text())
        {
           case '1': $(this).text('A'); break;
           case '2': $(this).text('B'); break;
           case '3': $(this).text('C'); break;
           case '4': $(this).text('D'); break;
           case '5': $(this).text('E'); break;
           case '6': $(this).text('F'); break;
           case '7': $(this).text('G'); break;
           case '8': $(this).text('H'); break;
           case '9': $(this).text('I'); break;
           case '10':$(this).text('J'); break;
           case '11':$(this).text('K'); break;
           case '12':$(this).text('L'); break;
           case '13':$(this).text('M'); break;
           case '14':$(this).text('N'); break;
           case '15':$(this).text('O'); break;
           case '16':$(this).text('P'); break;
           case '17':$(this).text('Q'); break;
           case '18':$(this).text('R'); break;
           case '19':$(this).text('S'); break;
           case '20':$(this).text('T'); break;
           case '21':$(this).text('U'); break;
           case '22':$(this).text('V'); break;
           case '23':$(this).text('W'); break;
           case '24':$(this).text('X'); break;
           case '25':$(this).text('Y'); break;
           case '26':$(this).text('Z'); break;
        }       
   });
});