﻿/****************************************************************************

AUTHOR:				MRM Worldwide (v-jgriff)
DATE:				20080828

DESCRIPTION:
------------
Hides javascript functionality from browsers that don't have javascript enabled.
This code will only run if javascript is enabled so for a server side only solution
the document.write will not be performed and all elements with a css style of
sfx-script applied will remain hidden and sfx-noscript will be shown. This assumes
the opposite display styles are applied in the css and that this javascript is 
included after the css is referenced.

MAINTENANCE LOG:

REVISION	DATE		EMAIL		DESCRIPTION
--------	----		-----		-----------
1.0			20080829	v-jgriff	Initial creation, separated from base Web Form.
1.1			20080903	v-jgriff	Updated header comments to meet Microsoft
								    Informational Header coding standards.

****************************************************************************/
document.write("<style>.sfx-noscript{display:none}</style>"); // hide all elements with a css style of sfx-noscript
document.write("<style>.sfx-script{display:inline}</style>"); // show all elements with a css style of sfx-script