function setWidth( ) {
	var iWdth = 1024;
	if ( window.outerWidth && window.innerWidth )
		iWdth = 1024 + window.outerWidth - window.innerWidth;

	var iHght = screen.availHeight;
	if ( window.outerHeight && window.innerHeight )
		iHght = window.outerHeight;

	window.resizeTo( iWdth, iHght );
	window.moveTo( ( screen.availWidth - iWdth ) / 2,
				   ( screen.availHeight - iHght ) / 2 );
}

function scrollDown( ) {
	window.scrollBy(0,100000);
}

function centerContent( ) {
	var iScreenWdth = window.innerWidth  || document.documentElement.clientWidth  || document.body.clientWidth;
	

	var oContainer = document.getElementById( 'content' );
	if ( iScreenWdth < 1024 )
		oContainer.style.left =  ( ( iScreenWdth - 1024 ) / 2 - 20 ) + "px";
	else 
		oContainer.style.left =  ( ( iScreenWdth - 1024 ) / 2 ) + "px";
}

function rollOver( oImage ) {
	if ( oImage.src.indexOf( "_ro" ) == -1 ) {
		var aImageName = oImage.src.split( "." );
		aImageName[ aImageName.length - 2 ] += "_ro";

		oImage.src = aImageName.join( "." );
	}
}

function rollOut( oImage ) {
	if ( oImage.src.indexOf( "_ro" ) != -1 ) {
		var aImageName = oImage.src.split( "." );
		aImageName[ aImageName.length - 2 ] = aImageName[ aImageName.length - 2 ].substr( 0, aImageName[ aImageName.length - 2 ].length - 3 );

		oImage.src = aImageName.join( "." );
	}
}
