function Get_JSON_AppointmentTypes() { return jsondata = '[{ "id":"1f941a31cd5c497191b812a11fa1128b", "name":"Veiligheidsbril meting"},{ "id":"f4d0b58c77f049d185330d77ab1bfab2", "name":"Oogmeting"},{ "id":"ee8f9773143541fc8c7e48625b483383", "name":"Controle zachte contactlenzen"},{ "id":"dd2a4ecf58504115aee0a59dff490360", "name":"Controle Harde contactlenzen"}]'; } function PostCurrentAppointmentType(id,name) { jsondata = '{"type": "AppointmentType", "id": "' + id + '", "name":"' + name + '"}' parent.postMessage(jsondata,"*"); } function PostAppointment(action,id,citid, start) { jsondata = '{"type": "Appointment", "action": "' + action + '", "id": "' + id + '", "citid":"' + citid + '", "start":"' + start + '"}' parent.postMessage(jsondata,"*"); }