//####################################################################################################

// *****************************************
// ******* drop down link function *********
// *****************************************

function linkMenu(fullMenuPath,ndx)	{
	var locString = eval("document."+fullMenuPath+".options["+ndx+"].value");
	window.location.href = locString;
}
// ******* END drop down link function *********



// new pulldown list script, this script allows you to target the top of framesets (i.e. target="_top"), so you don't get double navs
// usage:
// <option value="target|url">blablabla
//
// use the pipe (|) character to seperate target from URL
// use "_top" if you want the url to occupy the entire window

        function linkToTarget(form,ndx)
        {
                var locString = form.site.options[ndx].value;
                var locArray = new Array();
                var theLength = locString.length;
                var theTarget;
                var theUrl
                
                var counter;
                var isPipe=0;
                
                if (locString != "")
                {
                        
                        for(counter=0; counter<theLength; counter++)
                        {
                                if (locString.charAt(counter) == "|")
                                {
                                        isPipe=1;
                                }
                                
                        }
                        if(isPipe > 0)
                        {
                                
                                locArray = locString.split("|");
                                if(locArray[0] == "_top")
                                {
                                        parent.location = locArray[1];
                                }
                                else
                                {
                                        
                                        parent.frames[locArray[0]].location.href = locArray[1];
                                }                               
                        }
                        else
                        {
                                window.location.href = locString;
                        }
                }
        }

// ####################################################################################################


