$().ready(function() {
	$('.slideshow').cycle({
			fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		});
$('#ex3a').jqm({
    trigger: '#ex3aTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})
	 // Close Button Highlighting. IE doesn't support :hover. Surprise?

	  $('#ex3b').jqm({
    trigger: '#ex3bTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

		  $('#ex3c').jqm({
    trigger: '#ex3cTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

		  $('#ex3d').jqm({
    trigger: '#ex3dTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

		  $('#ex3e').jqm({
    trigger: '#ex3eTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

		  $('#ex3f').jqm({
    trigger: '#ex3fTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

		  $('#ex3g').jqm({
    trigger: '#ex3gTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

			  $('#ex3h').jqm({
    trigger: '#ex3hTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

				  $('#ex3i').jqm({
    trigger: '#ex3iTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

				  $('#ex3j').jqm({
    trigger: '#ex3jTrigger',
    overlay: 75, /* 0-100 (int) : 0 is off/transparent, 100 is opaque */
    overlayClass: 'whiteOverlay'})

  // Close Button Highlighting. IE doesn't support :hover. Surprise?
  $('input.jqmdX')
  .hover(
    function(){ $(this).addClass('jqmdXFocus'); },
    function(){ $(this).removeClass('jqmdXFocus'); })
  .focus(
    function(){ this.hideFocus=true; $(this).addClass('jqmdXFocus'); })
  .blur(
    function(){ $(this).removeClass('jqmdXFocus'); });


	$('[class^=toggle-item]').hide();
	$('.toggle-item-linkHome').toggle();
	$('[class^=link]').click(function() {
		$('[class^=toggle-item]').hide();
		var $this = $(this);
		var x = $this.attr("className");
		$('.toggle-item-' + x).toggle();
		return false;
	});

});