function LoadFromDb(opts){
	$j.ajax({
			type:"POST",
			url:"../admin/function/get/dbRecord.php",
			cache:false,
			data:
				{
					table	: typeof opts.table != 'undefined'?opts.table:'',
					field	: typeof opts.field != 'undefined'?opts.field:'',
					id		: typeof opts.id != 'undefined'?opts.id:'',
					file	: typeof opts.file != 'undefined'?opts.file:'',
					order	: typeof opts.orderby != 'undefined'?opts.orderby:'',
					div		: typeof opts.div != 'undefined'?opts.div:''
				}
			,
			dataType:"text",
			success:function(html){
				if(typeof opts.div != 'undefined' && typeof opts.file != 'undefined'){
					$j.ajax({
						type:"POST",
						url:"../../function/"+opts.file,
						cache:false,
						data:{data:html},
						success:function(data){
							$j(opts.div).html(data);	
						}
					});
				} else {
					if(typeof opts['function'] != 'undefined'){
						opts['function'](html);
					}  else {
						return html;
					}	
				}
			}
	});						
}