function clickSec(index, link)
{
   parent.main.location.href = link;
   parent.left.location.href = '/vista/third.php3?secNavIndex=' + index;
}

function flipColor(color)
{
   window.event.srcElement.style.color=color;
}

function siteJump()
{
    window.navigate(window.event.srcElement.value);
}
function flipImage(url)
{
    if (window.event.srcElement.tagName == "IMG" )
    {
        window.event.srcElement.src = url;
    }
}
function flipImage2(url)
{
    if (window.event.srcElement.tagName == "IMG" )
        {
        window.event.srcElement.src = url;
        vistaImage.src=window.event.srcElement.name+".gif";
        toggleText.style.display="inline";
        toggleImage.style.display="none";
        switch( window.event.srcElement.name )
        {
            case "pop0":
                actualToggleText.innerHTML="<br> With Vista.com, you can now deliver a fully functioning e-business with your own brand, your own applications and the integration required by your customers.";
                break;
            case "pop1":
                actualToggleText.innerHTML="<br> Join the growing number of partners who are using the Vista.com platform to meet their SME market e-business integration needs.";
                break;
            case "pop2":
                actualToggleText.innerHTML="<br> Vista.com's support is two-tiered delivering top-notch service and support to both partners and customers.";
                break;
            case "pop3":
                actualToggleText.innerHTML="<br> Check out Vista.com partners who are reaping the benefits of delivering a world-class solution to their customers.";
                break;
            case "pop4":
                actualToggleText.innerHTML="<br> Vista.com offers business owners the only truly comprehensive e-business package complete with commerce, content, marketing, community and reporting.";
                break;
            case "pop5":
                actualToggleText.innerHTML="<br> Vista.com's mission is to unlock the full potential of the small business market for the ASP marketplace by delivering an e-business infrastructure that allows for seamless integration of all applications needed to manage a business.";
     break;
        }
    }
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i>a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i>d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function fontColor(o,newColor) 
	{
	o.style.color=newColor
	}
function item2Load()
{
	var oArrow = document.all.item("item2Arrow");
	if (oArrow != null)
	{
	    if (oArrow.length != null)
		{
    		  	for (i = 0; i < oArrow.length; i++)
		  	{
				oArrow(i).style.visibility = "hidden";
			}
		}
		else
		{
			oArrow.style.visibility = "hidden";
		}
	}
}
function item2Click()
{
	var element;

	item2Load();
        if (window.event.srcElement.tagName == "TD" )
	{
        	element=window.event.srcElement;
	}
	else
	{
        	element=window.event.srcElement.parentElement;
	}
	element.all.item("item2Arrow").style.visibility = "visible";


	var oLink = document.all.item("item2Link");
	if (oLink != null)
	{
	    if (oLink.length != null)
	    {
    		for (i = 0; i < oLink.length; i++)
		{
		    oLink(i).style.color = "white";
		}
	    }
            else
	    {
	 	oLink.style.color = "white";
	    }
	}
	window.event.srcElement.style.color='FFCC33';
//	fontColor(element,'pink');
}
