document.write(''); function getURLParam(strParamName){ var strReturn = ""; var strHref = window.location.href; if ( strHref.indexOf("?") > -1 ){ var strQueryString = strHref.substr(strHref.indexOf("?")).toLowerCase(); var aQueryString = strQueryString.split("&"); for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){ if ( aQueryString[iParam].indexOf(strParamName.toLowerCase() + "=") > -1 ){ var aParam = aQueryString[iParam].split("="); strReturn = aParam[1]; break; } } } return unescape(strReturn); } function readCookie(name) { var nameEQ = name + '='; var ca = document.cookie.split(';'); for(var i=0;i < ca.length;i++) { var c = ca[i]; while (c.charAt(0)==' ') c = c.substring(1,c.length); if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length); } return null; } function createCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function replaceAll(oldStr,findStr,repStr) { var srchNdx = 0; var newStr = ""; while (oldStr.indexOf(findStr,srchNdx) != -1) { newStr += oldStr.substring(srchNdx,oldStr.indexOf(findStr,srchNdx)); newStr += repStr; srchNdx = (oldStr.indexOf(findStr,srchNdx) + findStr.length); } newStr += oldStr.substring(srchNdx,oldStr.length); return newStr; } var strHref = window.location.href; document.write(''); document.write('
'); document.write('

What tips do you have for other parents?

'); document.write('
'); if (typeof( window['textycount'] ) != "undefined" ) { textycount++; } else { var textycount = 0; } document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
Add Your Comment:'); var fillName = readCookie('textyName') ; var fillEmail = readCookie('textyEmail') ; var fillAvatar = getURLParam('avatar'); if (!fillName) fillName = ''; if (!fillEmail) fillEmail = ''; if (fillAvatar != null && fillAvatar != "") { var t = replaceAll(fillAvatar,'%5C','\/'); photo = replaceAll(t, '\\', '\/') ; fillAvatar = 'http://texty.com/media/'+photo; photoname = photo.substring(photo.lastIndexOf('\/')+1) ; createCookie('textyAvatar',photoname,36500); alert(getURLParam('error')); } else { fillAvatar = readCookie('textyAvatar') ; if (!fillAvatar) fillAvatar = 'http://texty.com/media/photos/noavailable.png'; else { var ocode = hex_md5(fillEmail); var fl = ocode.substring(0,2); var sl = ocode.substring(2,4); var tl = ocode.substring(4); var path = fl+'/'+sl+'/'+tl; fillAvatar = 'http://texty.com/media/photos/'+path+'/'+fillAvatar ; } } document.write(''); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
Name:
Email:   subscribe
Comment:
') document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write(''); document.write('
'); var jsonContent = new Array(textycount); jsonContent[textycount] = [{"pk": 29245, "model": "cms.comment", "fields": {"comment": "We can supply all kinds of granite and marble stone products.likegranite stone\r
marble stone\r
Granite tile\r
Marble tile\r
granite countertop\r
marble countertops\r
stone countertops\r
stone mosaic\r
marble mosaic\r
granite mosaic\r
mosaic tileI learned motion sickness the hard way too. We were car travelling and my 3 old was sick twice.\r
Now, before travelling, I give her some pills 30 mn before leaving. I make sure she ate little.\r
You can read more at : http://www.ourfamilyworld.com/article/how-to-deal-with-motion-sickness/", "name": "Olfa", "commenter": 23900, "avatar": "", "created_date": "2010-10-28 08:28:34", "texty": 13571}}, {"pk": 26573, "model": "cms.comment", "fields": {"comment": "I just did a post about train travel with kids http://beckywilloughby.blogspot.com/2010/10/long-distance-train-travel-with-kids.html", "name": "Becky", "commenter": 23892, "avatar": "", "created_date": "2010-10-26 14:38:31", "texty": 13571}}, {"pk": 25854, "model": "cms.comment", "fields": {"comment": "OMG, my kids go crazy in the car during long drives! I know its cramped back there but these days they have soo many toys and electronic devices to occupy themselves, but they still insist on fighting and throwing stuff like zoo animals, LOL", "name": "Lucas", "commenter": 23447, "avatar": "", "created_date": "2010-07-30 11:35:14", "texty": 13571}}] ; var path = 'http://texty.com/'+'media/'; maxCommentsPerPage = 20; start = 0; end = jsonContent[textycount].length; comment = ""; for (i = start; i < end; i++) { comment = comment + '
'+jsonContent[textycount][i].fields.name+'
'; comment = comment + jsonContent[textycount][i].fields.comment; var photo = "photos/noavailable.png"; if (jsonContent[textycount][i].fields.avatar != 'photos\noavailable.png') { var t = replaceAll(jsonContent[textycount][i].fields.avatar,'%5C','\/'); photo = path+t ; photo = replaceAll(photo, '\\', '\/') ; } comment = comment + '
Posted at: '+jsonContent[textycount][i].fields.created_date+'
'; comment = comment + '
'; if (i>0 && (i+1)%20==0) { comment = comment + '
'; comment = comment + ""; comment = comment + ""; comment = comment + '
'; } } document.write(""); document.write('
SimpleCMS | '); document.write('Texty
'); document.write('');