function resizeRecipe(){
    var pwidth=(navigator.appName.indexOf('Microsoft')!=-1)?document.body.clientWidth:window.innerWidth;
    var core = document.getElementById("core_content");
    var contentItem;
    var ItemName;
    var rNum;
    var rTips;var rAds_b; var rIngT; var rIngs;

    for (content in core.childNodes)
        {
        contentItem = core.childNodes[content];
        ItemName = contentItem.id;
        if ((ItemName!=undefined)&(ItemName !=""))
        {
            if (ItemName.match(/^c\d{1}/))
                {rNum = ItemName.substr(1);
                 rTips = document.getElementById("rec_tips" + rNum);
                 rAds_b = document.getElementById("ads_b" + rNum);
                 rIngT = document.getElementById("ings_and_tips" + rNum);
                 rIngs = document.getElementById("ings" + rNum);
                if (rTips!=undefined)
                    rTips.className = (pwidth<900)?'rec_tips_below':'rec_tips';
                if (rAds_b!=undefined)
                    rAds_b.style.display = (pwidth<900)?'none':'block';
                if (rIngT!=undefined)
                    rIngT.className = (pwidth<900)?'ing_and_tips_below':'ing_and_tips';
                if (rIngs!=undefined)
                    rIngs.className = (pwidth<900)?'ings_below':'ings';
            }
        }
        ItemName = "";
        }
   }
