
////////////////////////////////////////////////////////////////////////////
////    ***File Information - Information pertinent to physical file***	////
////		Author:	Alexandra L. Suriani																		////
////		Creation Date: 	04/10/2006																			////
////		Last Modified: 	04/11/2006																			////
////		Module:					N/A																							////
////		Module Purpose: N/A																							////
////		File Purpose:		Detects client's browser settings								////
////		Dependancies:		[website]/index.cfm, _[page]Templates.cfm				////
////////////////////////////////////////////////////////////////////////////

function firstCheck() {
		var browserProps = new Array();
				if (document.defaultView && document.defaultView.getComputedStyle) {
						browserProps[0] = parseInt(document.defaultView.getComputedStyle(document.body,'').getPropertyValue("font-size"));
				}
				else if (document.all && document.body.currentStyle) {
								browserProps[0] = parseInt(document.body.currentStyle.fontSize);
				}
					browserProps[1] = window.screen.width;
					browserProps[2] = window.screen.height;
					browserProps[3] = window.screen.availWidth;
					browserProps[4] = window.screen.availHeight;
					browserProps[5] = "checked";
					CommitToServer(browserProps);
}
		
function CommitToServer(browserProps) {
	with(document.DataForm) {
		var mySer = new WddxSerializer();
		var browserPropsAsWDDX = mySer.serialize(browserProps);
		wddxBrowserProps.value = browserPropsAsWDDX
		submit();
	}
}

