$('#slideshow') 

.cycle({ 
    fx:     'fade', 
    speed:  '4500', 
    pager:  '#slideshowControl' 
});

$('#slideshow2') 

.cycle({ 
    fx:     'fade', 
    speed:  '3000', 
    pager:  '#slideshowControl' 
});


var pageLoaded = 0;
window.onload = function() {pageLoaded = 1;}
function loaded(i,f) {
if (document.getElementById &&
document.getElementById(i) != null) f();
else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100);
}

$(function(){
// Tabs
$('#tabs').tabs();
});


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=100');");
};




function popUp2(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=220,height=216');");
};






$(document).ready(function(){
    $("#accordion").accordion();
  });





	
	

