// JavaScript Document
	<!-- Hide script
var rolloverstate="nselected"; //Used as toggle for rollovers
var isDetailShown="No"//Tells you if the detail is shown on the complete featurelist
	
function chgpage(newloc){
	newPage=newloc.options[newloc.selectedIndex].value;
	if(newPage!=0){
		newloc.selectedIndex=0;
		location.href=newPage;
	}
}
	
/*Contols the rollover for the buttons below the banner*/
function switchcolor(thisImage,newImage){
	document.getElementById(thisImage).src=newImage;
}
	
function hidediv(thisDiv,divType,subDiv){
	/* This function controls the tab menu action in the body of the website.		
	thisDiv tells which Div is going to show.
	divType controls what part of the function is used.
	subDiv is used to designate what menulist item is selected when switching to tabs with menulist content control.
	This function will control the display for both tabmenu,selectInfoNav and the selectinfoDetail areas.		*/
		
	/*defines which Tab or div menu item to select*/
	var selectThis="sel_"+thisDiv; 
	/*defines which Tab or div menu item is selected*/
	var currentsel="sel_"+currentdiv; 
	/*used to change the Info detail on Tabs with sub navigation*/
	if(divType==1){ 
		if(thisDiv==currentdiv){
		}
		else{
		document.getElementById(currentdiv).className="hidden"; //sets the current div display to none.
	 	document.getElementById(thisDiv).className="visible"; //sets the newly selected div display to block.
		document.getElementById(currentsel).className="nselected"; //sets the old menulist item to the nselected class.
		document.getElementById(selectThis).className="selected"; //sets the new menulist item to the selected class.
		if(subDiv=="icon"){
			old_icon=currentdiv+"_icon";
			new_icon=thisDiv+"_icon";
			iconaddress="/UserSiteImages/Images/icons/"+currentdiv+".png";
			iconaddressover="/UserSiteImages/Images/icons/"+thisDiv+"_over.png";
			document.getElementById(new_icon).src=iconaddressover;
			document.getElementById(old_icon).src=iconaddress;
			
		}
		currentdiv=thisDiv; //sets the newly selected div to the currentdiv.
		currentsel=selectThis; //changes the currently selected menulist to newly selected Item.
		rolloverstate="nselected"; //toggles the rolloverstate so it doesn't get out of sync.
		
		callTestFor();
	}
	}
	/*used to change the Tab*/
	else if(divType==2){
		document.getElementById(currentTab).style.display="none";//sets the currentTab div display to none.
		document.getElementById(thisDiv).style.display="block";//sets the newly selected Tab div display to block.
		document.getElementById(currentseltab).className="nselected"; //sets the old Tab item to the nselected class.
		document.getElementById(selectThis).className="selected"; //sets the new Tab item to the selected class.
		currentTab=thisDiv; //sets the newly selected tab to the currentTab.
		currentseltab=selectThis; //changes the currently selected Tab to newly selected Tab.
		rolloverstate="nselected"; //Toggles the rolloverstate to keep it in sync.
		if(subDiv!=null){
			hidediv(subDiv,1); //Runs the divType=1 part of the function to set the menulist item if there is a sub division to display
		};
	}
	/*used to contol the rolloverstate*/
	else if(divType==3){
		var state=rolloverstate; //gets the varible rolloverstate to determine the current rolloverstate
		if((selectThis!=currentsel)&&(selectThis!=currentseltab)){ //keeps the function from running on the currently displayed tab or menulist and unselecting it and throwing the rollover outof sync.
			if(subDiv=="icon"){
				var iconimage=thisDiv+"_icon";
				if(state=="selected"){ //if the rollover state is selected
					iconaddress="/UserSiteImages/Images/icons/"+thisDiv+".png";
					document.getElementById(selectThis).className="nselected"; //set it's class to not selected
					document.getElementById(iconimage).src=iconaddress;
					rolloverstate="nselected"; //set the rollover toggle to nselected 
					}
				else if(state=="nselected"){ //if it isn't selected 
					iconaddress="/UserSiteImages/Images/icons/"+thisDiv+"_over.png";
					document.getElementById(selectThis).className="selected"; //set it's class to selected
					document.getElementById(iconimage).src=iconaddress;
					rolloverstate="selected"; //set the rollover toggle to nselected 
					}
			}
			else{	
				if(state=="selected"){ //if the rollover state is selected
					document.getElementById(selectThis).className="nselected"; //set it's class to not selected
					rolloverstate="nselected"; //set the rollover toggle to nselected 
					}
				else if(state=="nselected"){ //if it isn't selected 		
					document.getElementById(selectThis).className="selected"; //set it to selected 
					rolloverstate="selected"; //and toggle the rolloverstate to selected
					}
				}
			}
		 }
	/*used to show the Detailed tables for the Complete feature list*/
	else if(divType==4){
		var thisNav=thisDiv+"nav";//forms the ID of the div that holds the subnavigation that is on the tab
		var thisDetail=thisDiv+"detail";//forms the ID of the div the feature summary
		var thisFeatures=thisDiv+"Features";//forms ID ofthe Div that has the indepth detail on it 
		if(isDetailShown=="No"){
			document.getElementById(thisNav).style.display="none";//Hides the Subnav
			document.getElementById(thisDetail).style.display="none";//Hides the feature summary
			document.getElementById(thisFeatures).style.display="block";//Shows the div that holds the feature details
			document.getElementById(subDiv).style.display="block";//Shows the specific feature detail that was chosen
			isDetailShown="Yes";//Updates the current state of the Complete feature logic
		}
		else if(isDetailShown=="Yes"){
			document.getElementById(thisNav).style.display="block";//Shows the Subnav
			document.getElementById(thisDetail).style.display="block";//Shows the feature Summary
			document.getElementById(thisFeatures).style.display="none";//Hides the div that holds the feature details
			document.getElementById(subDiv).style.display="none";//Hides the specific feature detail that is showing
			isDetailShown="No";//Updates the current state of the Complete feature logic
		}
	}
}
/*used to hide or show all details on the tabs that have the collapsing topic structure */
function hideAll(thisAll,hideWhat){
	alldiv=document.getElementById(thisAll).getElementsByTagName("div")//finds all the div elements inside the kfeatures div element
	allheader=document.getElementById(thisAll).getElementsByTagName("h3")//finds all the h3 elements inside the kfeatures div element
	/*This part is used to Hide are show the Div elements in the details class*/
	for(i=0;i<alldiv.length;i++){//sets up the loop
		if(alldiv.item(i).className=="details"){//if the current item has a class name of details do the following
			if(hideWhat==1){//Do this when 1 was passed in by the hideWhat varible (expands all)
				alldiv.item(i).style.display="block";//set the current items display to block 
			}
			else{
				alldiv.item(i).style.display="none"//otherwise set its display to none (colapses all)
			}
		}
	}
	/*This part is used to change the sign indicators next to the topics*/
	for(j=0;j<allheader.length;j++){//sets up the loop
			if(hideWhat==1){//Do this when 1 was passed in by the hideWhat varible(expands all)
				allheader.item(j).style.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/minus.jpg)";//change the current items sign to minus				
			}
			else{
				allheader.item(j).style.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/plus.jpg)";//otherwise set its sign to plus
			}
	}
	callTestFor();
	}
/*used to hide or show one detail on the tabs that have the collapsing topic structure */
function hideOne(thisOne){
	baseItem=document.getElementById(thisOne)//gets the item to be changed
	thisSign="sel_"+thisOne//forms the Id for the topic element
	chgSign=document.getElementById(thisSign).style//Gets the style property set for the topic 
	for(i=0;i<baseItem.childNodes.length;i++){//sets up the loop
			if(baseItem.childNodes[i].className=="details"){//If the current items classname is details 
				if(baseItem.childNodes[i].style.display!="block"){//if its not currently displayed
					baseItem.childNodes[i].style.display="block";//display it 
					chgSign.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/minus.jpg)";//and change its sign to minus
				}
				else{
					baseItem.childNodes[i].style.display="none"//hide the current item
					chgSign.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/plus.jpg)";//change its sign to plus				
				}
					
			}
			
		}
	callTestFor();
	}
		
function callTestFor(){
	findSelectControl=TestFor("selectinfonav");//Tests for selectInfonav Control
	if(findSelectControl!=false){
		adjustMenu();	
	}
		/*else{<!--for resizing the menubox control-->
		findSelectControl=TestFor("menuboxnav");
		if(findSelectControl!=false){
		threecolumn();	
		}		
	}*/
}
function TestFor(testid){
	baseItem=document.getElementById(currentTab)
	for(i=0;i<baseItem.childNodes.length;i++){
		if(baseItem.childNodes[i].className==testid){
			return true;
		}
	 
	}
	return false;
}
function adjustMenu(){
	ajNav=currentTab+"nav";
	ajDetail=currentTab+"detail";
	cDivLoc=document.getElementById(ajNav);
	cDivLoc2=document.getElementById(ajDetail);
	ajNavHeight=document.getElementById(ajNav).getElementsByTagName("ul").item(0).clientHeight;
	ajDetailHeight=document.getElementById(currentdiv).clientHeight;
	if(ajDetailHeight>ajNavHeight){
		cDivLoc.style.height=ajDetailHeight+"px";
	}
	else{
		cDivLoc.style.height=ajNavHeight+"px";
	}
}
function threecolumn(){
	ajNav=currentTab+"nav";
	ajDetail=currentTab+"detail";
	cDivLoc=document.getElementById(ajDetail);
	ajNavHeight=document.getElementById(ajNav).getElementsByTagName("ul").item(0).clientHeight;
	ajDetailHeight=document.getElementById(currentdiv).clientHeight;
	if(ajDetailHeight>ajNavHeight){
		<!--cDivLoc.style.height=ajDetailHeight+"px"-->
		shadow=cDivLoc.clientHeight;
		shadowHeight=shadow+6;
		document.getElementById("dsright").style.height=shadowHeight+"px";
	}
	else{
		cDivLoc.style.height=ajNavHeight+"px";
		shadow=cDivLoc.clientHeight;
		shadowHeight=shadow+6;
		document.getElementById("dsright").style.height=shadowHeight+"px";
	}
}


function init(){	
	callTestFor();
}

function hideById(thisID){//for the RWS_U course schedule control
	hideID=document.getElementById(thisID)
	thisSign="sel_"+thisID
	chgSign=document.getElementById(thisSign).style
	if(hideID.style.display=="block"){
		hideID.style.display="none";
		chgSign.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/plus.jpg)";
	}else{
		hideID.style.display="block";
		chgSign.backgroundImage="url(http://www.redwingsoftware.com/usersiteimages/images/minus.jpg)";
	}
}

		--> 