$(document).ready(function(){ 
  if (readCookie('fullversion') != 1) {
  var deviceAgent = navigator.userAgent.toLowerCase(); 
  var agentID = deviceAgent.match(/(iphone|ipod|ipad|android|blackberry)/); 
  if (agentID) { 

    $('body').addClass('js-enabled');
    $('#topnav').prepend('<div id="touch-menu"><a href="Index.html">HOME</a><a href="#contactform">CONTACT</a><a id="menu">MORE+</a></div>'); 
    $('#topnav #menu').click(function () { 
      $('#topnav > ul').toggle(); 
    });
    
    $('#index .bodytext > .description > *').slice(2).toggle();
    $('#index .bodytext > .description').append('<a id="read-more">Read More&hellip;</a>');
    $('#read-more').click(function() {
      $('.bodytext > .description > *').css('display','block');
      $('#read-more').toggle();
    });        


    $('body').prepend('<a id="top-number" href="tel:(800) 308-0870" >free consultation: (800) 308-0870</a>');
    $('#footer .credits a').text('Powered by Justia.com'); 
    $('#contactform .formdesc').html('Free Consultation: <br>(800) 308-0870'); 


  };
  }; 
});
