Siasat Agar Gula Darah Tetap Terkontrol Saat Liburan
Siasat Agar Gula Darah Tetap Terkontrol Saat Liburan
Rabu, 19/12/2012 10:19 WIB
Dyah Oktabriawatie Waluyani - detikFood
Sering mengemil dan makan enak kerap dilakukan untuk menghabiskan waktu liburan. Namun kegiatan rutin ini bisa menyebabkan kekhawatiran bagi penderita diabetes. Gula darahpun jadi sulit untuk dikontrol.
Menikmati aneka hidangan lezat bersama keluarga dan teman terasa menyenangkan. Penderita diabetes juga bisa menikmatinya. Asalkan memperhatikan hal-hal berikut untuk menjaga agar gula darah tetap stabil.
"; document.getElementById('tobloggernotice').disabled=''; } else { document.getElementById('shareselect').innerHTML = "Blog Not Found"; } } else if (statusCode == 500 || statusCode == 505) { if (statusCode == 500 ){ arrLength = arr.length; var checkBox = ''; fromEmail = returnKey.getElementsByTagName("sender")[0].childNodes[0].nodeValue; document.getElementById('importcontacts').innerHTML = checkBox + ""; document.getElementById('toymailnotice').disabled=''; } else { errorCode = returnKey.getElementsByTagName("errorCode")[0].childNodes[0].nodeValue; document.getElementById('importcontacts').innerHTML = "Error : No Contact Found, " + errorCode + ""; } } else if (statusCode == 700 || statusCode == 707) { if (statusCode == 700 ){ arrLength = arr.length; var checkBox = ''; fromEmail = returnKey.getElementsByTagName("sender")[0].childNodes[0].nodeValue; document.getElementById('importcontactsgmail').innerHTML = checkBox + ""; document.getElementById('togmailnotice').disabled=''; } else { errorCode = returnKey.getElementsByTagName("errorCode")[0].childNodes[0].nodeValue; document.getElementById('importcontactsgmail').innerHTML = "Error : No Contact Found, " + errorCode + ""; } } else if (statusCode == 600 || statusCode == 606) { if (statusCode == 600 ){ arrLength = arr.length; var checkBox = ''; fromEmail = returnKey.getElementsByTagName("sender")[0].childNodes[0].nodeValue; document.getElementById('importcontactsym').innerHTML = checkBox + ""; document.getElementById('toymnotice').disabled=''; } else { errorCode = returnKey.getElementsByTagName("errorCode")[0].childNodes[0].nodeValue; document.getElementById('importcontactsym').innerHTML = "Error : No Contact Found, " + errorCode + ""; } } else { $ msgClass = returnKey.getElementsByTagName("formId")[0].childNodes[0].nodeValue; $ ('.'+$ msgClass+' div').hide(); if (statusCode == 100){ $ ('.'+$ msgClass+' .success').show(); } else { if ( returnKey.getElementsByTagName("formId")[0].childNodes[0].nodeValue == 'toblogdetiknotice' ){ $ ('.'+$ msgClass+' .error').show(); keyReturn = returnKey.getElementsByTagName("errorCode")[0].childNodes[0].nodeValue; if ( keyReturn == 405 ){ $ ('.'+$ msgClass+' .error, .'+$ msgClass+' #blogdetikerror ').show(); document.getElementById('blogdetikerror').innerHTML = "Error, XML-RPC di Writing Settings Blog Detik Anda belum diaktifkan"; } else { $ ('.'+$ msgClass+' .error, .'+$ msgClass+' #blogdetikerror ').show(); document.getElementById('blogdetikerror').innerHTML = "An Error has Occured"; } } else { $ ('.'+$ msgClass+' .error').show(); } } } //change to something like: yourlayer.visibility = 'hidden'; } else { alert('There was a problem with the request.'); } } }; http_request.open('GET', url, true); http_request.send(null); } function nl2br (str, is_xhtml) { var breakTag = ''; breakTag = ' '; if (typeof is_xhtml != 'undefined' && !is_xhtml) { breakTag = ' '; } return (str + '').replace(/([^>]?)\n/g, '$ 1'+ breakTag +'\n'); } function sendform(el){ //alert(nl2br(el.getElementsByTagName('textarea')[0].value)); var sub = el.getElementsByTagName('input'); query = new Array(); var checkboxparam = ''; for(i in sub){ if (sub[i].type == 'checkbox') { if (sub[i].checked == true) { checkboxparam += sub[i].value + ','; } } else if(sub[i].name) { if (sub[i].name == 'pass') { query.push(sub[i].name + '=' + EncryptChar(sub[i].value)); } else { query.push(sub[i].name + '=' + sub[i].value); } } } if (checkboxparam) { query.push('addressbook=' + checkboxparam); } query = '?' + query.join('&'); var newsub = el.getElementsByTagName('textarea') if (newsub){ queryadd = new Array(); for(i in newsub){ if(newsub[i].name){ queryadd.push(newsub[i].name + '=' + nl2br(newsub[i].value)); } } query += '&' + queryadd.join('&'); } var selectsub = el.getElementsByTagName('select') if (selectsub){ queryselect = new Array(); for(i in selectsub){ if(selectsub[i].name){ queryselect.push(selectsub[i].name + '=' + selectsub[i].value); } } query+= '&' + queryselect.join('&'); } makeRequest("http://food.detik.com/index.php/detik.share/" + query); document.getElementById('shareselect').innerHTML = ""; document.getElementById('importcontactsym').innerHTML = "
No comments:
Post a Comment