Cycle

function clearValueTab()
{
	var ITD="";
	for(var i1 = 0; i1 < 3; i1++)
		for(var i2 = 0; i2 < 2; i2++)
			for(var i3 = 0; i3 < 2; i3++)
				for(var i4 = 0; i4 < 2; i4++)
				{
					ITD=(i1==0?'N':(i1==1?'S':'F'))
						+(i2==0?'N':'S')
						+(i3==0?'N':'S')
						+(i4==0?'N':'S');
					if(document.getElementById(ITD+"_T"))
						document.getElementById(ITD+"_T")
							.parentNode.style.display="none";	
				}
}

Hope that this stuff works. I’m not going to touch it.

Just found in the codebase of the big TLC company

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s