var baseDir	= 'http://t4w.web-beest.nl/';

function do_sIFR()
{
	sIFR.replace(eurostyle, {
	  selector: 'div#menu_links div.menu',
	  wmode: 'transparent',
	  css: '.sIFR-root a { color: #ffffff; cursor: pointer; text-decoration: none; font-size: 10em; margin-left: 5px; } .sIFR-root a:hover { color: #fff; text-decoration: none; font-size: 10em; margin-left: 5px; }'
	});

	sIFR.replace(eurostyle, {
	  selector: 'div.info',
	  wmode: 'transparent',
	  css: '.sIFR-root a { text-align: center; color: #ffffff; cursor: pointer; text-decoration: none; font-size: 12em;} .sIFR-root a:hover { color: #fff; text-decoration: none; font-size: 12em; }'
	});

	sIFR.replace(eurostyle, {
	  selector: 'div#menu_links div.taal',
	  wmode: 'transparent',
	  css: '.sIFR-root a { text-align: center; color: #ffffff; cursor: pointer; text-decoration: none; font-size: 12em;} .sIFR-root a:hover { color: #fff; text-decoration: none; font-size: 12em; }'
	});
}

function position_container() {
	var body_size = $('body').getDimensions();
	var cont_size = $('container').getDimensions();

	var marginLeft = parseInt( ( body_size.x - cont_size.x ) / 2 );
	var marginTop = parseInt( ( body_size.y - cont_size.y ) / 2 );

	if( marginLeft < 0 )
	{
		marginLeft = 0;
	}

	if( marginTop < 0 )
	{
		marginTop = 0;
	}

	if( language == 'ar' )
	{
		$('container').setStyle('right', marginLeft );
		$('container').setStyle('top', marginTop );
	}
	else
	{
		$('container').setStyle('left', marginLeft );
		$('container').setStyle('top', marginTop );
	}

}