$(function() {
    $('#slideshow').cycle({
        fx:     'fade',
        speed:  'slow',
		timeout: 20000,
        pager:  '.switch',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '.switch li:eq(' + (idx) + ') a';
        }
    });
});

function showHide(div){
  if(document.getElementById(div).style.display == 'none'){
    document.getElementById(div).style.display = 'block';
  }else{
    document.getElementById(div).style.display = 'none'; 
  }
}
