
 /****************************************************************
  *                                                              *
  *  curvyCorners                                                *
  *  ------------                                                *
  *                                                              *
  *  This script generates rounded corners for your divs.        *
  *                                                              *
  *  Version 1.2.9                                               *
  *  Copyright (c) 2006 Cameron Cooke                            *
  *  By: Cameron Cooke and Tim Hutchison.                        *
  *                                                              *
  *                                                              *
  *  Website: http://www.curvycorners.net                        *
  *  Email:   info@totalinfinity.com                             *
  *  Forum:   http://www.curvycorners.net/forum/                 *
  *                                                              *
  *                                                              *
  *  This library is free software; you can redistribute         *
  *  it and/or modify it under the terms of the GNU              *
  *  Lesser General Public License as published by the           *
  *  Free Software Foundation; either version 2.1 of the         *
  *  License, or (at your option) any later version.             *
  *                                                              *
  *  This library is distributed in the hope that it will        *
  *  be useful, but WITHOUT ANY WARRANTY; without even the       *
  *  implied warranty of MERCHANTABILITY or FITNESS FOR A        *
  *  PARTICULAR PURPOSE. See the GNU Lesser General Public       *
  *  License for more details.                                   *
  *                                                              *
  *  You should have received a copy of the GNU Lesser           *
  *  General Public License along with this library;             *
  *  Inc., 59 Temple Place, Suite 330, Boston,                   *
  *  MA 02111-1307 USA                                           *
  *                                                              *
  ****************************************************************/
  
function curve_pnbc_corners()
{

	headerBox =
	{
			tl: { radius: 10 },
			tr: { radius: 10 },
			bl: { radius: 0 },
			br: { radius: 0 },
			antiAlias: true,
			autoPad: true,
			validTags: ["div"]
	}
	
	footerBox =
	{
			tl: { radius: 3 },
			tr: { radius: 3 },
			bl: { radius: 10 },
			br: { radius: 10 },
			antiAlias: true,
			autoPad: true,
			validTags: ["div"]
	}

	var myBoxObject1 = new curvyCorners(headerBox, "curvedHeader");
	myBoxObject1.applyCornersToAll();
	var myBoxObject2 = new curvyCorners(footerBox, "curvedFooter");
	myBoxObject2.applyCornersToAll();

	// prevent image flicker - display hidden image after corners curved.
	var fitness = document.getElementById('fitness');
	fitness.style.display = "inline";
} 
