jQuery(document).ready(function($){ // START

  $("#slideshow").css("overflow", "hidden");
    $("ul#slides").cycle({
    fx: 'fade',
    pause: 0,
    prev: '#prev',
    next: '#next'
  });

  jQuery('input[title], textarea[title]').each(function() {if($(this).val() === '') {$(this).val($(this).attr('title'));}
    $(this).focus(function() {if($(this).val() == $(this).attr('title')) {$(this).val('').addClass('focused');	}});
    $(this).blur(function() {if($(this).val() === '') {$(this).val($(this).attr('title')).removeClass('focused');}});
  });

  jQuery('.fade').hover(
    function() {$(this).fadeTo("fast", 0.5);},
    function() {$(this).fadeTo("fast", 1);}
  );

  jQuery('.tab-content div').corner();
  jQuery('.sidebar-contact, .sidebar-map, a.comment-reply-link, a#cancel-comment-reply-link').corner('3px');
  jQuery('a.listing-action, #contactForm input, #contactForm textarea, table.rental-fee, table.forms').corner('5px');

  // Reset Font Size
  var originalFontSize = $('html').css('font-size');
    $(".resetFont").click(function(){
    $('html').css('font-size', originalFontSize);
  });
  // Increase Font Size
  $(".increaseFont").click(function(){
    var currentFontSize = $('html').css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*1.2;
    $('html').css('font-size', newFontSize);
    return false;
  });
  // Decrease Font Size
  $(".decreaseFont").click(function(){
    var currentFontSize = $('html').css('font-size');
    var currentFontSizeNum = parseFloat(currentFontSize, 10);
    var newFontSize = currentFontSizeNum*0.8;
    $('html').css('font-size', newFontSize);
    return false;
  });

jQuery("#bottom-menu ul li:last-child").css("border-right","none");


}); // END

Cufon.replace('#menu, h2.post-title, ul.tabs, .listing-attention, .post h2, .post h3, .post h4, .footer-block h4, .header-meta-desc, .sidebox h3', {fontFamily: 'monumint'});
Cufon.replace('.post-properties-prices span.prices', {fontFamily: 'chunkyfive'});

function showVideo(id) {
document.write("<div class=\"centered\">");
document.write("<object width=\"425\" height=\"325\">");
document.write("<param name=\"movie\" value=\"http://www.youtube.com/v/"+id+">&amp;hl=en&amp;fs=1\"></param>");
document.write("<param name=\"allowFullScreen\" value=\"true\"></param><param name=\"allowscriptaccess\" value=\"always\"></param>");
document.write("<embed src=\"http://www.youtube.com/v/"+id+"&amp;hl=en&amp;fs=1\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"425\" height=\"325\"></embed></object>");
document.write("</div>");
}
