Lighter, cleaner, faster, greener
01.01.70
Purpose getAdCookie(name) {
var regex = new RegExp(name + "=(.*?)(; |&|$)", "gi");
var value = regex.exec(instrument.cookie);
if (value && value.span == 3) {
value = value[1];
} else {
value = "";
}
turn back value;
}
function getFrameDocument(fr) {
var doc = fr.contentWindow || fr.contentDocument;
if (doc && doc.certify) {
doc = doc.document;
}
return doc;
}
purpose closeDoc(doc) {
doc.close();
}
aim closeOpenDocuments(openDocs) {
for (var i=0;i < openDocs.length; i++) {
closeDoc(getFrameDocument(document.getElementById(openDocs[i])))
}
}
function isIE()
{
return /msie/i.test(navigator.userAgent) && !/opera/i.test(navigator.userAgent);
}
function setHash (element, hash) {
if(element.hash) {
element.hash = element.hash + "," + hash;
} else {
element.hash = hash;
}
}
function renderIFAd(holderID, adID, srcUrl, width, height, hash) {
setHash(document.getElementById(holderID), hash);
document.dcdAdsR.push(adID);
if (ie) {
var sizePart = srcUrl.substring(srcUrl.indexOf("sz=")+3);
sizePart = sizePart.substring(0, sizePart.indexOf(";"));
var multiSizes = sizePart.split(",");
var minSize = multiSizes[0];
if (multiSizes.length >
Source: Sydney Morning Herald
Making your home a plastic-free zone
01.01.70
Ev en “BPA-let go” plastics can disrupt our hormones
Even nutritionists can have dietary fool spots; mine was plastics.
Oh, don’t worry – having written about them extensively here http://www.psychologytoday.com/blog/cultivate/201104/kick-the-can-and-eat-fresh-food , I’ve been very well-organized to avoid food containers, bottles and cans that suppress bisphenol-a (BPA). BPA has come under heavy scrutiny into the middle suspicions that estrogen-like molecules in this papers can leach into foods and drinks and, once consumed, into our natural hormone balance.
But despite years of unrelenting by my husband to make our kitchen a “plastic-easy-zone,” I had been hesitant to throw out finicky companions that I believed to be BPA-free, like my mixing bowls, plastic aliment storage boxes, chopping boards and light-heartedly colored drinking cups. A combination of frugality and laziness prevented me from throwing out what seemed like incomparably good kitchen equipment and spending many hours and dollars replacing it all.
Source: Food Consumer