File: /home/panama/public_html_old/includescript.php
<link href="css/slideshow.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="js/banner.js" type="text/javascript"></script>
<script type="text/JavaScript">
function slideSwitch1() {
var $active = $('#slideshow1 IMG.active');
if ( $active.length == 0 ) $active = $('#slideshow1 IMG:last');
// use this to pull the images in the order they appear in the markup
var $next = $active.next().length ? $active.next()
: $('#slideshow1 IMG:first');
// uncomment the 3 lines below to pull the images in random order
// 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: 3.5}, 2000, function() {
$active.removeClass('active last-active');
});
}
$(function() {
setInterval( "slideSwitch1()", 7000 );
});
</script>
<style>
#slideshow1 {
position:relative;
height:497px;
padding:5px;
width:316px;
border:1px solid #CCCCCC;
text-align:center;}
</style>
<style>
#footer{
width:961px;
height:62px;
margin:0px auto;
padding:20px 0px 0px 0px;
position:relative;
color:#656360;
font-size:0.8em;
text-align:center;
background:url(images/bg_footer.png) repeat-x scroll center top;
font-family:"Myriad Pro", Arial, Helvetica, sans-serif;
overflow:hidden;
}
#footer a:link, #footer a:visited {color:#747474; text-decoration:none;}
#footer a:hover, #footer a:active {color:#747474; text-decoration:underline;}
</style>