
//------------ section for slides and fades --------------------

$(document).ready(function() {
	for(var i=0; i<11; i++){
		$('#section'+i).hide();
	}
	$('#book').hide();
 });

var str='';
var num=0;

function sfade(str, num){
    	$(str).slideFadeToggle(num);
};

function slup(str, num){
	$(str).slideDown(num);
}




// -------------------- corner work ------------------------------

/*
choices of corner type: eg $("#slant").corner("bevel 4px")
one type and the size parameter:
'round' (default) 'dog' 'bevel' 'bite' 'sharp'
The corners can be one or more of top, bottom, tr, tl, br, or bl. (default is all)
The width specifies the width of the effect; in the case of rounded corners this will be the radius of the width. 
Specify this value using the px suffix such as 10px, and yes it must be pixels.



$(document).ready(function() {
	$('div.round').corner("tr").corner("tl");
 });

*/
// ------------------ gradients work ----------------------------

/*
$(selector).gradientz({
          start: "red",     // start color: default is the background color.
          end: "blue",      // end color: default is the background color.
          distance: 100,    // size: default is width/height depending on size
          angle: 72         // angle from vertical. Default is 0, i.e. vertical.
          css: "right: 0px" // additional CSS: default is "top: 0px; left: 0px"
        } 
*/
/*
$(document).ready(function() {
  	$('h1').gradientz({
	start: 		"#700", 
	end: 		"#000", 
	angle: 		90, 
	//distance: 	760, 
	css: 		"top: 0px; left: 0px"
});
});
*/
 