Multiple jquery script function in home page

Multiple jquery script function in home page

In my Home page ,,
I have 2 image slide shows...
I used different jquery for that..
Problem is that..
each is working fine individually ..
when integrated ,i am runtime error....

one script is ..
<script type="text/javascript">
$(function() {
$(".newsticker-jcarousellite").jCarouselLite({
vertical: true,
hoverPause:true,
visible: 2,
auto:500,
speed:1000
});
});
</script>


another..
<script type="text/javascript">
$(document).ready(function() {
$('#ctl00_ContentPlaceHolder1_photos').galleryView({
panel_width: 650,
panel_height: 300,
frame_width: 30,
frame_height: 30,
overlay_color: '#393939',
overlay_text_color: '#ffffff',
caption_text_color: '#ffffff',
background_color: 'transparent',
border: 'none',
nav_theme: 'light',
easing: 'easeInOutQuad',
pause_on_hover: true
});
});


</script>

Where am getting error..
Can i club these 2 into one function..
i downloaded from net ..different style sheets ,jquery the slide shows..












































I included styles & required js files ,one functionality is achieving ,other is not working..
Y i am not getting,is there  any alternative way...
Thanks in advance..