// JavaScript Document

$(document).ready(function() {
 // hides the slickbox as soon as the DOM is ready (a little sooner that page load)
  $('#adAnswer').hide();
  
 // shows and hides and toggles the slickbox on click  
  $('#adAnswerButton').click(function() {
    $('#adAnswer').show('slow');
    // return false;
  });
});


/*
jQuery.noConflict();

jQuery(document).ready(function()
{
  // hide
  jQuery('span.helpText').hide();

	jQuery('.myform label, .myform input, .myform textarea, .myform select').focus(function(){
		jQuery(this).parents('p').addClass("over");
		// jQuery(this).parent('p').nextAll().children('div.helpText').fadeIn('slow');
		jQuery(this).parent().children('.helpText').fadeIn('slow');
		//alert(jQuery(this).parent());
		// $(this).parent().next().children('.contexthelp').fadeIn('slow');
	}).blur(function(){
		jQuery(this).parents('p').removeClass("over");
		jQuery(this).parent().children('.helpText').fadeOut('slow');
	});


	jQuery('div#adAnswer').hide();
	jQuery(".answersForm").click(function(){
	  jQuery("div#adAnswer").show("slow");
	})

});

// display/hide layer
function show_hide_filter(layer_ref)
  {
  hza = document.getElementById(layer_ref);
  if (hza.style.display == 'block')
    {
    hza.style.display = 'none';
    }
  else if (hza.style.display == 'none')
    {
    hza.style.display = 'block';
    }
  }
*/