uagent = window.navigator.userAgent.toLowerCase();
IEB=(uagent.indexOf('msie') != -1)?true:false;
var scompat = document.compatMode;
var acc_siteintcomplate=0;

var num_pics = 4;
acc_siteimgarr=new Array();
acc_sitealtarr=new Array();
acc_sitelinkarr=new Array();
acc_sitetargetarr=new Array();
acc_sitetitarr=new Array();
acc_sitedesarr=new Array();
acc_siteimgarr[0]="";
acc_sitealtarr[0]="";
acc_sitelinkarr[0]="";
acc_sitetargetarr[0]="";
acc_sitetitarr[0]="";
acc_sitedesarr[0]="";

acc_siteimgarr[1]="CamBoyo_1.jpg";
acc_sitealtarr[1]="";
acc_sitelinkarr[1]="";
acc_sitetargetarr[1]="";
acc_sitetitarr[1]="&nbsp;Cameroon Boyo - Specialty Organic Coffee From West Cameroon&nbsp;";
acc_sitedesarr[1]="The farmers of the western highlands of Cameroon in Africa are proud to introduce Cameroon BOYO&trade; Arabica Coffee to the World!<br/>The pleasant aroma, the smooth fine flavor and the full body of BOYO Coffee are the trademarks that will distinguish this coffee in the minds of connoisseurs everywhere. So sit back and enjoy the imagery and sensations of BOYO as we describe the region, the people and the process that makes this experience possible.";

acc_siteimgarr[2]="CamBoyo_2.jpg";
acc_sitealtarr[2]="";
acc_sitelinkarr[2]="";
acc_sitetargetarr[2]="";
acc_sitetitarr[2]="&nbsp;An Insight Into the Lifecycle of Cameroon Boyo Coffee&nbsp;";
acc_sitedesarr[2]="In the highlands of Cameroon, hidden in the valleys of seemingly endless hills and volcanic peaks, lie the villages that comprise the Boyo region where Cameroon BOYO&trade; Coffee is born.<br/><br/>The striking characteristics of BOYO coffee are the direct result of the nutrient rich, dark volcanic top soil and the ideal climatic conditions of the Boyo region. Each year, the blossoming of the coffee plants coincides with the onset of the first rains.<br/><br/>As Nature waters Boyo, she brings additional nutrients down from the upper slopes of the volcanic mountains, further nourishing the coffee plants. Just as the coffee berries start to ripen, the dry season sets in, blessing the hills with daily doses of brilliant sunshine. This sunshine allows the coffee berries to quickly attain their optimal sugar content. This is the secret of Cameroon BOYO&trade; Coffee's distinct flavor.<br/><br/><span style='color:green'>A uniquely intensive and all natural cultivating, harvesting and selection process</span><br/><br/>The BOYO coffees grow alongside other complimentary crops such as avocados, plantains, beans and other vegetables. They are sufficiently spread out so that each individual coffee tree grows within its own micro-eco system. While this practice results in a lower yield per hectare, it allows us to minimize cross infection of the coffee plants and control weeds and damaging insects without the use of harmful herbicides and pesticides. To further supplement the soil nutrients, the coffee berry pulp is mixed with the soil around each coffee plant after de-pulping of the berries.<br/><br/>The farmers and their families then facilitate the fermentation, washing and drying of their coffee beans, constantly removing debris and all undesirable beans. When the correct degree of dryness has been attained, the coffee beans are sent to the dry mill where they are shelled, sorted by screen size and hand-picked. These are the beans that bear the Cameroon BOYO&trade; Coffee label and are responsible for the flavorful experience.<br/><br/>Once the BOYO coffees arrive in the United States, we insist on controlled warehousing, roasting and protective packaging to ensure that all of the flavor and freshness is conserved.<br/><br/>This process, while slow and cumbersome, allows us to produce a product that is completely free of contaminants and offers the great taste and vigor you will come to love and know as Cameroon BOYO&trade; Coffee.<br/><br/>We sincerely hope that you have found this brief story of the journey of Cameroon BOYO&trade; Coffee from the fields to your cup both interesting and informative.<br/><br/>We believe that you will find the mellow, aromatic, full bodied BOYO coffee pleasing to your distinguishing pallet, and we hope that you will renew this experience over and over again.";

acc_siteimgarr[3]="CamBoyo_3.jpg";
acc_sitealtarr[3]="";
acc_sitelinkarr[3]="";
acc_sitetargetarr[3]="";
acc_sitetitarr[3]="&nbsp;A Compelling Collaborative Approach&nbsp;";
acc_sitedesarr[3]="To break the endless cycle of poverty and exploitation that plagues small-scale farmers like Nawain Prudentia worldwide, BOYO coffee farmers and their partners have developed a collaborative approach to the marketing of their coffee. Now, Nawain and her colleagues retain ownership of the coffee until it is sold, thereby assuming some of the risks associated with the market and in return, sharing in the rewards of the free market place.<br/><br/>This approach provides an opportunity for Nawain and the other Boyo farmers to raise their standards of living as the market comes to accept the fruit of their labor. It also ensures that we are provided with the highest quality, most flavorful beans possible every time!";

acc_siteimgarr[4]="CamBoyo_4.jpg";
acc_sitealtarr[4]="";
acc_sitelinkarr[4]="";
acc_sitetargetarr[4]="";
acc_sitetitarr[4]="&nbsp;A More Equitable, Fair and Just Approach&nbsp;";
acc_sitedesarr[4]="Today, much effort is being made to address the question of poverty, especially in coffee producing regions around the world. One such approach is the so called &ldquo;fair trade&rdquo; certification process. The questions remain: &ldquo;why is it that after all these years, poverty still persists even in areas where fair trade is practiced?&rdquo;, &ldquo;what is the criterion for setting market prices for 'fair trade' certified coffee?&rdquo;; …<br/><br/>The approach of the BOYO coffee farmers and their collaborators is changing that situation. Since Cameroon BOYO&trade; Coffee is owned by the producing farmers, sales proceeds directly reward them. Furthermore, to get the best market price, farmers understand they have to deliver the best quality coffee. Consumers are not penalized with high &ldquo;arbitrary&rdquo; prices because of certification seals.<br/><br/>The collaborative approach to trade is &ldquo;More Than Fair&rdquo;; it is Just, rewarding both producers and consumers; it is Equitable, rewarding collaborators proportionately with their contribution to the supply of coffee.<br/><br/>Cameroon BOYO&trade; Coffee, Small Farmer Grown&trade; Small Farmer Owned&trade;";

var gnrated='';
var acc_sitestepcount=20;
var acc_sitecurrstep=10;
var acc_sitetimeo=null;
var acc_sitehorvert=0;
var acc_sitellllll=0;
var acc_sitelllllll=0;
var acc_sitellllllll=0;
var acc_sitell=new Array();
var acc_sitelll=new Array();
var acc_sitellll=new Array();
var acc_sitestartposx=new Array();
var acc_sitelllll=new Array();

var i=0;
var acc_sitelllllllll=0;
var acc_siteDescCalcLeftBir=0;
var acc_siteDescCalcLeft=0;
var acc_siteDescCalcWidth=0;
var acc_siteDescCalcHeight=0;
var acc_siteDescCalcIcWidth=0;
var acc_siteDescCalcIcHeight=0;
var acc_sitehpiece='';
var acc_siteds="";
var acc_siteIEDescOpacity=100;
var acc_siteFFOpacity=1.0;
var acc_siteDescFadeEffectTimer=null;
var acc_siteAutoPlayTimer=null;
var acc_siteAutoPlayCurrent=1;
var acc_siteicerdemi=0;

function goNext(url) {
    launch = window.open(url, '', 'left=25px, top=25px, width=940px, height=675px, resizable=yes, scrollbars=yes, toolbar=yes, menubar=yes, status=yes');
    window.launch.focus();
}

function acc_siteWriteDesc() {
    if(acc_sitelinkarr[i].length > 0){
		acc_siteds=+'<a href="javascript:goNext(\''+acc_sitelinkarr[i]+'\')" style="text-decoration:none;">';
    }
    acc_siteds=acc_siteds+'<div id="acc_siteadesc'+i+'" style="position:absolute;top:'+275+'px;left:0px;width:'+acc_siteDescCalcWidth+'px;height:'+acc_siteDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;filter:alpha(opacity=100);opacity:1.00;" onMouseOut="acc_siteoutall()">';
    acc_siteds=acc_siteds+'<div style="position:absolute;left:0px;top:0px;width:'+acc_siteDescCalcWidth+'px;height:'+acc_siteDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:'+'white'+';opacity: '+1.00+';filter:alpha(opacity='+100+');" onMouseOut="acc_siteoutall()"></div>';
    acc_siteds=acc_siteds+'<div style="position:relative;left:0px;top:0px;width:'+acc_siteDescCalcIcWidth+';height:'+acc_siteDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+1+'px;border-style:'+'solid'+';border-width:'+1+'px;border-color:#'+'C0C0C0'+';color:'+'black'+';font-family:'+'cursive'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="acc_siteoutall()">';
    acc_siteds=acc_siteds+'<span style="width:250px; background-color:white; color:'+'green'+';font-family:'+'cursive'+';font-style:'+'bold'+';font-size: '+13+'px;font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="acc_siteoutall()">'+acc_sitetitarr[i]+'</span>';
    if(acc_sitetitarr[i].length>0){
        acc_siteds=acc_siteds+'<br /><div id="text" style="width:410px; height:130px; font:13px cursive; overflow:auto;" >';
          acc_siteds=acc_siteds+'<p style="padding:4px">'+acc_sitedesarr[i];
    acc_siteds=acc_siteds+'</p></div>';
    }
    acc_siteds=acc_siteds+'</div>';
    acc_siteds=acc_siteds+'</div>';
    if(acc_sitelinkarr[i].length> 0){
        acc_siteds=acc_siteds+'</a>';
    }
}

function acc_siteinit_doc(fstr,hormuvertmi){
    acc_siteDescCalcLeftBir=5;
    if((0==0)&&(acc_sitehorvert==0)) {
		acc_siteDescCalcLeft=5+5;
    }
    else {
        acc_siteDescCalcLeft=5;
    }

    if(0==0) {
        acc_siteDescCalcWidth=425-5-5;
    }
    else {
        acc_siteDescCalcWidth=700-5-5;
    }

    if((acc_sitehorvert==1)&&(0==1)) {
        acc_siteDescCalcHeight=450-275-5;
    }
    else {
        acc_siteDescCalcHeight=450-275-5;
    }

    if((IEB==true)&&(scompat == "BackCompat" ))	{
		acc_siteDescCalcIcWidth=acc_siteDescCalcWidth;
        acc_siteDescCalcIcHeight=acc_siteDescCalcHeight;
    }
    else {
        acc_siteDescCalcIcWidth=acc_siteDescCalcWidth-2*(1)-2*(1);
        acc_siteDescCalcIcHeight=acc_siteDescCalcHeight-2*(1)-2*(1);
    }

    acc_sitefolderset=fstr;
    var tmpleftpad=0;
    var tmptoppad=0;
    acc_sitehpiece=acc_sitehpiece+'<div style="position:relative;width:'+700+'px;height:'+450+'px;border-style:solid;border-width:'+1+'px;border-color:#'+'808080'+';">';
    acc_sitehpiece=acc_sitehpiece+'<div style="position:relative;width:'+700+'px;height:'+450+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="acc_siteoutall()" onMouseOut="acc_sitemouse_divout()">';

    if(0==1) {
        for(i=1;i<=num_pics;i++) {
            acc_siteWriteDesc();
        }
    }

    for(i=1;i<=num_pics;i++) {
        if(acc_sitehorvert==0) {
            if(i==1){
                tmpleftpad=0;
            }
            else{
                tmpleftpad=5;
            }
            tmptoppad=0;
        }
        else {
            tmpleftpad=0;
            if(i==1){
                tmptoppad=0;
            }
            else{
                tmptoppad=5;
            }
        }
        //gnrated=gnrated+'<div id="acc_sitepo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="acc_sitemouse_over('+i+')" onMouseOut="acc_siteoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><a href="javascript.goNext(\''+acc_sitelinkarr[i]+'\')" target="'+acc_sitetargetarr[i]+'"><img width="'+425+'" height="'+300+'" src="'+acc_sitefolderset+acc_siteimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+acc_sitealtarr[i]+'"></img></a>';
		gnrated=gnrated+'<div id="acc_sitepo'+i+'" style="position:absolute;left:0px;top:0px;" onMouseOver="acc_sitemouse_over('+i+')" onMouseOut="acc_siteoutall()"><div style="background-color:#FFFFFF;padding-left:'+tmpleftpad+'px;padding-top:'+tmptoppad+'px;"><img width="'+425+'" height="'+450+'" src="'+acc_sitefolderset+acc_siteimgarr[i]+'" style="border-style:solid;border-width:0px;" TITLE="'+acc_sitealtarr[i]+'"></img>';
        if(0==0) {
            acc_siteds="";
            acc_siteWriteDesc();
            gnrated=gnrated+acc_siteds;
        }
        gnrated=gnrated+'</div></div>';
    }

    acc_sitehpiece=acc_sitehpiece+gnrated;

    if(0==1) {
        acc_sitehpiece=acc_sitehpiece+acc_siteds;
    }
    acc_sitehpiece=acc_sitehpiece+'</div>';	acc_sitehpiece=acc_sitehpiece+'</div>';	document.write(''+acc_sitehpiece);	setTimeout("acc_siteinit_position("+parseInt(hormuvertmi)+")",50);
}

function acc_siteinit_position(hv){
    acc_sitehorvert=hv;
    for(i=1;i<=num_pics;i++) {
        acc_sitell[i]=document.getElementById('acc_sitepo'+i);
        acc_sitelll[i]=document.getElementById('acc_siteadesc'+i);
        if((acc_sitell[i]==null)||(acc_sitelll[i]==null)) {
            setTimeout("acc_siteinit_position("+parseInt(hv)+")",200);
            return;
        }
    }

    if(acc_sitehorvert==0)	{
        acc_sitellllll=parseInt((700-((num_pics-1)*5)) /(num_pics));
        acc_sitelllllll=acc_sitellllll+5;
        acc_sitellllllll=parseInt(((700-425)/(num_pics-1)));
    }
    else {
        acc_sitellllll=parseInt( (280-((num_pics-1)*5)) /(num_pics));
        acc_sitelllllll=acc_sitellllll+5;
        acc_sitellllllll=parseInt(((280-300)/(num_pics-1)));
    }

    for(i=1;i<=num_pics;i++) {
        acc_sitell[i]=document.getElementById('acc_sitepo'+i);
        sx=(acc_sitelllllll*(i-1))-5;
        if(acc_sitehorvert==0) {
            if(i==1) {
                acc_sitell[i].style.left="0px";
            }
            else {
                acc_sitell[i].style.left=""+sx+"px";
            }
        }
        else {
            if(i==1) {
                acc_sitell[i].style.top="0px";
            }
            else {
                acc_sitell[i].style.top=""+sx+"px";
            }
        }

        acc_sitestartposx[i]=sx;
        acc_sitelllll[i]=acc_sitestartposx[i];
        if(i==1) {
            acc_sitelll[i].style.left=""+acc_siteDescCalcLeftBir+"px";
        }
        else {
            acc_sitelll[i].style.left=""+acc_siteDescCalcLeft+"px";
        }
    }

    acc_siteintcomplate=1;

    if(1==1) {
        acc_siteDoAutoPlay();
    }
}

function acc_siteDoAutoPlay(){
    acc_sitemouse_over(acc_siteAutoPlayCurrent);
    acc_siteAutoPlayCurrent=acc_siteAutoPlayCurrent+1;
    if(acc_siteAutoPlayCurrent > num_pics) {
        acc_siteAutoPlayCurrent=1;
    }

    acc_siteAutoPlayTimer=setTimeout("acc_siteDoAutoPlay()",4000);
}

function acc_sitedo_FadeAnim(){
    if(acc_sitelllllllll<1)	{
        return;
    }
    acc_siteIEDescOpacity=acc_siteIEDescOpacity+5;
    acc_siteFFOpacity=acc_siteFFOpacity+0.05;
    if(IEB==true) {
        if(acc_siteIEDescOpacity>100) {
            acc_siteIEDescOpacity=100;
            return;
        }
    }
    else {
        if(acc_siteFFOpacity>1.00) {
            acc_siteFFOpacity=1.00;
            return;
        }
    }

    if(IEB==true) {
        acc_sitelll[acc_sitelllllllll].filters.item(0).opacity=acc_siteIEDescOpacity;
    }
    else {
        acc_sitelll[acc_sitelllllllll].style.opacity = acc_siteFFOpacity;
    }

    acc_siteDescFadeEffectTimer=setTimeout("acc_sitedo_FadeAnim()",20);
}

function acc_sitedo_anim(){
    if(acc_sitecurrstep<=0)	{
        if(acc_sitelllllllll>=1) {
            if(acc_sitehorvert==0) {
                if(acc_sitelllllllll==1) {
                    acc_sitelll[acc_sitelllllllll].style.left=""+acc_siteDescCalcLeftBir+"px";
                }
                else {
                    acc_sitelll[acc_sitelllllllll].style.left=""+acc_siteDescCalcLeft+"px";
                }
            }
            else {
                if(0==0) {
                    acc_sitelll[acc_sitelllllllll].style.left=""+(acc_siteDescCalcLeft+parseInt(acc_sitell[acc_sitelllllllll].style.left))+"px";
                    var DesvertTop=0;
                    if((acc_sitelllllllll>1) &&(acc_sitelllllllll!=num_pics)){
                        DesvertTop=275+5;
                    }else {
                        DesvertTop=275;
                    }
                    acc_sitelll[acc_sitelllllllll].style.top=""+(DesvertTop)+"px";
                }
                else {
                    acc_sitelll[acc_sitelllllllll].style.left=""+(acc_siteDescCalcLeft)+"px";
                    acc_sitelll[acc_sitelllllllll].style.top=""+275+"px";
                }
            }

            if((acc_sitetitarr[acc_sitelllllllll].length>0)||(acc_sitedesarr[acc_sitelllllllll].length>0)) {
				if(2==2) {
                    acc_siteIEDescOpacity=0;
                    acc_siteFFOpacity=0.00;
                    acc_sitedo_FadeAnim();
                    acc_sitelll[acc_sitelllllllll].style.visibility="visible";
                }
                else {
                    acc_sitelll[acc_sitelllllllll].style.visibility="visible";
                }
            }
            else {
                acc_sitelll[acc_sitelllllllll].style.visibility="hidden";
            }
        }

        return;
    }

    for(i=2;i<=num_pics;i++) {
        acc_sitelllll[i] = parseInt(acc_sitelllll[i])+parseInt((acc_sitellll[i]-acc_sitelllll[i])/acc_sitecurrstep);
        if(acc_sitehorvert==0) {
            acc_sitell[i].style.left=""+acc_sitelllll[i]+"px";
        }
        else {
            acc_sitell[i].style.top=""+acc_sitelllll[i]+"px";
        }
    }

    if((2==1)&&(acc_sitelllllllll>=1)) {
        var dtop=0;
        if((acc_sitetitarr[acc_sitelllllllll].length>0)||(acc_sitedesarr[acc_sitelllllllll].length>0)) {
            acc_sitelll[acc_sitelllllllll].style.visibility="visible";
        }
        else {
            acc_sitelll[acc_sitelllllllll].style.visibility="hidden";
        }
        dtop= 275 + parseInt(acc_siteDescCalcHeight - ((acc_siteDescCalcHeight/acc_sitestepcount)*(acc_sitestepcount-(acc_sitecurrstep-1))) );
        acc_sitelll[acc_sitelllllllll].style.top=""+dtop+"px";
    }

    acc_sitecurrstep--;	setTimeout("acc_sitedo_anim()",20);
}

function acc_sitereposition(g){
    for(i=1;i<=num_pics;i++) {
        if(i<=g) {
            if(i==1) {
                acc_sitellll[i]=0;
            }
            else {
                acc_sitellll[i]=parseInt(((i-1)*acc_sitellllllll)-5);
            }
        }
        else {
            oncekix=0;
            for(j=1;j<(i-1);j++) {
                oncekix=oncekix+acc_sitellllllll;
            }
            if(acc_sitehorvert==0) {
                acc_sitellll[i]=parseInt(((425)+(oncekix)));
            }
            else {
                acc_sitellll[i]=parseInt(((300)+(oncekix)));
            }
        }
    }

    if((acc_sitehorvert==0)&&(num_pics==g)) {
        var bul1=acc_sitellll[num_pics]+5+425;
        var bul2=700-bul1;
        acc_sitellll[num_pics]=acc_sitellll[num_pics]+bul2;
    }

    if((acc_sitehorvert==1)&&(num_pics==g)) {
        var bul1=acc_sitellll[num_pics]+5+300;
        var bul2=300-bul1;
        acc_sitellll[num_pics]=acc_sitellll[num_pics]+bul2;
    }

    acc_sitecurrstep=acc_sitestepcount;
    acc_sitedo_anim();
}

function acc_sitemouse_over(g){
    if(acc_siteintcomplate==0){
        return;
    }

    if(g==acc_sitelllllllll){
        return;
    }

    acc_sitelllllllll=g;
    clearTimeout(acc_sitetimeo);
    if(1==1){
        if(acc_siteicerdemi==1){
            clearTimeout(acc_siteAutoPlayTimer);
        }
    }

    for(i=1;i<=num_pics;i++) {
        if(i!=g) {
            acc_sitelll[i].style.visibility="hidden";
            if(IEB==true) {
                acc_sitelll[i].filters.item(0).opacity=100;
            }
            else {
                acc_sitelll[i].style.opacity = 1.0;
            }
        }
    }

    acc_sitereposition(g);
}

function acc_siteoutall() {
    acc_siteicerdemi=1;
    clearTimeout(acc_siteAutoPlayTimer);
    clearTimeout(acc_sitetimeo);
}

function acc_sitemouse_divout2(){
    acc_siteicerdemi=0;
    clearTimeout(acc_sitetimeo);
    if(1==1) {
        clearTimeout(acc_siteAutoPlayTimer);
        acc_siteAutoPlayCurrent=1;
        acc_siteDoAutoPlay();
    }
    else {
        for(i=1;i<=num_pics;i++) {
            acc_sitelll[i].style.visibility="hidden";
        }
        for(i=1;i<=num_pics;i++) {
            sx=(acc_sitelllllll*(i-1))-5;
            if(i==1) {
                acc_sitellll[i]=0;
            }
            else {
                acc_sitellll[i]=sx;
            }
        }

        acc_sitelllllllll=-1;
        acc_sitecurrstep=acc_sitestepcount;
        acc_sitedo_anim();
    }
}

function acc_sitemouse_divout(){
    clearTimeout(acc_sitetimeo);
    acc_sitetimeo=setTimeout("acc_sitemouse_divout2()",300);
}
