function end()
{
document.getElementById('form').style.visibility = 'hidden';
document.getElementById('cluetip').style.visibility = 'inherit'; 
}

function go()
{
document.getElementById('form').style.visibility = 'visible'; 
document.getElementById('cluetip').style.visibility = 'hidden';
}
function go_form()
{
document.getElementById('form').style.visibility = 'visible'; 
}
function end_form()
{
document.getElementById('form').style.visibility = 'hidden';
}
function go_talk()
{
document.getElementById('form_talk').style.visibility = 'visible'; 
}
function end_talk()
{
document.getElementById('form_talk').style.visibility = 'hidden';
}
<!--
function checkForm(obj, elems) { 
      var element, pattern;  
      for (var i = 0; i < obj.elements.length; i++) {   
      element = obj.elements[i];      
 
      if (elems != undefined)  
      if (elems.join().indexOf(element.type) < 0) continue;  
      if (!element.getAttribute("check_message")) continue;  
      if (pattern = element.getAttribute("check_pattern")) { 
      	
      pattern = new RegExp(pattern, "g");  
      if (!pattern.test(element.value)) {  
      alert(element.getAttribute("check_message")); 
      element.focus();  
      return false;  
      }
 
      } else if(/^\s*$/.test(element.value)) {  
      alert(element.getAttribute("check_message"));  
      element.focus();  
      return false;
      }  
      }
      return true; 
} -->

$(function() {
 /* $('div.html, div.jquery').next().css('display', 'none').end().click(function() {
    $(this).next().toggle('fast');
  });  
  $('a.false').click(function() {
    return false;
  });  	*/		
		
 // $('a.title').cluetip({splitTitle: '|'});
  $('a.basic').cluetip();
  $('a.custom-width').cluetip({width: '250px', showTitle: false});
  $('h4').cluetip({attribute: 'id', hoverClass: 'highlight'});
  
  $('#sticky').cluetip({sticky: true,  closePosition: 'title',
    closeText: '<img src="images/cross.png" alt="close" width="16" height="16" />', arrows: true });
  
  $('#examples a:eq(5)').cluetip({
    hoverClass: 'highlight',
    sticky: true,
    closePosition: 'bottom',
    closeText: '<img src="cross.png" alt="close" width="16" height="16" />',
    truncate: 60  });
  $('a.load-local').cluetip({local:true, hideLocal: true, sticky: true, arrows: true, cursor: 'pointer'});
  $('#clickme').cluetip({activation: 'click', sticky: true, width: 650});
  $('ol:first a:last').cluetip({tracking: true});

  $('a.jt').cluetip({
    cluetipClass: 'jtip', 
    arrows: true, 
    dropShadow: true,
    sticky: true,
    mouseOutClose:true,
    activation: 'click'   });

  $('ol.rounded a:eq(0)').cluetip({splitTitle: '|', dropShadow: false, cluetipClass: 'rounded', showtitle: false});
  $('ol.rounded a:eq(1)').cluetip({cluetipClass: 'rounded', dropShadow: false, showtitle: false, positionBy: 'mouse'});
  $('ol.rounded a:eq(2)').cluetip({cluetipClass: 'rounded', dropShadow: false, showtitle: false, positionBy: 'bottomTop',  topOffset: 70});
  $('ol.rounded a:eq(3)').cluetip({cluetipClass: 'rounded', dropShadow: false, sticky: true, ajaxCache: false, arrows: true});
  $('ol.rounded a:eq(4)').cluetip({cluetipClass: 'rounded', dropShadow: false});  
});
 

