I am completely new to this. having taken some code for inserting a slide show I cannot get it to show. Any help will be gratefully received. Code below:

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="title" content="Chalets Bansko">
<meta name="description"
content="Bansko Chalet is a beautifully furnished private chalet in Bansko, Bulgaria">
<meta name="keywords"
content="luxury, chalet Bansko, Bansko chalet, Bansko, private chalet">
<meta name="language" content="en">
<meta name="robots" content="index, follow">
<title>Chalets Bansko</title>
<link rel="shortcut icon" href="favicon.html">
<link rel="stylesheet" type="text/css" media="screen"
href="css/main.css">
<link rel="stylesheet" type="text/css" media="screen"
href="css/jquery.lightbox-0.5.css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.lightbox-0.5.min.js"></script>
<script type="text/javascript">

var slideshow = [];
var active = 0;

function slideSwitch() {

var $active = $('#slideshow DIV.active');
if ( slideshow.length == 0 ) $active = $('#slideshow DIV:last');

// use this to pull the divs in the order they appear in the markup
if(active < slideshow.length-1)
$temp = $("<div><img src=\"/"+slideshow[active+1]+"\" alt=\"Chalets Bansko\" /></div>").appendTo('#slideshow');
else
{
$('#slideshow').html($temp);
$("<div><img src=\""+slideshow[0]+"\" alt=\"Chalets Bansko\" /></div>").appendTo('#slideshow');
}

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');
active < slideshow.length-1 ? active++ : active = 0;
});
}

$(function() {
$.ajax({
type: "GET",
url: "/xml/data.xml",
dataType: "xml",
success: function(xml) {
$(xml).find('home').each(function(){
$(this).find('image').each(function(){
slideshow.push($(this).attr('url'));
});
});
slideshow.sort( randOrd );

$('#slideshow').html("<div class=\"active\"><img src=\"/"+slideshow[0]+"\" alt=\"Chalets Bansko\" /></div>");
setInterval( "slideSwitch()", 5000 );
}
});

});

$(window).load(function () {

});

function randOrd(){
return (Math.round(Math.random())-0.5);
}


</script>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
</head>
<body>
<div id="wrapper">
<div id="top">
<h1 id="logo"><a href="home.html">Chalets Bansko</a></h1>
<h2 id="strap"><span class="grey">Comfort and value combined.</span> A
beautiful chalet in Bansko Bulgaria<br>
</h2>
</div>
<div id="menu">
<ul>
<li><a href="home.html" class="over">HOME</a></li>
<li><a href="accomodation.html" class="">ACCOMMODATION</a></li>
<li><a href="service.html" class="">SERVICE</a></li>
<li><a href="facilities.html" class="">FACILITIES</a></li>
<li><a href="location.html" class="">LOCATION</a></li>
<li><a href="floorplans.html" class="">FLOORPLANS</a></li>
<li><a href="photography.html" class="">PHOTOGRAPHY</a></li>
<li><a href="contact.html" class="">CONTACT</a></li>
<li><a href="booking.html" class="">BOOKING</a></li>
</ul>
</div>
<div id="header">
<br>
<div id="slideshow"> </div>
<div id="header-strap" class="box-shadow">
<h1 id="welcome">Welcome</h1>
<p>Imagine... A wonderfully warm, stylish chalet with magnificent views
of the Pirin Mountains. Spend your days on the slopes and relax with
friends and fmily around the roaring log fire in the evenings........</p>
<p class="grey">Your winter holiday awaits you in your own price ski
chalet<br>
</p>
<p class="grey">4 Bedrooms, Sleeps 8 people.&nbsp; Wifi.&nbsp; Log fire<br>
</p>
</div>
</div>
<div id="footer" class="box-shadow">
<div class="left">
<h4 id="small-logo">Chalets Bansko</h4>
<p class="grey">© 2012 Bamro OOD</p>
<p><a href="sitemap.html">Site Map</a> <span class="space">|</span> <a
href="privacy.html">Privacy</a> <span class="space">|</span> <a
href="terms.html">Terms &amp; Conditions</a> <span class="space">|</span>
<a href="contact.html">Contact</a></p>
</div>
<div class="right">
<p> <span class="label">Email&nbsp;</span> <a
href="mailto:enquiries@chaletsbansko.co.uk">info@chaletsbansko.co.uk</a><br>
<span class="label">Telephone (UK)</span> +44 (0)208 144 9880<br>
<span class="label">Telephone (BG)</span> +359 888 92 66 64 </p>
</div>
</div>
</div>
</body>
</html>