/* #########  JAVA Script NAME: vipsha_clienttext
!----------------------------------------------------------------
! Confidentiality Information:
!
! This module is the confidential and proprietary information of
! VIPSha, Inc. It is not to be copied, reproduced, or transmitted
! in any form, by any means, in whole or in part, nor is it to be used
! for any purpose other than that for which it is expressly provided
! without the written permission of VIPSha, Inc.
!
! Copyright (c) 2011 VIPSha, Inc. All Rights Reserved ######### */function gettextid(textid)
{
		jQuery.ajax({
		type: "GET",
		url: "gettext.php",
		data: "text_id="+textid,
		success: function(msg){
		 var parsed = msg.split('|');
	  		 jQuery("#text_container").html(parsed[0]);
  			 jQuery("#read_more1").html(parsed[1]);
		}
		});
		

		/*var req = new Request({
            method: 'get',
            url: $('gettext.php'),
            data: { 'text_id' : text_id },
            onRequest: function() {  },
			
            update: $('text_container'),
            onComplete: function(response) {  }
        }).send();*/

		
		
		

    /*
    var req = new Request.HTML({

      url: 'gettext.php',
      data: $('text_id'),

      onSuccess: function(tree, response){

        var li = new Element('li');

        var h3 = new Element('h3', {'text': response [1].get('text')}).inject(li);

        var p = new Element('p', {'text': response [2].get('text')}).inject(li);

        li.inject($('commentList')).highlight('#cff');

        $('text_container').reset();
      }

     }).send();
 
*/


}





