
var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');


listMenu.animations[listMenu.animations.length] = FSMenu.animFade;
listMenu.animations[listMenu.animations.length] = FSMenu.animSwipeDown;


var arrow = null;
if (document.createElement && document.documentElement)
{
 arrow = document.createElement('span');
 arrow.appendChild(document.createTextNode('>'));


 arrow.className = 'subind';
}
addEvent(window, 'load', new Function('listMenu.activateMenu("listMenuRoot", arrow)'));



function mouseoverHome()
{
document.imghome.src ="images/btn-home2.png";
}
function mouseoutHome()
{
document.imghome.src ="images/btn-home.png";
}


function mouseoveraboutyi()
{
document.imgaboutyi.src ="images/btn-aboutyi2.png";
}
function mouseoutaboutyi()
{
document.imgaboutyi.src ="images/btn-aboutyi.png";
}


function mouseoveroutreach()
{
document.imgoutreach.src ="images/btn-outreach2.png";
}
function mouseoutoutreach()
{
document.imgoutreach.src ="images/btn-outreach.png";
}


function mouseovermissions()
{
document.imgmissions.src ="images/btn-missions2.png";
}
function mouseoutmissions()
{
document.imgmissions.src ="images/btn-missions.png";
}


function mouseoverministries()
{
document.imgministries.src ="images/btn-ministries2.png";
}
function mouseoutministries()
{
document.imgministries.src ="images/btn-ministries.png";
}


function mouseoverothers()
{
document.imgothers.src ="images/btn-others2.png";
}
function mouseoutothers()
{
document.imgothers.src ="images/btn-others.png";
}


function mouseoverdownloads()
{
document.imgdownloads.src ="images/btn-downloads2.png";
}
function mouseoutdownloads()
{
document.imgdownloads.src ="images/btn-downloads.png";
}


function mouseovercontacts()
{
document.imgcontacts.src ="images/btn-contacts2.png";
}
function mouseoutcontacts()
{
document.imgcontacts.src ="images/btn-contacts.png";
}


var mouseclicklocationWindow=null;
function mouseclicklocation(mypage,myname,w,h,pos,infocus){

if (pos == 'random')
{LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
else
{LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
settings='width='+ w + ',height='+ h + ',top=' + TopPosition + ',left=' + LeftPosition + ',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';mouseclicklocationWindow=window.open('',myname,settings);
if(infocus=='front'){mouseclicklocationWindow.focus();mouseclicklocationWindow.location=mypage;}
if(infocus=='back'){mouseclicklocationWindow.blur();mouseclicklocationWindow.location=mypage;mouseclicklocationWindow.blur();}

}