/* 
   Deviantart's Rounded Corners Tutorial
   by Ignacio Ricci (The CSS Blog)
*/

$(document).ready(function(){
	/* alert("ready function called"); */
	/* The top corners code */
	var topCorners = '<div class="c t t1"><span></span></div><div class="c t t2"><span></span></div><div class="c t t3"><span></span></div><div class="c t t4"><span></span></div><div class="c t t5"><span></span></div><div class="c t t6"><span></span></div>';
	
	/* The bottom corners code */
	var bottomCorners = '<div class="c b b1"><span></span></div><div class="c b b2"><span></span></div><div class="c b b3"><span></span></div><div class="c b b4"><span></span></div><div class="c b b5"><span></span></div><div class="c b b6"><span></span></div>';
	
	/* The content inside the cornered box */
	$('.cornerBox-content').each(function(){
		/* alert("found this class"); */
		$(this).before(topCorners);
		$(this).after(bottomCorners);
	    });
	
    });
