// sIFR

if(typeof sIFR == "function"){
//    sIFR.setup();
//	sIFR.replaceElement("h2", named({sFlashSrc: "http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_lib/sifr/sifr.swf", sColor: "#000", sCase: "upper", sWmode: "transparent"}));
//	sIFR.replaceElement("h3", named({sFlashSrc: "http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_lib/sifr/sifr.swf", sColor: "#FFFFFF", sCase: "upper", sWmode: "transparent"}));
//	sIFR.replaceElement(".date_canvas *", named({sFlashSrc: "http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_lib/sifr/sifr.swf", sFlashVars: "textalign=center", sColor: "#FFFFFF", sCase: "upper", sWmode: "transparent"}));
//	sIFR.replaceElement(".comment_author *", named({sFlashSrc: "http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_lib/sifr/sifr.swf",  sColor: "#000000", sCase: "upper", sWmode: "transparent"}));
//	sIFR();
};

// Ajax

/* --- AJAX --- */
$(document).ready(function() {
	$('#pictures_box').load('http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_ajax/flickr.php');
	
	/* --- TWITTER --- */
	$.getJSON('http://www.2sites.be/cas/hypercas/wp-content/themes/hypercas/_ajax/twitter.php', function(data){
		$('#status_box').html(data[0]); 
		$('#status_box').append('<p class="right_align"><a href="http://twitter.com/castemelijn">Volg mij op Twitter</a></p>');
	}); 
	
});