defStat('-'); remoteApp = 'http://www.careerjet.com/partners/remote.html'; function doSearch(pagesize , offset ){ var what = document.getElementById('what').value ; var where = document.getElementById('where').value ; var s = what ; s.replace('%20' , '+' ); var l = where ; l.replace('%20', '+' ) ; var lid = document.getElementById('cjlid').value ; var base = document.getElementById('cjbase').value ; var affid = document.getElementById('cjaffid').value ; var rkws = document.getElementById('cjrkws').value ; s += ' ' + rkws ; var cf = document.getElementById('cjcf').value ; goRS = new RSL( {'call':'search', 'pagesize': ''+ pagesize + '' , 'offset' : '' + offset + '' , 's': '' + s + '' , 'l': '' + l + '' , 'c': '' + cf + '' , 'lid': '' + lid + '' , 'base' : '' + base + '' , 'affid' : '' + affid + '' , 'callback' :ShowRes}); return goRS.initScr() ; } function cleanLid(){ document.getElementById('cjlid').value="" ; } function ShowRes(){ var sR = unescape(goRS.result); document.getElementById('cjSearchResult').innerHTML = sR; }