
$(document).ready(function(){
	
	if(jQuery.support.objectAll) {
		
		$('#status .halfR').replaceWith("<iframe height=25 width=950 marginheight=0 marginwidth=0 frameborder=0 scrolling=no src='http://www.griffintechnology.com/blog/status'></iframe>");

	}
	$("#listhead_tagcloud").click(
		 function () {
			$("#tagcloud").animate({
			height: 'toggle'
			}, 600,function() {
	    		// Animation complete.
	  		});
		 }
	);
	
	$("li.down > a").click(function() {
		var headerID= $(this).attr('id');
		var listID= headerID.substring(9);
		var list= $(".down > ul");
		for (i=0; i < list.length; i++) {
			if($(list[i]).attr('id')==listID){
				$(list[i]).animate({
				height: 'toggle'
				}, 600,function() {
	    			// Animation complete.
	  			});
			}
		}	
	return false
	});
	

});

