<!-- 
// Prelevato su http://www.web-link.it 
/*
Copyright © MaXimuS 2000-2001, All Rights Reserved.
Site: http://www.absolutegb.com/maximus
E-mail: maximus@nsimail.com
Version: 6.1 (NS6 Compatibility)
*/

// Default settings. Don't change them.

YOffset=40; // no quotes!!
staticYOffset=40; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=1000; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
hdrFontFamily="Verdana";
hdrFontSize="3";
hdrFontColor="#000080"; //blu
hdrBGColor="#AFCCDE"; //celestino
hdrAlign="right";
hdrVAlign="center";
hdrHeight="20";
linkFontFamily="Verdana";
linkFontSize="2";
linkBGColor="#FFF7E5"; //beige
linkOverBGColor="#FFF7E5";
linkTarget="_self"; //_top
linkAlign="left";
menuBGColor="#ffcd6a"; //arancione
//url = "file:///C:/Documents and Settings/Sara Admin/Documenti/Visual Studio 2008/WebSites/WebSite2/img/menu/menu1.jpg')";
menuIsStatic="yes";
menuWidth=80; // Must be a multiple of 10! no quotes!!
barBGColor="#AFCCDE"; //colore della barra verticale a dx
barFontFamily="Verdana";
barFontSize="2";
barFontColor="#000080";//colore della scritta nella barra verticale a dx
barVAlign="top";
barWidth=15; // no quotes!!

NS6 = (document.getElementById&&!document.all)
IE = (document.all)
NS = (navigator.appName=="Netscape" && navigator.appVersion.charAt(0)=="4")

moving=setTimeout('null',1)
function moveOut() {
if ((NS6 && parseInt(ssm.left)<0)||(IE && ssm.style.pixelLeft<0)||(NS && document.ssm.left<0)) {
clearTimeout(moving);moving = setTimeout('moveOut()', slideSpeed)
if (NS6) {theleft+=10;ssm.left = theleft;}
if (IE) {ssm.style.pixelLeft += 10;}
if (NS) {document.ssm.left += 10;document.ssm.clip.left-=10}}
else {clearTimeout(moving);moving=setTimeout('null',1)}};
function moveBack() {}
function moveBack1() {
};

lastY = 0;
function makeStatic() {
if (NS6) {winY = window.pageYOffset;}
if (IE) {winY = document.body.scrollTop;var NM=document.all('ssm').style}
if (NS) {winY = window.pageYOffset;var NM=document.ssm}
if (NS6||IE||NS) {
if (winY!=lastY&&winY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY - YOffset + staticYOffset);}
else if (YOffset-staticYOffset+lastY>YOffset-staticYOffset) {
smooth = .3 * (winY - lastY);}
else {smooth=0}
if(smooth > 0) smooth = Math.ceil(smooth);
else smooth = Math.floor(smooth);
if (NS6) {ssm.top=parseInt(ssm.top)+smooth;}
if (IE) NM.pixelTop+=smooth;
if (NS) NM.top+=smooth;
lastY = lastY+smooth;
setTimeout('makeStatic()', 1)}}

function initSlide() {
if (NS6){
ssm=document.getElementById("ssm").style
ssm.visibility="visible";
ssm.left = -menuWidth;}
else if (IE) {
document.all("ssm").style.visibility = "visible"
//document.all("ssm").style.pixelLeft = -menuWidth;}//questa riga nasconde il menu se abilitata
;}
else if (NS) {
document.layers["ssm"].clip.left = menuWidth;
document.layers["ssm"].left = -menuWidth;
document.layers["ssm"].visibility = "show"}
if (menuIsStatic=="yes") makeStatic();}

function reloadPage() {if(NS)location.reload()} 

function startMenu(menuHeader, barText) {
if (IE||NS6) {document.write('<DIV ID="ssm" style="visibility:hidden;Position : Absolute ;Left : 0 ;Top : '+YOffset+' ;Z-Index : 20;width:1px;" onmouseover="moveOut()" style="background-image: url(img/menu/scrollMenu.jpg); background-repeat: no-repeat">')}
if (NS) {document.write('<LAYER visibility="hide" top="'+YOffset+'" name="ssm" bgcolor="'+menuBGColor+'" left="0" onmouseover="moveOut()" style="background-image: url(img/menu/scrollMenu.jpg); background-repeat: no-repeat">')} //onmouseout="moveBack()" per farlo vedere e non vedere aggiungilo dopo onmouseover="moveOut()"
if (NS6){document.write('<table border="0" cellpadding="0" cellspacing="0" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'" style="background-image: url(img/menu/scrollMenu.jpg); background-repeat: no-repeat"><TR><TD>')}
tempBar=""
for (i=0;i<barText.length;i++) {
tempBar+=barText.substring(i, i+1)+"<BR>"}
document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" style="background-image: url(img/menu/scrollMenu.jpg); background-repeat: no-repeat"><tr><td WIDTH="'+(menuWidth-1)+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+menuHeader+'<\/b><\/font><\/td><td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'<\/B><\/font><\/p><\/TD><\/tr>')
theleft=-menuWidth}

//document.write('<table border="0" cellpadding="0" cellspacing="1" width="'+(menuWidth+barWidth+2)+'" bgcolor="'+menuBGColor+'"><tr><td bgcolor="'+hdrBGColor+'" WIDTH="'+(menuWidth-1)+'" HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+menuHeader+'<\/b><\/font><\/td><td align="center" rowspan="100" width="'+barWidth+'" bgcolor="'+barBGColor+'" valign="'+barVAlign+'"><p align="center"><font face="'+barFontFamily+'" Size="'+barFontSize+'" COLOR="'+barFontColor+'"><B>'+tempBar+'<\/B><\/font><\/p><\/TD><\/tr>')
//theleft=-menuWidth}

function addItem(text, link, target) {
if (!target) {target=linkTarget}
document.write('<TR><TD  WIDTH="'+(menuWidth-1)+'"><ILAYER><LAYER  onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV  ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+link+'" target="'+target+'" style="color: #009900;font-weight: bold;">'+text+'<\/DIV><\/LAYER><\/ILAYER><\/TD><\/TR>')}
//document.write('<TR><TD onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="'+(menuWidth-1)+'"><ILAYER><LAYER onmouseover="bgColor=\''+linkOverBGColor+'\'" onmouseout="bgColor=\''+linkBGColor+'\'" WIDTH="100%" ALIGN="'+linkAlign+'"><DIV  ALIGN="'+linkAlign+'"><FONT face="'+linkFontFamily+'" Size="'+linkFontSize+'">&nbsp;<A HREF="'+link+'" target="'+target+'" CLASS="ssmItems">'+text+'<\/DIV><\/LAYER><\/ILAYER><\/TD><\/TR>')}

function addHdr(text) {
document.write('<tr><td HEIGHT="'+hdrHeight+'" ALIGN="'+hdrAlign+'" VALIGN="'+hdrVAlign+'" WIDTH="'+(menuWidth-1)+'">&nbsp;<font face="'+hdrFontFamily+'" Size="'+hdrFontSize+'" COLOR="'+hdrFontColor+'"><b>'+text+'<\/b><\/font><\/td><\/tr>')}

function endMenu() {
document.write('<tr><td><font size="0" face="Arial">&nbsp;<\/font><\/td><\/TR><\/table>')
if (NS6){document.write('<\/TD><\/TR><\/TABLE>')}
if (IE||NS6) {document.write('<\/DIV>')}
if (NS) {document.write('<\/LAYER>')}
if (NS6||IE||NS) setTimeout('initSlide();', 500)}

window.onresize=reloadPage

/*
Configure menu styles below
NOTE: To edit the link colors, go to the STYLE tags and edit the ssmItems colors
*/
YOffset=20; // no quotes!!
staticYOffset=20; // no quotes!!
slideSpeed=20 // no quotes!!
waitTime=500; // no quotes!! this sets the time the menu stays out for after the mouse goes off it.
//menuBGColor="#006600"; //verde
menuIsStatic="yes";
menuWidth=120; // Must be a multiple of 10! no quotes!!
hdrFontFamily="Verdana";
hdrFontSize="2";
hdrFontColor="#ffffff";//bianco
hdrBGColor="#006600";//verde
hdrAlign="left";
hdrVAlign="center";
hdrHeight="12";
linkFontFamily="Verdana";
linkFontSize="1";
linkBGColor="white";
linkOverBGColor="yellow";//verde fosforescente: #66ff66
linkTarget="_self";
linkAlign="Left";
barBGColor="#990000";//rosso scuro, marrone Barra verticale a dx
barFontFamily="Verdana";
barFontSize="2";
barFontColor="yellow";
barVAlign="center";
barWidth=15; // no quotes!! barra laterale verticale

startMenu("", "Talitha Koum Camerun")
addItem("Home", "index.htm", "");
addItem("Statuto", "statuto.pdf", "");
addItem("Chi Siamo", "ChiSiamo.htm", "");
addItem("Progetti", "Progetti.htm", "");
addItem("Come Sostenerci", "ComeSostenerci.htm", "");//addItem("Come<br/>&nbsp;Sostenerci", "ComeSostenerci.htm", "");
//addItem("Eventi", "Eventi.htm", "");
addItem("Eventi", "Eventi.htm", "");
addItem("Dicono di noi", "http://www.calameo.com/read/0003230022436193932c5", "");
addItem("Dove Siamo", "Dove.htm", "");
addItem("Photogallery", "Photogallery.htm", "");
addItem("Contattaci", "Contattaci.htm", "");
//addItem("Enti/Aziende Partner", "Partner.htm", "");
//addItem("Gallery", "Gallery.htm", "");
endMenu()
// end -->	
