var six_reasons=new Array(); six_reasons.push({title:"Meet A Voice From
Kumbo, Cameroon",content:"

In the past our pupils had to trek long distances in search of clean water. As such they didn’t have time to study well as part of their precious time for studies was used for trekking. Now they just get water from the school premises. They now water their classes before sweeping with ease and there is clean water in drinking pails always in all the classes. They now have time to study without disturbances.

Tatah Kiven Eugene, Mali

",color:'#',img:'slide-3.jpg'}); six_reasons.push({title:"A Future To
Look Forward To",content:"You have brought life to the school and part of the community where the school is located.

We can only say thank you and more grease to your elbows for this remarkable gesture.
",color:'#',img:'slide-4.gif'}); six_reasons.push({title:"What Sustainable
Practices Mean",content:"We cherish the many seminars that Visi Edwin of OK Clean Water Project has conducted with water maintenance committees, caretakers, standpipe managers, and private connectors. We enjoyed and appreciated them for they have made a difference in our villages. There is now a strong spirit of love, cooperation, responsibility, mutual trust and you can name more. We feel proud and lucky to have chosen OK Clean Water Project as partner in our development.

President- Ngonozen Water Management Committee

",color:'#',img:'slide-5.gif'}); six_reasons.push({title:"Collins, Sr. Lucie and Edwin",content:"You have brought life to the school and part of the community where the school is located. We can only say thank you and more grease to your elbows for this remarkable gesture.",color:'#',img:'slide-28.jpg'}); six_reasons.push({title:"The Difference
Clean Water Makes",content:"

Furthermore with the achievement of the OK Clean Water our village has made many changes such as the mobilization of the community, the sanitation in the village, the nearness of clean water to every household and the freedom from cholera infection and upon all these we are healthy.

Secretary of the Fonkava Water Management Committee

",color:'#',img:'slide-2.gif'}); six_reasons.push({title:"How It All
Comes Together",content:"

The Kitiwum Water Supply (KWS) established a relationship with OK Clean Water in 2008 by applying to benefit from a training workshop in Tobin with Visi. Since then KWS has benefited greatly not only intellectually but also materially. OK Clean Water in 2009 assisted KIDU to extend water to CBS school-Kishiy and supported renovation works at the water tank. OK Clean Water also donated a tool box to KWS.

Mr. Lamb George, Chairman- Kitiwum
Motto: UNITY, WORK, PROGRESS

",color:'#',img:'slide-15.jpg'}); var curr_slide = 0; var nav_butt_obj = document.getElementById("galleryNavButt"); var promo_photo = document.getElementById("galleryImage"); var slide_text = document.getElementById("slideShowText"); var slide_title = document.getElementById("slideshow_title"); var cache_img = new Array(); var slide_change; var scroll_timer; var curr_interval = 15000; for(i=0; i < six_reasons.length; i++){ cache_img[i] = new Image(); cache_img[i].src = "images/slides/" + six_reasons[i]["img"]; } if(six_reasons.length > 0){ if(nav_butt_obj){ var prev_butt = document.createElement("A"); if(prev_butt){ prev_butt.className = "link-next"; prev_butt.href = "#"; prev_butt.onclick = function(){ var get_values = nav_butt_obj.getElementsByTagName("LI"); var next_slide = curr_slide == get_values.length-1?0:curr_slide+1; setAnotherSlide(get_values[next_slide]); return false; } /*prev_butt.onmouseover = function(){ scroll_timer = setInterval("switcherScroll('next')",10); } prev_butt.onmouseout = function(){ clearInterval(scroll_timer); }*/ nav_butt_obj.appendChild(prev_butt); } var nav_butt_div = document.createElement("DIV"); nav_butt_div.className = "switcherPanel"; nav_butt_obj.appendChild(nav_butt_div); var nav_butt = document.createElement("UL"); if(nav_butt){ nav_butt_div.appendChild(nav_butt); for(i=0; i < six_reasons.length; i++){ var one_nav_butt = document.createElement("LI"); one_nav_butt.innerHTML = '' + (i+1) + ''; if(i==curr_slide){one_nav_butt.className = "active";} one_nav_butt.onmouseover = function(){ clearInterval(slide_change); setAnotherSlide(this); } one_nav_butt.onmouseout = function(){ clearInterval(slide_change); slide_change = setInterval("setIntervalRenew()", curr_interval); } nav_butt.appendChild(one_nav_butt); } nav_butt.style.width = nav_butt_div.offsetWidth + "px"; nav_butt_div.style.width = "95px"; setAnotherSlide(nav_butt.getElementsByTagName("LI")[curr_slide]); slide_change = setInterval("setIntervalRenew()", curr_interval); } var next_butt = document.createElement("A"); if(next_butt){ next_butt.className = "link-prev"; next_butt.href = "#"; next_butt.onclick = function(){ var get_values = nav_butt_obj.getElementsByTagName("LI"); var prev_slide = curr_slide == 0?get_values.length-1:curr_slide-1; setAnotherSlide(get_values[prev_slide]); return false; } /*next_butt.onmouseover = function(){ scroll_timer = setInterval("switcherScroll('prev')",10); } next_butt.onmouseout = function(){ clearInterval(scroll_timer); }*/ nav_butt_obj.appendChild(next_butt); } } } function setIntervalRenew(){ if(nav_butt_obj){ var get_values = nav_butt_obj.getElementsByTagName("LI"); if(get_values.length > 0 && curr_slide < get_values.length-1){ curr_slide += 1; setAnotherSlide(get_values[curr_slide]); }else{ if(get_values.length > 0){ setAnotherSlide(get_values[0]); } } } } function setAnotherSlide(obj){ var number = parseInt(obj.getElementsByTagName("A")[0].innerHTML)-1; curr_slide = number; if(isNaN(number)){number = 0;} if(six_reasons[number] && obj && nav_butt_obj){ var get_li = obj.parentNode.getElementsByTagName("LI"); if(get_li.length > 0){ for(i=0; i < get_li.length; i++){ get_li[i].className = ""; } obj.className = "active"; } } if(six_reasons[number] && promo_photo){ promo_photo.innerHTML = ""; var new_el = document.createElement("IMG"); new_el.src = cache_img[number].src; new_el.style.width = "576px"; new_el.style.height = "276px"; promo_photo.appendChild(new_el); } if(slide_text){ slide_text.innerHTML = six_reasons[number]["content"]; } if(slide_title){ slide_title.innerHTML = six_reasons[number]["title"]; } } function switcherScroll(act){ if(act){ var get_scroll = document.getElementById("galleryNavButt").getElementsByTagName("DIV"); if(get_scroll.length == 1 && get_scroll[0].className == "switcherPanel"){ if(act == "next"){ get_scroll[0].scrollLeft += 1; } if(act == "prev"){ get_scroll[0].scrollLeft -= 1; } } } }