$(document).ready(function(){

	// Initialise the flyouts
	//$('ul#header-navigation').flyouts();
	
	// Fix the pngs in ie6
	//if (ie6) DD_belatedPNG.fix('li.fo-top, li.fo-bottom');
	
	// Generic onLoad
	$(window).bind('load', function(){
		
		// Apply and preload image rollovers
		tryRollovers = function() {
			if ($('img[rollover]').length > 0) {
				$('img[rollover]').each(function(){
					$('<img>').attr('src', $(this).attr('rollover'));
					$(this)
						.data('rollover', {normal:$(this).attr('src'),over:$(this).attr('rollover')})
						.removeAttr('rollover')
						.bind('mouseenter', function(){$(this).attr('src', $(this).data('rollover').over)})
						.bind('mouseleave', function(){$(this).attr('src', $(this).data('rollover').normal)})
				});
			}
		}
		tryRollovers();
		setInterval(tryRollovers, 5000);
	
	});
	
});

var jsonParse=(function(){var D="(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)";var I='(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))';var H='(?:"'+I+'*")';var C=new RegExp("(?:false|true|null|[\\{\\}\\[\\]]|"+D+"|"+H+")","g");var J=new RegExp("\\\\(?:([^u])|u(.{4}))","g");var F={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function G(K,L,M){return L?F[L]:String.fromCharCode(parseInt(M,16))}var B=new String("");var A="\\";var E={"{":Object,"[":Array};return function(P){var M=P.match(C);var S;var Q=M[0];if("{"===Q){S={}}else{if("["===Q){S=[]}else{throw new Error(Q)}}var O;var N=[S];for(var L=1,K=M.length;L<K;++L){Q=M[L];var R;switch(Q.charCodeAt(0)){default:R=N[0];R[O||R.length]=+(Q);O=void 0;break;case 34:Q=Q.substring(1,Q.length-1);if(Q.indexOf(A)!==-1){Q=Q.replace(J,G)}R=N[0];if(!O){if(R instanceof Array){O=R.length}else{O=Q||B;break}}R[O]=Q;O=void 0;break;case 91:R=N[0];N.unshift(R[O||R.length]=[]);O=void 0;break;case 93:N.shift();break;case 102:R=N[0];R[O||R.length]=false;O=void 0;break;case 110:R=N[0];R[O||R.length]=null;O=void 0;break;case 116:R=N[0];R[O||R.length]=true;O=void 0;break;case 123:R=N[0];N.unshift(R[O||R.length]={});O=void 0;break;case 125:N.shift();break}}if(N.length){throw new Error()}return S}})();