$(function(){
			//RIGHT COLUMN IMAGE
			//adjusts the size of the right column image on the 2nd and 3rd level pages
			imgWidth = $('.imagefield-field_right_image').attr('width');
			$('.imagefield-field_right_image').css('width',imgWidth);
			$('#right-caption').css('width',imgWidth);
			
			//SECTIONAL BANNER IMAGE
			//Takes the img src for the banner img, splits the url into an array and takes the last item which is the image file name and replaces the entire src url with one that will grab from the image cache module directory
			
			blocks = new Array('11','12','13','14','15','16');//Add the block number here
			
			for(var i = 0; i < blocks.length; i++){
				if($('#block-block-'+blocks[i]+' img').attr('src')){//checks if the block exists on current page
					source = $('#block-block-'+blocks[i]+' img').attr('src');
					sourceArr = source.split( '/' );
					arrLength = sourceArr.length - 1;
					image = sourceArr[arrLength];	
				
					if($('#block-block-'+blocks[i]+' img').attr('width')>140||$('#block-block-'+blocks[i]+' img').attr('height')>85){
						$('#block-block-'+blocks[i]+' img').removeAttr('width').attr('height','81').attr('style','left:695px;position:absolute;top:0px;')
																			   /*IMAGECACHE .attr('src','/sites/all/files/imagecache/sectional-banner-image/'+image)*/;
						$('#block-block-'+blocks[i]+' p').attr('style','margin:0;padding:0');
					}else{
						$('#block-block-'+blocks[i]+' img').attr('style','left:695px;position:absolute;top:0px;');
						$('#block-block-'+blocks[i]+' p').attr('style','margin:0;padding:0');
					}
				}
			}

			//LEFT NAV PARENT CLASS ADDITIONS
			$('a.active').parents('li.menuparent').each(function(){$(this).children('a:first').addClass('active')});
			
			//LEFT NAV ADD FOCUS TO SHOW CHILD NAV FOR ACCESSIBILITY
			$('.active').addClass('alreadyActive');
			$('.nice-menu-right a').each(function(){
				$(this).focus(function(){
					var parent = $(this).parents('li.menuparent').parents('li.menuparent').attr('id');
					var parentTwo = $(this).parents('li.menuparent').parents('li.menuparent').parents('li.menuparent').attr('id');
										
					$('.nice-menu-right li.menuparent:not(#'+parent+',#'+parentTwo+')').each(function(){
						$(this).children('ul:first').attr('style','');
					});
					
					$('.nice-menu-right a:not(.alreadyActive)').removeClass('active');
					
					$(this).parents('li.menuparent').children('ul:first').css('visibility','visible');
					$(this).addClass('active');
				});
			});
			$('#block-menu-menu-regional-programs a').each(function(){
				$(this).focus(function(){
					$('.nice-menu-right li.menuparent').each(function(){
						$(this).children('ul:first').attr('style','');
					});
				});
			});
			$('#content-container').click(function(){
				$('.nice-menu-right li.menuparent').each(function(){
					$(this).children('ul:first').attr('style','');
				});
			});
			
		});
