Uncaught TypeError: Object [object Object] has no method 'nivoSlider'
===

i m getting error for nivoslider...when i debug it in chrome...i found this...no method nivoSlider ...the code was workin fine till i added another slider contentslider..nw its jst showin the last image and not moving.....any help???i have abt this topic so came to conclude like if you use 2 sliders with jquery it creates conflicts or something like it..dont know......help pls????
       

    
		      <div class="slider-wrapper theme-default">
				   <div id="slider" class="nivoSlider">
                    <?php $banner_query=executeQuery("select * from tbl_picture where status=1");
						    while($banner=mysql_fetch_array($banner_query)){?>
					 <img src="image/<?php echo $banner['picture'];?>"  alt="<?php echo $banner['title'];?>" title="<?php echo $banner['title'];?>" border="0"/>
					 <?php }?>	   
                     </div>	
                 			  
              </div>
                  
				<script type="text/javascript" src="codelibrary/js/jquery-1.6.4.min.js"></script>
			<script type="text/javascript" src="codelibrary/js/jquery.nivo.slider.pack.js"></script>
			<script type="text/javascript">
				$(window).load(function() {
					$('#slider').nivoSlider();
				});
			</script>