 window.addEvent("domready", function() {
 /*function main() {
     //alert('here');*/
     if (typeof(categories_carousel) != "undefined" ) {
     /*alert ('isset Categories');*/
	     new iCarousel("categories_content", {  
    	     idPrevious: "categories_previous",  
        	 idNext: "categories_next",  
	         idToggle: "undefined",  
    	     item: {  
        	     klass: "categories_item",  
	             size: 155
    	     },  
        	 animation: {
         		 type: 'scroll',
	             duration: 400,  
    	         amount: 2  
        	 }  
	     }); 
     } else {
     /*alert ('notset Categories');*/
     }
     /*alert('here done'); */
     if (typeof(manufacturers_carousel) != "undefined" ) {
       if (manufacturers_carousel) {
     	/*alert ('isset');*/
	     new iCarousel("manufacturers_content", {  
	         idPrevious: "manufacturers_previous",  
	         idNext: "manufacturers_next",  
	         idToggle: "undefined",
	         randomizeStart: true, 
	         item: {  
	             klass: "manufacturers_item",  
	             size: 70
	         },  
	         animation: {
	         	 type: 'scroll',
	         	 direction: "top", 
	             duration: 400,  
	             amount: 2  
	         }
     	 }); 
     	   /*alert ('done');*/
       }
     } else {
     /*alert ('not set');	 */
     } 
      
 }); 
 /*}*/
