//document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">')
//document.write('<html><head>')
//document.write('<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">')

document.write('<BODY bgcolor="darkolivegreen" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"><BR>')
document.write('<style type="text/css">')
document.write('<!--')
document.write('A:link    { text-decoration : none;}')
document.write('A:hover   { text-decoration : underline;}')
document.write('A:active  { text-decoration : underline=no; color : 996600;}')
document.write('A:visited { text-decoration : underline=no;}')
document.write('a{text-decoration:none}')
document.write('-->')
document.write('</style>')

// POP UP CODE
function NewWindow(mypage, myname, w, h, scroll)
{
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// END POP UP CODE

// SENDOVER
//document.write('<meta http-equiv="refresh" content="0;url=http://www.biosuperfood.com/">')
// END-SENDOVER

/* 
 * Cross-browser event handling, by Scott Andrew
 */
function addEvent(element, eventType, lamdaFunction, useCapture) {
    if (element.addEventListener) {
        element.addEventListener(eventType, lamdaFunction, useCapture);
        return true;
    } else if (element.attachEvent) {
        var r = element.attachEvent('on' + eventType, lamdaFunction);
        return r;
    } else {
        return false;
    }
}

/* 
 * Kills an event's propagation and default action
 */
function knackerEvent(eventObject) {
    if (eventObject && eventObject.stopPropagation) {
        eventObject.stopPropagation();
    }
    if (window.event && window.event.cancelBubble ) {
        window.event.cancelBubble = true;
    }
    
    if (eventObject && eventObject.preventDefault) {
        eventObject.preventDefault();
    }
    if (window.event) {
        window.event.returnValue = false;
    }
}

/* 
 * Safari doesn't support canceling events in the standard way, so we must
 * hard-code a return of false for it to work.
 */
function cancelEventSafari() {
    return false;        
}

/* 
 * Cross-browser style extraction, from the JavaScript & DHTML Cookbook
 * <http://www.oreillynet.com/pub/a/javascript/excerpt/JSDHTMLCkbk_chap5/index5.html>
 */
function getElementStyle(elementID, CssStyleProperty) {
    var element = document.getElementById(elementID);
    if (element.currentStyle) {
        return element.currentStyle[toCamelCase(CssStyleProperty)];
    } else if (window.getComputedStyle) {
        var compStyle = window.getComputedStyle(element, '');
        return compStyle.getPropertyValue(CssStyleProperty);
    } else {
        return '';
    }
}

/* 
 * CamelCases CSS property names. Useful in conjunction with 'getElementStyle()'
 * From <http://dhtmlkitchen.com/learn/js/setstyle/index4.jsp>
 */
function toCamelCase(CssProperty) {
    var stringArray = CssProperty.toLowerCase().split('-');
    if (stringArray.length == 1) {
        return stringArray[0];
    }
    var ret = (CssProperty.indexOf("-") == 0)
              ? stringArray[0].charAt(0).toUpperCase() + stringArray[0].substring(1)
              : stringArray[0];
    for (var i = 1; i < stringArray.length; i++) {
        var s = stringArray[i];
        ret += s.charAt(0).toUpperCase() + s.substring(1);
    }
    return ret;
}

/*
 * Disables all 'test' links, that point to the href '#', by Ross Shannon
 */
function disableTestLinks() {
  var pageLinks = document.getElementsByTagName('a');
  for (var i=0; i<pageLinks.length; i++) {
    if (pageLinks[i].href.match(/[^#]#$/)) {
      addEvent(pageLinks[i], 'click', knackerEvent, false);
    }
  }
}

/* 
 * Cookie functions
 */
function createCookie(name, value, days) {
    var expires = '';
    if (days) {
        var date = new Date();
        date.setTime(date.getTime() + (days*24*60*60*1000));
        var expires = '; expires=' + date.toGMTString();
    }
    document.cookie = name + '=' + value + expires + '; path=/';
}

function readCookie(name) {
    var cookieCrumbs = document.cookie.split(';');
    var nameToFind = name + '=';
    for (var i = 0; i < cookieCrumbs.length; i++) {
        var crumb = cookieCrumbs[i];
        while (crumb.charAt(0) == ' ') {
            crumb = crumb.substring(1, crumb.length); /* delete spaces */
        }
        if (crumb.indexOf(nameToFind) == 0) {
            return crumb.substring(nameToFind.length, crumb.length);
        }
    }
    return null;
}

function eraseCookie(name) {
    createCookie(name, '', -1);
}

// end util functions


/*
 * Clear Default Text: functions for clearing and replacing default text in
 * <input> elements.
 */
addEvent(window, 'load', init, false);

function init() {
    var formInputs = document.getElementsByTagName('input');
    for (var i = 0; i < formInputs.length; i++) {
        var theInput = formInputs[i];
        
        if (theInput.type == 'text' && theInput.className.match(/\bcleardefault\b/)) {  
            /* Add event handlers */          
            addEvent(theInput, 'focus', clearDefaultText, false);
            addEvent(theInput, 'blur', replaceDefaultText, false);
            
            /* Save the current value */
            if (theInput.value != '') {
                theInput.defaultText = theInput.value;
            }
        }
    }
}

function clearDefaultText(e) {
    var target = window.event ? window.event.srcElement : e ? e.target : null;
    if (!target) return;
    
    if (target.value == target.defaultText) {
        target.value = '';
    }
}

function replaceDefaultText(e) {
    var target = window.event ? window.event.srcElement : e ? e.target : null;
    if (!target) return;
    
    if (target.value == '' && target.defaultText) {
        target.value = target.defaultText;
    }
}
// end clear function

// START TABLE 0
document.write('<table width="900" align="center" cellpadding="0" cellspacing="0"  border=0><TR><TD>')
document.write('<img src="images/header.gif" width="100%" heigth="90">')


// START TOP MENU
document.write('<TR><TD><table width="100%"  cellpadding="2" cellspacing="0" bgcolor="#424242" align=center><TR align=center><TD><font face=arial size=2 color=#FFFFCC>')
document.write('<a href="index.html"><font color=#FFFFCC>Home</a>   |   ')
//p-document.write('<A href="e-what.html"><font color=#FFFFCC>What?</A>   |   ')
//p-document.write('<A href="e-why.html"><font color=#FFFFCC>Why?</A>   |   ')
//p-document.write('<A href="e-history.html"><font color=#FFFFCC>History</A>   |   ')
//p-document.write('<A href="e-research.html"><font color=#FFFFCC>Research</A>   |   ')
document.write('<A href="e-ingredients.html"><font color=#FFFFCC>Ingredients</A>   |   ')
document.write('<A href="e-nutrients.html"><font color=#FFFFCC>Nutrients</A>   |   ')
document.write('<A href="e-safety.html"><font color=#FFFFCC>Safety</A>   |   ')
//p-document.write('<A href="http://foodforthoughtseminars.com/index.html" target=new><font color=#FFFFCC>Events</a>  |  ')
document.write('<A href="e-policies.html"><font color=#FFFFCC>Policies</a>  |  ')
document.write('<a href="aboutus.html"><font color=#FFFFCC>About Us</a>  |  ')
document.write('<a href="e-contacts.html"><font color=#FFFFCC>Contact Us</a>  |  ')
document.write('<A href="http://ww11.aitsafe.com/cf/review.cfm?userid=D7144686" target=new><font color=#FFFFCC>View Cart</a>')
document.write('</TD><td>')
document.write('</td></TR></TABLE>') 
// END TOP MENU

// START SIDE MENU
document.write('<table width="100%" border="0" bgcolor=white align="center" cellpadding="2" cellspacing="0">')
document.write('<TR><TD width=150 VALIGN=TOP align=center bgcolor="#E4E2CE">') 

// POINTS OF SALE
//p-document.write('<FONT color="#6E6E6E" face=arial SIZE=2>Points of Sale<BR>')
//p-document.write('<a href="directory.html"><img src="images/worldflag.jpg" width="88" heigth="62" border="0"></a><BR>')
// END POINTS OF SALE
//<IMG SRC="images/Canada_32.png" BORDER="0" WIDTH="32" HEIGHT="32" ALT="">
//<IMG SRC="images/cdn_flag.gif" BORDER="0" WIDTH="250" HEIGHT="124" ALT="">
// LANGUAGE SITES
//p-document.write('<table align="center" cellpadding="0"><tr>')
//p-document.write('<td><a href="dir-canada.html"><img src="images/Canada_32.png" width="24" heigth="24" border="0" alt="Canada"></a></td>')
//p-document.write('<td><a href="http://www.biosuperalimento.com/" TARGET="_blank"><img src="images/Italy_32.png" width="24" heigth="24" border="0" alt="Italiano"></a></td>')
//p-document.write('<td><a href="http://www.bacinergy.com/" TARGET="_blank"><img src="images/Spain_32.png" width="24" heigth="24" border="0" alt="Espanol"></a></td>')
//p-document.write('<td><a href="http://www.bluedragonessentials.com/" TARGET="_blank"><img src="images/UK_32.png" width="24" heigth="24" border="0" alt="English (UK)"></a></td>')
//p-document.write('<td><a href="http://www.biomicroalgen.com/" target=new><img src="images/Germany_32.png" width="24" heigth="24" border="0" alt="German"></a></td>')
//p-document.write('<td><a href="http://www.bionutrisyon.com/t-index.html" TARGET="_blank"><img src="images/philippines.png" width="24" heigth="24" border=0 alt="Tagalog/Philippines (In progress)"></a></td>')
//p-document.write('</tr></table><HR WIDTH="85%" SIZE="1">')
// END LANGUAGE SITES

//<!-- SIDE MENU -->
document.write('<FONT face=arial color="gray" size=2><BR>')
document.write('<A href="e-bsf-order.html"><FONT color="#6E6E6E"><B>BIO</B>SUPERFOOD</A><BR>')
document.write('<A href="e-bsf-formulas.html"><FONT color="#6E6E6E">Formulas</b></A><BR>')
document.write('<A href="e-bsf-usages.html"><FONT color="#6E6E6E">Usages</b></A><BR>')
//p-document.write('<A href="e-20reasons.html"><FONT color="#6E6E6E">20 Reasons</b></A><BR>')
//p-document.write('<A href="e-bsf-testimonials.html"><FONT color="#6E6E6E">Testimonials</b></A><BR>')
document.write('<A href="e-bsf-order.html"><FONT color="#6E6E6E">Shop </b>')
//p-document.write('<img src="images/us-flag.gif" height="12" border="0" alt="Shop USA" align=bottom><HR WIDTH="85%" SIZE="1">')
//document.write('<FONT COLOR=red><B>Holiday</FONT><FONT COLOR="#006600">Special</B></A></FONT>')

document.write('<HR WIDTH="85%" SIZE="1">')

document.write('<A href="e-bp-order.html"><FONT color="#6E6E6E"><B>BIO</B>PREPARATION</A><BR>')
document.write('<A href="e-bp-formulas.html"><FONT color="#6E6E6E">Formulas</b></A><BR>')
document.write('<A href="e-bp-usages.html"><FONT color="#6E6E6E">Usages</b></A><BR>')
//p-document.write('<A href="e-bp-testimonials.html"><FONT color="#6E6E6E">Testimonials</b><BR>')
document.write('<A href="e-bp-order.html"><FONT color="#6E6E6E">Shop</b>')
//document.write('<img src="images/us-flag.gif" height="12" border="0" alt="Shop" align=bottom><HR WIDTH="85%" SIZE="1">')
//document.write('<FONT COLOR=red><B>Holiday</FONT><FONT COLOR="#006600">Special</B></A></FONT><HR WIDTH="85%" SIZE="1">')

//p-document.write('<A href="http://foodforthoughtseminars.com/index.html" target=new><FONT color="#6E6E6E"><b>Events</b></A>')

//document.write('<HR WIDTH="85%" SIZE="1">')

//document.write('<A href="links.html"><FONT color="#6E6E6E"><b>Links</b></A>')
//document.write('<A href="e-reseller-g.html"><FONT color="#6E6E6E"><b>Reseller Login</b></A>
//<!--END SIDE MENU -->

document.write('<HR WIDTH="85%" SIZE="1">')


// LEAF
document.write('<img src="images/leafs.gif" width=145 valign=bottom border=0><BR></TD>')
// END LEAF

document.write('<td width=2><TD VALIGN=TOP><BR>')
document.write('<font color=#660000 face="Arial" size=3>')

