window.addEvent('domready', function()
							{
								var aExamToggle = $('lnk_exam_toggle');
                                                                
                                          
								if(aExamToggle)
								{
                                                                     
									site.disableAnchor(aExamToggle);
									
									aExamToggle.addEvent('click',function()
														  {
                                                                                                                     
                                                                                                                     
															  var elTitleContentBottom	 	= $('titlecontentbottom');
															  var elExamBoard 				= $('examboard');
															  var elExamBoardBottom 		= $('examboardbottom');
															  var elExamContents 			= $('examcontents'); 
															  
															  if(elTitleContentBottom && elExamBoard && elExamBoardBottom && elExamContents)
															  {
																  if(elTitleContentBottom.hasClass('inactive'))
																  {
																	  if($('streamtitlecontent'))
																	  {
																		this.set('text', 'Hide title descriptionn');
																		$('titlesnippet').setStyle('display', 'none');
																	  }
																	  else
																		this.set('text', 'Hide curriculum and exam board information');
																		
																	  elTitleContentBottom.removeClass('inactive');
																	  elExamBoard.removeClass('inactive');
																	  elExamBoardBottom.removeClass('inactive');
																	  elExamContents.set('styles', {display:'block'});
																  }
																  else
																  {
																	  if($('streamtitlecontent'))
																	  {
																	  	this.set('text', 'Show title descriptionn');
																		$('titlesnippet').setStyle('display', 'inline');
																	  }
																	  else
																	  	this.set('text', 'Show curriculum and exam board information');
																	  elTitleContentBottom.addClass('inactive');
																	  elExamBoard.addClass('inactive');
																	  elExamBoardBottom.addClass('inactive');
																	  elExamContents.set('styles', {display:'none'});
																  }
															  }
                                                                                                                      
														  });
                                                                                                                  }
							});
