/**
 * --------------------------------------------------------------------
 * Custom Initiation
 * Version: 0,1, 14.11.2009
 * by Jesse Burcsik, jesseburcsik@gmail.com
 *  
 */


jQuery(document).ready(function(){ 
 
 	// Basic PNG fix for IE6
/* 	if ($.browser.msie && $.browser.version.substr(0,1)<7) {
  		// search for selectors you want to add hover behavior to
	fixPngs();
	
	}
*/
 	initEcomm();
 	//remove ss that CMS injects for vernav
 	// removeVertCSS();
 	
 	//A function with a series of methods to edit the CMS vertnav
 	extendVertNav();
 	
 	chooseCallouts();
 	
    authorslist();
 	 
 	// showRandomElements('4','.featured-author','.featured-author-box');
 	// showRandomElements('1','.home-featured-author','#sidebar-featured'); 
 
 
 	resizeBookImages();
 
 	// Removees unnessessary 'clear' divs from templates
 	jQuery('.featured-author-box div.clear').remove();
 	jQuery('#sidebar-featured div.clear').remove();
 	
 	jQuery('.featured-author-box').randomDisplayer({amount:4}).append("<div class='clear'></div>");
    jQuery('#sidebar-featured').randomDisplayer();

 	prettyPhotoPage();

 
}); 

