$(function(){

	$('#stylethis a').toggle(function(){
	
		$('head').append('<link rel="stylesheet" href="css/stylethis.css" id="addedcss">');
		$(this).text('Unstyle it or').after(' <span><a href="css/stylethis.css">download the css</a></span>');
		return false;
	
	},function(){
		
		$('#addedcss').remove();
		$(this).text('Style this for me');
		$('#stylethis span').remove();
		return false;
		
	});
	
	/* Sliding labels */
	$('#contactform').slidinglabels({
	
		/* these are all optional */
		className    : 'form-slider', // the class you're wrapping the label & input with -> default = slider
		topPosition  : '6px',  // how far down you want each label to start
		leftPosition : '-10005px',  // how far left you want each label to start
		axis         : 'x',    // can take 'x' or 'y' for slide direction
		speed        : 'fast'  // can take 'fast', 'slow', or a numeric value

	});	

});
