Ingin Begadang Malam Ini? Atur Konsumsi Makanan Agar Tetap Bugar!
Ingin Begadang Malam Ini? Atur Konsumsi Makanan Agar Tetap Bugar!
Senin, 31/12/2012 13:51 WIB
Flora Febrianindya - detikFood
Berencana begadang menanti tahun baru? Atau Anda memang harus kerja lembur hingga larut malam? Umumnya, orang-orang memilih untuk minum kopi agar tak lekas ngantuk.Padahal ada beberapa hal sederhana yang bisa dilakukan agar tubuh tetap bugar setelah bergadang.
Tak cuma kopi berkafein tinggi, Anda juga bisa melakukan beberapa cara untuk membantu Anda segar lebih lama. Seperti dilansir Nursing Online Education Database (NOEDB), ini dia 4 trik agar tetap segar saat terjaga di malam hari!
"; 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