function toggleSoloSwit(who, snippetID)
{
/*if the credit card option was not displayed...do nothing*/
	if(who!=null)
	{	
		if (who.value  =="SOLO" || who.value == "SWIT")
	 	{
			toggle(snippetID,1);
	 	}
	 	else
		{
			toggle(snippetID,0);
	 	}
	}
}

function toggleSalesChannel(who, snippetID)
{
/*if the credit card option was not displayed...do nothing*/
	if(who!=null)
	{
		//disable all the 
		toggle('sc_verbiage_005', 0);
		toggle('sc_verbiage_020' ,0);
		toggle('sc_verbiage_025' ,0);
		toggle('sc_verbiage_035' ,0);
		toggle('sc_verbiage_040' ,0);
		toggle('sc_verbiage_316' ,0);
		if (who.value  =="005" || who.value  =="020"  || who.value  =="025" || who.value  =="035" || who.value  =="040" || who.value  =="316")  //other is 040 //word of mount is 035
	 	{
			toggle(snippetID,1);
			
			//amke the valid one enabled.
			toggle('sc_verbiage_' + who.value, 1);
	 	}
	 	else
		{
			toggle(snippetID,0);
	 	}
	}
}

function toggle(szDivID, iState) // 1 visible, 0 hidden
{
/*    if(document.layers)	   //NN4+
    {
       document.layers[szDivID].visibility = iState ? "show" : "hide";
	   document.layers[szDivID].height = iState ? "70" : "0";
    }
    else if(document.getElementById)	  //gecko(NN6) + IE 5+
    {
        var obj = document.getElementById(szDivID);
        obj.style.visibility = iState ? "visible" : "hidden";
		obj.style.height = iState ? "50" : "0";
    }
    else if(document.all)	// IE 4
    {
        document.all[szDivID].style.visibility = iState ? "visible" : "hidden";
		document.all[szDivID].style.height = iState ? "50" : "0";
    }
	*/
	var theSpan = document.getElementById ? document.getElementById(szDivID) : document.all ? document.all[szDivID] : (new Object());
	if( !theSpan ) { return; } if( theSpan.style ) { theSpan = theSpan.style; }
	{
		theSpan.visibility = iState ? 'visible' :  'hidden';
		theSpan.display = iState ? 'inline' :  'none';
	}
}

function toggleBox(szDivID) // 1 visible, 0 hidden
{
	var theSpan = document.getElementById ? document.getElementById(szDivID) : document.all ? document.all[szDivID] : (new Object());
	if( !theSpan ) { return; } if( theSpan.style ) { theSpan = theSpan.style; }
	{
		theSpan.display = ( theSpan.display == 'none' ) ? 'inline' :  'none';
	}
}