
function do_dataforkje(e)
{
	if( document.all )
	{	
		var Xpos = event.x;
		var Ypos = event.y;
		mmousemove( event );
	}
	else if(e)
	{
		var Xpos = e.pageX;
		var Ypos = e.pageY;
		mmousemove( e );
	}

	var df = document.getElementById("dataforkje");

	var hdr = document.getElementById("header");

	if( df && hdr )
	{
		if( Xpos < hdr.offsetLeft + xcontainment( hdr ) ) Xpos = hdr.offsetLeft + xcontainment( hdr );
		if( Xpos > hdr.offsetLeft + xcontainment( hdr ) + 805 - 7 ) Xpos = hdr.offsetLeft + xcontainment( hdr ) + 805 - 7;

		df.style.left = ( Xpos - 10 ) +'px';

		df.style.visibility = "visible";
	}; 
}


	
	function print_item( label , url , color )
	{
		var js = "javascript: window.open('"+url+"','_self')";
		mprint('<TR><TD onclick="'+js+'" width="40"></TD><TD onclick="'+js+'" class="mitem" style="border-color: '+color+';" height="29">');
		mprint('<a href="'+url+'">');
		mprint(label+'</a></TD></TR>');
	};

	function print_last( label , url , color )
	{
		var js = "javascript: window.open('"+url+"','_self')";
		mprint('<TR><TD onclick="'+js+'" class="mlast" style="border-color: '+color+';" width="40">&nbsp;</TD><TD onclick="'+js+'" class="mitem" style="border-color: '+color+';" height="29">');
		mprint('<a href="'+url+'">');
		mprint(label+'</a></TD></TR>');
	};

function build_header()
{
    if(  ! is_badbrowser()  )
	{
		msetcontainer( 'wsdmenu' );

		mstart('sub_company','menu',true);

		mprint('<TABLE width="135" border="0" cellpadding="0" cellspacing="0" style="border-color: #81C241; z-order:3;">' );

		print_item( 'home' , 'index.php' , '#81C241' );

		print_item( 'The company' , 'the_company.php' , '#81C241' );

		print_item( 'The product' , 'the_product.php' , '#81C241' );

		print_item( 'The shop' , 'the_shop.php' , '#81C241' );

		print_item( 'The makers' , 'the_makers.php' , '#81C241' );

		mprint('</TABLE>');


		mstart('sub_services','menu',true);

		mprint('<TABLE width="135" border="0" cellpadding="0" cellspacing="0">'  );

		print_item( 'Webdesign' , 'webdesign.php' , '#EF8442' );

		print_item( 'Programming' , 'programming.php' , '#EF8442' );

		print_item( 'Service' , 'customerservice.php' , '#EF8442' );

		print_last( 'Hosting' , 'hosting.php' , '#EF8442' );

		mprint('</TABLE>');


		mstart('sub_portfolio','menu',true);

		mprint('<TABLE width="135" border="0" cellpadding="0" cellspacing="0">'  );

		print_item( 'Websites' , 'websites.php' , '#29A5BD' );

		print_item( 'Design' , 'design.php' , '#29A5BD' );

		print_item( 'Games' , 'games.php' , '#29A5BD' );

		print_last( 'Wallpapers' , 'wallpapers.php' , '#29A5BD' );
		
		mprint('</TABLE>');


		mstart('sub_prizes','menu',true);

		mprint('<TABLE width="134" border="0" cellpadding="0" cellspacing="0">'  );

		print_last( 'The price' , 'the_price.php' , '#E7E739' );

		mprint('</TABLE>');

		mstart('sub_contact','menu',true);

		mprint('<TABLE width="134" border="0" cellpadding="0" cellspacing="0">');

		print_item( 'The location' , 'the_location.php' , '#7B5A9C' );

		print_last( 'The E-mail' , 'email.php' , '#7B5A9C' );

		mprint('</TABLE>');

		
		mstart('sub_login','menu',true);

		mprint('<TABLE width="134" border="0" cellpadding="0" cellspacing="0">' );

		print_item( 'Customers' , 'members.php' , '#294252' );

		print_last( 'Employee' , 'employee.php' , '#294252' );

		mprint('</TABLE>');

		mcreate();

		var nj = document.getElementById("nojava_submenu");

		nj.style.visibility = "hidden";
	};
};
	//do_dataforkje(false);

