       function isEvenfull(inum) {
		  return !(inum % 2);
		}

		function preparefull(response) {
          var dfull = new Date();
          countfull++;
          dfull.setTime(response.time*1000);
          var mytimefull = dfull.getHours()+':'+dfull.getMinutes()+':'+dfull.getSeconds();
          if(isEvenfull(countfull)) {
        	  var stringfull = '<div class="shoutbox-list-odd" id="list-full-'+countfull+'">'
          	  + '<div class="daddy-shoutbox-left">'
          	  + '<span class="shoutbox-list-nick">'+response.nicknamefull+':</span><br/>'
              + '<span class="shoutbox-list-time">'+mytimefull+'</span>'
              + '</div><div class="daddy-shoutbox-right">'
              + '<span class="shoutbox-list-message">'+response.messagefull+'</span>'
              + '</div>'
              + '<div class="clear"></div>'
              +'</div>';
          } else {
        	  var stringfull = '<div class="shoutbox-list-even" id="list-full-'+countfull+'">'
              + '<div class="daddy-shoutbox-left">'
              + '<span class="shoutbox-list-nick">'+response.nicknamefull+':</span><br/>'
              + '<span class="shoutbox-list-time">'+mytimefull+'</span>'
              + '</div><div class="daddy-shoutbox-right">'
              + '<span class="shoutbox-list-message">'+response.messagefull+'</span>'
              + '</div>'
              + '<div class="clear"></div>'
              +'</div>';
          }
          return stringfull;
        }
        
        function successfull(response, status)  { 
          if(status == 'success') {
            lastTimefull = response.time;
            $('#daddy-shoutbox-response-full').html('<img src="'+filesfull+'images/accept.png" />');
            $('#daddy-shoutbox-list-full').prepend(preparefull(response));
            $('input[name=messagefull]').attr('value', '').focus();
            $('#list-full-'+countfull).fadeIn('slow');
            timeoutIDfull = setTimeout(refreshfull, 10000);
          }
        }
        
        function validatefull(formData, jqForm, options) {
          for (var i=0; i < formData.length; i++) { 
              if (!formData[i].value) {
                  alert('Please fill in all the fields'); 
                  $('input[@name='+formData[i].name+']').css('background', 'red');
                  return false; 
              }
          } 
          $('#daddy-shoutbox-response-full').html('<img src="'+filesfull+'images/loader.gif" />');
          clearTimeout(timeoutIDfull);
        }

        function refreshfull() {
          $.getJSON("index.php?m=shoutbox&f=viewmessages&method=full&time="+lastTimefull+ '&dontcache=' + Math.random(), function(json) {
            if(json.length) {
              for(i=0; i < json.length; i++) {
                $('#daddy-shoutbox-list-full').prepend(preparefull(json[i]));
                $('#list-full-' + countfull).fadeIn('slow');
              }
              var j = i-1;
              lastTimefull = json[j].time;
            }
            //alert(lastTime);
          });
          timeoutIDfull = setTimeout(refreshfull, 10000);
        }
