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('

 

'); 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('
'); var jsonContent = new Array(textycount); jsonContent[textycount] = [{"pk": 8158, "model": "cms.comment", "fields": {"comment": "Thanks Lisa...I just wanted to share with everyone that all of us have the carb demons chasing us around and none of us are alone it that.\r
\r
Hey Drama, just eat your brown rice LOL! Just kidding, but eat your brown rice. ", "name": "MaryAnn", "commenter": 16093, "avatar": "", "created_date": "2008-03-24 15:58:38", "texty": 7088}}, {"pk": 8007, "model": "cms.comment", "fields": {"comment": "Cool article Maryann:)
I've always thought it was funny that we eat garlic bread with our pasta. But they taste so good together:)
I love and miss bread. It was always my favorite food group. It's really hard to control the urge to eat it.

In my diet the only carbs I eat are brown rice, oatmeal, and sugarless gum:)

Looking forward to your next article!", "name": "Lisa", "commenter": 17977, "avatar": "", "created_date": "2008-03-22 09:11:24", "texty": 7088}}] ; 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('');