//gets the document properties in order to use them as there are many types of browers with different versions
function getDocID(tagLayer)
{
	var tagProp = "";//holds the proerties of tagLayer

	//gets the whichLayer Properties depending of the differnt bowers the user is using
	if (document.getElementById)//this is the way the standards work
		tagProp = document.getElementById(tagLayer);
	else if (document.all)//this is the way old msie versions work
		tagProp = document.all[tagLayer];
	else if (document.layers)//this is the way nn4 works
		tagProp = document.layers[tagLayer];
		
	return tagProp;
}//end of getDocID()

//changes the styles in tagDiv when the mouse moves over it
//assumes tagDiv and tagLink has there properties already
function mouseMovement(tagDiv,tagLink,strColor,strBackground,strBold)
{
	//checks if there is any properties in both tagDiv and tagLink
	if(tagDiv != null && tagLink != null)
	{
		//changes the tagLink styles and the tagDiv styles
		tagLink.style.color = strColor;
		tagDiv.style.backgroundColor = strBackground;
  		tagDiv.style.fontWeight = strBold;
	}//end of if
}//end of mouseMovement()
