jQuery(document).ready(function() {
	jQuery("#slideshow").cycle({  
		fx: 'custom', 
		cssBefore: { top: 0, left: 0, width: 0, height: 0, zIndex: 1 }, 
		animIn: { width: 696, height: 150 }, 
		animOut: { top:  150, left: 150, width: 0, height: 0 }, 
		cssAfter: { top: 0, left: 0, width: 0, height: 0, zIndex: 0 },
		delay: -1000
	});
});

window.onload = function() {
	var settings = {tl: {radius: 4},tr: {radius: 4},bl: {radius: 4},br: {radius: 4},antiAlias: true}
	//var divObj = document.getElementById("myDiv"); 
	//curvyCorners(settings, divObj);
	curvyCorners(settings, ".nav");
	curvyCorners(settings, ".sidebar");
	curvyCorners(settings, "#site_info .box");
	curvyCorners(settings, ".rounded");
}