function writeHomePageMainMovie(){ 

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"')>
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"')>
document.write('WIDTH="760" HEIGHT="256" id="intro_test" ALIGN="">');
document.write(' <PARAM NAME=movie VALUE="images/intro_test.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=bgcolor VALUE=#000000></object>');
}



function writeNav(){ 

document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"')>
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"')>
document.write('  WIDTH="760" HEIGHT="23" id="nav" ALIGN="">');
document.write('<PARAM NAME=movie VALUE="../images/nav.swf">');
document.write('<PARAM NAME=quality VALUE=high>');
document.write(' <PARAM NAME=bgcolor VALUE=#232323></object>');
}


function writeProductComponent(){
	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"')>
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"')>
	document.write('WIDTH="440" HEIGHT="170" id="product_component" ALIGN="">');
	document.write(' <PARAM NAME=movie VALUE="../images/product_component.swf"> ');
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write(' <PARAM NAME=bgcolor VALUE=#ffffff></object>');
}

function writeInfoComponent(){

	document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"')>
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"')>
	document.write('WIDTH="320" HEIGHT="170" id="info_component" ALIGN="">');
	document.write('  <PARAM NAME=movie VALUE="../images/info_component.swf"> ');
	document.write('<PARAM NAME=quality VALUE=high>');
	document.write(' <PARAM NAME=bgcolor VALUE=#ffffff></object>');
						}
						
						
						

	
	
// -----------------------------------------------------------------------------
// detect browser-->

var detect = navigator.userAgent.toLowerCase();
var OS,browser,total,thestring;
var version = 0;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "Internet Explorer"
else if (checkIt('firefox')) browser = "Firefox"
else if (!checkIt('compatible'))
{
	browser = "Netscape Navigator"
	version = detect.charAt(8);
}
else browser = "An unknown browser";

if (!version) version = detect.charAt(place + thestring.length);

if (!OS)
{
	if (checkIt('linux')) OS = "Linux";
	else if (checkIt('x11')) OS = "Unix";
	else if (checkIt('mac')) OS = "Mac"
	else if (checkIt('win')) OS = "Windows"
	else OS = "an unknown operating system";
}
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}					
						
							
						
						
						
						
						
						
						
