function adminChange(e, adminstate, profilestate) {
  ivy.box.refresh({
      htmlElement : document.getElementById('eshopadmin'),
      rollOver: {
        content: '<table style="width: 140px; height: 32px; border:1px solid black; background-color: white" cellspacing="0" cellpadding="0"><tr><td style="padding:5px; width:32px"><object type="application/x-shockwave-flash" data="/kepek/cpb.swf" width="32" height="32"><param name="movie" value="/kepek/cpb.swf" /></object></td><td  style="vertical-align:middle!important">Loading...</td></tr></table>',
        align: 'center',
        valign: 'middle'
    },
      queryString : 'admin-state=' + adminstate.value + '&admin-pstate=' + profilestate.value
    });
}

function adminSetOrderState(varname, varvalue, orderid, adminstate, profilestate, o) {
  ivy.box.refresh({
    htmlElement: o,
    rollOver: {
      content: '<table style="width: 140px; height: 32px; border:1px solid black; background-color: white" cellspacing="0" cellpadding="0"><tr><td style="padding:5px; width:32px"><object type="application/x-shockwave-flash" data="/kepek/cpb.swf" width="32" height="32"><param name="movie" value="/kepek/cpb.swf" /></object></td><td  style="vertical-align:middle!important">Loading...</td></tr></table>',
      align: 'center',
      valign: 'middle'
    },
    queryString: varname + '=' + varvalue + '&orderid=' + orderid + '&admin-state=' + adminstate + '&admin-pstate=' + profilestate
  });
}


function userSearch(e, source, iid, qs) {
  ivy.box.submit({
    event: e,
    source: source,
    instanceID: iid,
    rollOver: progressIndicator,
    queryString: qs
  });
}
