<!--
	$(document).ready(function(){
		
		<!-- sIFR function calls and parameters -->
		//don't use sIFR if the page is running in text only mode
		if(title != 'text'){
			$.sifrSettings({path:'css/skins/default/flash/'});
			$("h1").sifr({font:'helvetica-neue-light'});
			$("h2").sifr({font:'helvetica-neue-light'});
			$("h3").sifr({font:'helvetica-neue-light'});
			$("h4").sifr({font:'helvetica-neue-light'});
			$("h5").sifr({font:'helvetica-neue-light'});
			$("h6").sifr({font:'helvetica-neue-light'});
		}
		
		/* ADD LINK FOR STYLE SWITCH PAGE */
		var html = "<ul id='style-switch-links'><li><a href='#' id='text-version'>text only version</a></li><li class='last'><a href='#' id='graphical-version'>graphical version</a></li></ul>";
		$("#foot-menu").append(html); //append content of html UL element
		
		//create link function call and assign to var for text version
		text_link_click=function(){setActiveStyleSheet('text'); return false;};
		text_link_keypress=function(){return setActiveStyleSheet('text'); return false;};
		
		//create link function call and assign to var for graphical version
		graph_link_click=function(){setActiveStyleSheet('default'); return false;};
		graph_keypress=function(){return setActiveStyleSheet('default'); return false;};
					
		//add onclick behaviour to link based on id
		$("#text-version").click(text_link_click);
		$("#text-version").keydown(text_link_keypress);
		
		//add onclick behaviour to link based on id
		$("#graphical-version").click(graph_link_click);
		$("#graphical-version").keydown(graph_keypress);
	
	});
//-->