// JavaScript Document
$(document).ready(function() {

/*        DISABLED RIGHT CLICK, COPY AND SELECT ALL       */
    $(this).bind("contextmenu selectstart", function(e) {
       e.preventDefault();
    });

    $(this).keydown(function(e){
        if(e.ctrlKey) { 
         var sel ;
        if(document.selection && document.selection.empty)
            {document.selection.empty() ;}
        else if(window.getSelection) {
            sel=window.getSelection();
            if(sel && sel.removeAllRanges)
            sel.removeAllRanges() ;
        }
        e.preventDefault();
        }
    });
	
});

function FindHotel()
{
   var val = $('#find-text').val();
   if(val.length < 1) return false;
   $('.highlight').parent().css('background', '');
   $('.private-beach-list li')
   .removeHighlight()
   .highlight(val);
   $('.highlight').parent().css('background', 'yellow');
   $(document).scrollTop($('.highlight').position().top - 200);
   return true;
}

