post_arg = Class.create(); post_arg.prototype = { 'key': null, 'val': null, initialize: function(variable, value){ this.key = variable; this.val = value; }, getKey: function(){ return this.key; }, getVal: function(){ return this.val; } } function post_main(auto_data, data, current_view){ var postvar; var customdata = Array(); var isViewDefined = false; var frm=document.createElement('form'); frm.name='frm_postback_'+randomString(5); frm.method = 'post'; frm.action='http://www.brenex.com.au/core/index.php'; for(i=0; i