// Shows size of browser window

	function alertSize()
	{
		var myWidth = 0, myHeight = 0;


		var agt = navigator.userAgent.toLowerCase()

		this.major = parseInt( navigator.appVersion)
		this.minor = parseFloat( navigator.appVersion)

		this.nav = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible')==-1)))
		this.nav2 = (this.nav && (this.major == 2))

		this.ie = (agt.indexOf('msie') != -1)
		this.ie3 = (this.ie && (this.major==2))
//		alert( "Browser IE: " + this.ie + ", Version: " + this.major + "." + this.minor );


		if( typeof( window.innerWidth ) == 'number' )
		{
			myWidth = window.innerWidth; myHeight = window.innerHeight;
		}
		else if( document.documentElement && ( document.documentElement.clientWidth ||document.documentElement.clientHeight ) )
		{
			myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight;
		}
		else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) )
		{
			myWidth = document.body.clientWidth; myHeight = document.body.clientHeight;
		}
		this.width = myWidth;

//		alert( "Width = " + myWidth );

		if( myWidth > 620 && (this.ie || this.major < 5) )
		{
			document.write( "	<style type='text/css'>\n");
			document.write( "		div#content			{ width: 620px; }\n");
			document.write( "		table.content-table	{ width: 620px; }\n");
			document.write( "		div#footer			{ width: 620px; }\n");
			document.write( "	<\/style>\n");
		}
	}

	function test()
	{
		alert( "Test");
	}

