window.onload = initAll;

function initAll()
{
   var allLinks = document.getElementsByTagName("a");
 
   for (var i=0; i < allLinks.length; i++)
   {
		if (allLinks[i].className.indexOf("menuLink") > -1)
		{
		 allLinks[i].onmouseover = toggleMenu;
     
	     
	 //    		  allLinks[i].onmouseover = toggleMenu;
	//	  allLinks[i].onclick = function() 		  {
	//	   return false;
	//	  }
		}
   }
}

function toggleMenu()
{

   var startMenu = this.href.lastIndexOf("/")+1;

   var stopMenu = this.href.lastIndexOf(".");

   var thisMenuName = this.href.substring(startMenu,stopMenu);


   var thisMenu = document.getElementById(thisMenuName);
   thisMenu.style.display = "block";

 
   thisMenu.parentNode.className = thisMenuName;
 
   thisMenu.parentNode.onmouseout = function() {
   document.getElementById(this.className).style.display = "none";
   }
  
   thisMenu.parentNode.onmouseover = function() {
   document.getElementById(this.className).style.display = "block";
   }
 
 
}






function toggleVeriticalMenu()
{

   var startMenu = this.href.lastIndexOf("/")+1;

   var stopMenu = this.href.lastIndexOf(".");

   var thisMenuName = this.href.substring(startMenu,stopMenu);

   var thisMenu = document.getElementById(thisMenuName).style;

   if (thisMenu.display == "block")
   {
       thisMenu.display = "none";
   }
   else
   {
       thisMenu.display = "block";
   }

   return false;
   
   }

function NoRightClick()
{
	alert("Right click has been disabled on this form!");
	return false;
}

function Button1_onclick()
{
	alert("This would take web browsers to their own private web account to view and print off a summary of their donations on their local printer");

}
function Donate1_onclick()
{
  alert("This would be a link to allow Donors to Donate a one time amount or an ongoing monthly amount into your account");
}
function Search_onclick()
{
  alert("This would be a link to the shopping cart/ecommerce system for web browsers to buy any material from you");
}


function Select1_onChange()
{
	var strIndex = Select1.selectedIndex;
	var strSelectedValue = Select1.options[strIndex].value;
	var strBaseURL = "index.htm";
	switch (strSelectedValue)
	{
		case "1":
			strBaseURL = "http://www.biznesstechnologies.com/aboutus.htm";
			break;
		case "2":
			strBaseURL = "http://www.biznesstechnologies.com/whoisbiznessinc.htm";
			break;
		case "3":
			strBaseURL = "http://www.biznesstechnologies.com/sitelinks.htm";
			break;	
		case "4":
			strBaseURL = "http://www.biznesstechnologies.com/jobpostings.htm";
			break;		
		case "5":
			strBaseURL = "http://www.biznesstechnologies.com/contactus.htm";
			break;		
		case "6":
			strBaseURL = "http://www.biznesstechnologies.com/privacypolicy.htm";
			break;		
		case "7":
			strBaseURL = "http://www.biznesstechnologies.com/termsofusage.htm";
			break
		}
		switch (strSelectedValue)
		{		
		case "8":
			strBaseURL = "http://www.biznesstechnologies.com/products.htm";
			break;
		case "9":
			strBaseURL = "http://www.biznesstechnologies.com/ecommerce.htm";
			break;
		case "10":
			strBaseURL = "http://www.biznesstechnologies.com/web-recurring-billing.htm";
			break;	
		case "11":
			strBaseURL = "http://www.biznesstechnologies.com/web-mobile-reporting.htm";
			break;	
		case "12":
			strBaseURL = "http://www.biznesstechnologies.com/web-donation-management.htm";
			break;							
		case "13":
			strBaseURL = "http://www.biznesstechnologies.com/interfaces.htm";
			break;	
		case "14":
			strBaseURL = "http://www.biznesstechnologies.com/services.htm";
			break;
			}
		switch (strSelectedValue)
		{				
		case "15":
			strBaseURL = "http://www.biznesstechnologies.com/contract-work.htm";
			break;
		case "16":
			strBaseURL = "http://www.biznesstechnologies.com/support.htm";
			break;			
		case "17":
			strBaseURL = "http://www.biznesstechnologies.com/clientreferences.htm";
			break;													
	}
	
	top.location.href = strBaseURL;			
	return true;
}



