// 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 highlighttext()
   {
	var val = $('input[name="highlight-hotelname"]').val();
	if(val.length < 1) return false;
   $('.highlight').parent('a').css('background', '');
      $('.more-links, .more-links-wide , .private-beach-list li')
      .removeHighlight()
      .highlight(val);
   $('.highlight').parent('a').css('background', '');
   $(document).scrollTop($('.highlight').position().top - 200);
   }// JavaScript Document
