	
		$(function() {
	$('a.iframe').nyroModal({
	minHeight:460,
	minWidth:770
		});
	$('a.search').nyroModal({minHeight:100,minWidth:400});
							
	
	});
	
	            $(function() {
                $('#tabsSwitch > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch2 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch3 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch4 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch5 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch6 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch7 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch8 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch9 > ul ').tabs({ fx: { height: 'toggle' } });
				$('#tabsSwitch10 > ul ').tabs({ fx: { height: 'toggle' } });
            });
				
				
				
  $(document).ready(function(){
	$('.hideThis').hide();
    $('.switchDivs').click(function () {
      $(this).next('.hideThis').slideToggle(300);
    });
	    $('.openAll').click(function () {
      $('.hideThis').slideToggle(300);
    });

  });

			
			$(function() {
  $.fn.nyroModal.settings.processHandler = function(settings) {
    var from = settings.from;
    if (from && from.href && from.href.indexOf('http://www.youtube.com/watch?v=') == 0) {
      $.nyroModalSettings({
        type: 'swf',
        height: 355,
        width: 425,
        url: from.href.replace(new RegExp("watch\\?v=", "i"), 'v/')
      });
    }
  };
});
			
	
			
