
//show hide stuff
$(document).ready(function() {
 	
   $("#howto > h3").toggle(function(){
    $(".stuff").slideDown('fast')
	},function(){
	$(".stuff").slideUp("fast");
		
   });
	
	$("#comp > .blognav").toggle(function(){
     $(".new").slideDown('fast');
	 $('#article_prompt').hide('8');
   },function(){
     $(".new").slideUp('fast');
	 $('#article_prompt').show('8');
   });
	
	
	$("#blog_guide > h3").toggle(function() {
		$(this).next().slideDown("fast");
		},function(){
		$(this).next().slideUp("fast");
	});
	
//round corner stuff

	$(function(){
	$('.blog_guide > dd').corners("4px");
	});
	
	$(function(){
	$('.new').corners("4px");	
	});
	
	$(function(){
	$('#article_prompt').corners("4px");	
	});
	
	$(function(){
	$('.confirm_message').corners("4px");	
	});
	
	$(function(){
	$('thead').corners("1px");	
	});
	
	$(function(){
	$('#about_auth').corners("4px");	
	});
	
	$(function(){
	$('#art_content').corners("4px");	
	});
	
	$(function(){
	$('#comments').corners("4px");	
	});
	
	$(function(){
	$('#more_arts').corners("4px");	
	});
	
//transparency for ie

	$('img[@src$=.png], div#arrow').ifixpng(); 

//on select guide
	$("#listing").validate({
	  rules: {
	    first_name: {
	      required: true
	    },
		last_name: {
	      required: true
	    },
		c_username: {
	      required: true
	    },
		p_word: {
	      required: true
	    },
	    c_email: {
	      required: true,
		  email: true
	    }
	  }
	});
	
});
