function splitJSONRecords1( text )
{
	var record = new Array();
	var count = 0;
	var data = text.evalJSON();
	var count = data.ajax_records.length;
	for (var i=0;i<count;i++)
		record[i] = $H(data.ajax_records[i].ajax_record );
	return record;
}
function escapeSQLColValue( value )
{
	if( typeof value == 'string' ) return value.replace( /'/g, "''" );
	return value;
}
function escapeJSString( value )
{
	if( typeof value == 'string' ) 	return value.replace( /'/g, "\\'" );
	return value;
}
function unescapeSQLColValue( value )
{
	if( typeof value == 'string' ) return value.replace( /''/g, "'" );
	return value;
}
function addslashes(str) {
str=str.replace(/\\/g,'\\\\');
str=str.replace(/\'/g,'\\\'');
str=str.replace(/\"/g,'\\"');
str=str.replace(/\0/g,'\\0');
return str;
}
function stripslashes(str) {
str=str.replace(/\\'/g,'\'');
str=str.replace(/\\"/g,'"');
str=str.replace(/\\0/g,'\0');
str=str.replace(/\\\\/g,'\\');
return str;
}
