

function createCookie(){
	var date = new Date();//	date.setTime(date.getTime()+(1*24*60*60*1000));
	date.setTime(date.getTime()+(12*60*60*1000));
	var expires = ";expires="+date.toGMTString();
	document.cookie = 'bbgn=true'+expires;
//	document.cookie = 'bbgn0=online;expires=15/04/2008 00:00:00';//	document.cookie = 'bbgn1=visited;expires=15/04/2008 00:00:00';
}

function get_cookie ( cookie_name ){  var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' );  if ( results )    return ( unescape ( results[2] ) );  else    return null;}


function RunIntro(){	var x = get_cookie ( "bbgn" );
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="773" height="510" id="menu" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="flash/intro.swf?visited=true" />\n');
    document.write('<PARAM NAME="LOOP" VALUE="false" />\n');
    document.write('<param name="quality" value="high" />\n');
    document.write('<param name="bgcolor" value="#000000" />\n');
    document.write('<embed src="flash/intro.swf?visited='+ x +'" quality="high" bgcolor="#000000" width="773" height="510" name="menu" align="middle" allowScriptAccess="sameDomain" loop="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}

	
function oldRunIntro(){
    document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="773" height="510" id="menu" align="middle">\n');
    document.write('<param name="allowScriptAccess" value="sameDomain" />\n');
    document.write('<param name="movie" value="flash/intro.swf?visited=true" />\n');
    document.write('<PARAM NAME="LOOP" VALUE="false" />\n');
    document.write('<param name="quality" value="high" />\n');
    document.write('<param name="bgcolor" value="#000000" />\n');
    document.write('<embed src="flash/intro.swf?visited=xxx" quality="high" bgcolor="#000000" width="773" height="510" name="menu" align="middle" allowScriptAccess="sameDomain" loop="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n');
    document.write('</object>\n');
}
