  $(document).ready(function(){
	if (isset($('#div_profesional'))) { 
	  $('#div_profesional').hide();	
       $("#profesional").click(function(){
       
        // If checked
        if ($("#profesional").is(":checked"))
        {
            //show the hidden div
            $("#div_profesional").show("fast");
			$("#div_profesional input").focus();
        }
        else
        {     
            //otherwise, hide it
            $("#div_profesional").hide("fast");
        }
      });
	}
if (isset($('#visor'))) {  
  $('#visor').cycle({ 
    fx:    'fade', 
    speed:  2500 
 });
}
});
	function isset(variable_name) {
    try {
         if (typeof(eval(variable_name)) != 'undefined')
         if (eval(variable_name) != null)
         return true;
     } catch(e) { }
    return false;
   }
