

//hides or shows the span object
function ToggleSpan(pintToggle,strSpnObj,strSpn2Obj)
	{
		//alert("top");
		var spnObj = document.getElementById(strSpnObj);			
		if (spnObj == null) return;			
		//alert("hi");
		if (pintToggle==1)
		{			
			//show 			
			
			spnObj.className = "showSpan";			
		}
		else
		{
			//hide			
			spnObj.className = "hideSpan";			
			
		}
		//strSpn2Obj, this gets hidden
		var spn2Obj = document.getElementById(strSpn2Obj);			
		if (spn2Obj == null) return;		
		//hide			
		spn2Obj.className = "hideSpan";			
	
	}
	//hides or shows the span object
function ReverseSpan(strSpn1Obj,strSpn2Obj)
	{
	//strSpn1Obj, this gets reversed
		var spn1Obj = document.getElementById(strSpn1Obj);			
		if (spn1Obj == null) return;			
		
		var clsName = spn1Obj.className;
		
		if (clsName=="hideSpan")
		{			
			//show 			
			spn1Obj.className = "showSpan";	
			//alert('show');		
		}
		else
		{
			//hide			
			spn1Obj.className = "hideSpan";					
		}
		
	//strSpn2Obj, this gets hidden
		var spn2Obj = document.getElementById(strSpn2Obj);			
		if (spn2Obj == null) return;		
		//hide			
		spn2Obj.className = "hideSpan";			
	
	}

