Can anybody tell me why this inline script below would cause the second script/code to cease functioning? - When I remove the first block of code, the second one executes as it should with no problems... i don't get it

. Also - I am not a java script programer, I try not to use them and I understand just enough about it to make me dangerous to myself.

Thanks
Code:
<script src="http://www.jotform.com/min/g=feedback" type="text/javascript">
new JotformFeedback({
formId:'13483303613',
base:'http://www.jotform.com/',
windowTitle:'Contact Us',
background:'#544FD1',
fontColor:'#FFFFFF',
type:2,
height:500,
width:460
});
</script>
<a class="lightbox-13483303613 navb" style="cursor:pointer;color:blue;text-decoration:underline;"><span> </span></a>
Second code set:
<body onload="slideSwitch();">
Code:
function slideSwitch() {
var $active = $('#slideshow DIV.active');
if ( $active.length == 0 ) $active = $('#slideshow DIV:last');
// use this to pull the divs in the order they appear in the markup
var $next = $active.next().length ? $active.next()
: $('#slideshow DIV:first');
// uncomment below to pull the divs randomly
// var $sibs = $active.siblings();
// var rndNum = Math.floor(Math.random() * $sibs.length );
// var $next = $( $sibs[ rndNum ] );
$active.addClass('last-active');
$next.css({opacity: 0.0})
.addClass('active')
.animate({opacity: 1.0}, 1000, function() {
$active.removeClass('active last-active');
});
}
$(function() {
setInterval( "slideSwitch()", 9000 );
});
// End of Slideshow fade