function w(p1) { document.writeln(p1); }

function openWin( url )
{
    newWin = window.open( url, '_blank', 'toolbar=no,width=250,height=500,location=no,status=no,scrolling=yes,resize=yes,menubar=no' );

    if ( ( navigator.appName != "Microsoft Internet Explorer" ) 
        && ( navigator.appVersion.substring( 0, 1 ) == "3" ) ) 
    {
        newWin.focus();
    }
}

function LinkConfirm( url, text )
{
	if( confirm( text ))
		if (navigator.appName == "Netscape") {
			location.replace( url )
		} else {
			window.location.href = url
		}
}

function LinkConfirm2( url, text )
{
    if( confirm( text ))
        top.game.location.replace( url )
}

function Sector( x, y )
{
    if ( x < 0 || y < 0 || x > 2 || y > 2 )
    {
        alert( 'Invalid coordinate.' );
        return;
    }
    document.sector.src='/images/cockpit/' + x + '_' + y + '.gif';
    document.buy.x.value = x;
    document.buy.y.value = y;
}

function Increase( i )
{
    document.buy.elements[ i ].value++;

    if( document.buy.elements[ i ].value > 100 )
        document.buy.elements[ i ].value = 100;
}

function Decrease( i )
{
    document.buy.elements[ i ].value--;

    if( document.buy.elements[ i ].value < 0 )
        document.buy.elements[ i ].value = 0;
}

function SetChecked( val ) 
{ 
	dml=document.ArmList; 
	len = dml.elements.length; 
	var i=0; 

	for( i=0 ; i<len ; i++) 
	{ 
		if (dml.elements[i].name.indexOf('remove')==0) 
		{ 
			dml.elements[i].checked=val; 
		} 
	} 
}

function ExpGraph( a, b )
{
	document.write( '<table border=0 cellpadding=0 cellspacing=0 height=8 width=90><tr><td bgcolor=#' ); 

	if ( a >= b )
	{
		document.write( '84FF00 style=\"font-size:4px; color:#84FF00\">.</td></tr></table>' );
		return;
	}

	document.write( 
	'84ff00 width=' 
	+ a * 90 / b 
	+ ' style=\"font-size:4px; color:#84FF00\">.</td><td bgcolor=#086b10 width='
	+ ( b - a ) * 90 / b
	+ ' style=\"font-size:4px; color:#086b10\">.</td></tr></table>'
	);
}

function SBarGraph( a, b, x )
{
	var	c;
	var	color;

	c	= a * 100 / b;

	document.write( '<table border=0 cellpadding=0 cellspacing=0 height=8 width=50><tr><td bgcolor=#' ); 

	if ( a == 0 )
	{
		document.write( '086b10 style=\"font-size:4px; color:#086b10\">.</td></tr></table>' );
		return;
	}

	if ( a == b )
	{
		if ( x == 1 ) color = '84ff00'; else color = 'ff0000';

		document.write( color + ' style=\"font-size:4px; color:#' + color + '\">.</td></tr></table>' );
		return;
	}

	if ( a > b )
	{
		document.write( '000000><font size=1 color=#FF0000>(overweight)</td></tr></table>' );
		return;
	}

	if ( x == 1 ) 
	{
		if ( c < 30 ) 
		{
			if ( c  < 15 ) color = 'ff0000'; else color = 'ffff00';
		}
		else color = '84ff00';
	}
	else
	{
		if ( c < 70 ) 
		{
			if ( c  < 85 ) color = '84ff00'; else color = 'ffff00';
		}
		else color = 'ff0000';
	}

	document.write( 
	color 
	+ ' width=' 
	+ a * 50 / b 
	+ ' style=\"font-size:4px; color:#' + color + '\">.</td><td bgcolor=#086b10 width='
	+ ( b - a ) * 50 / b
	+ ' style=\"font-size:4px; color:#086b10\">.</td></tr></table>'
	);
}

function BarGraph( a, b, x )
{
	var	c;
	var	color;

	c	= a * 100 / b;

	document.write( '<table border=0 cellpadding=0 cellspacing=0 height=8 width=90><tr><td bgcolor=#' ); 

	if ( a == 0 )
	{
		document.write( '086b10 style=\"font-size:4px; color:#086b10\">.</td></tr></table>' );
		return;
	}

	if ( a == b )
	{
		if ( x == 1 ) color = '84ff00'; else color = 'ff0000';

		document.write( color + ' style=\"font-size:4px; color:#' + color + '\">.</td></tr></table>' );
		return;
	}

	if ( a > b )
	{
		document.write( '000000><font size=1 color=#FF0000>(overweight)</td></tr></table>' );
		return;
	}

	if ( x == 1 ) 
	{
		if ( c < 30 ) 
		{
			if ( c  < 15 ) color = 'ff0000'; else color = 'ffff00';
		}
		else color = '84ff00';
	}
	else
	{
		if ( c < 70 ) 
		{
			if ( c  < 85 ) color = '84ff00'; else color = 'ffff00';
		}
		else color = 'ff0000';
	}

	document.write( 
	color 
	+ ' width=' 
	+ a * 90 / b 
	+ ' style=\"font-size:4px; color:#' + color + '\">.</td><td bgcolor=#086b10 width='
	+ ( b - a ) * 90 / b
	+ ' style=\"font-size:4px; color:#086b10\">.</td></tr></table>'
	);
}

function ShowMessage( type, content )
{
	if ( parent.news ) dm = parent.news.document; else dm = self.document;

	if ( type == 1 ) dm.write( '<img src=/images/icons/warn.gif>' );

	dm.write( '<font size=1 face=\"Verdana,Arial\" color=#FFFFFF>' );

	dm.write( content );

	if ( type != 1 ) dm.write( '<br>' );

	if ( parent.news )
	{
		parent.news.scroll('999999999','999999999');
		dm.bgColor='#000000';
		dm.fgColor='#FFFFFF';
	}
}

function ShowError( number )
{
	if ( parent.news ) dm = parent.news.document; else dm = self.document;

	dm.write( '<font size=1 face=\"Verdana,Arial\" color=yellow>' );

	if ( number == 1 )
		dm.write( '</font><b>Sorry! The page you were looking is for CHARACTERS on this Game Server.</b><p>You must create a character on this Game Server to play game.<p><a href=002.nus target=_top><u>Create a character now by clicking here.</u></a><p><b>Aleady have a character and still can not get in the game?</b></font><p>Go to <a href=/Game/index.html target=_top><u>User Lounge</u></a>, and check out the when the scheduled reset for the server will be and read notice. And please remember a character who did not log on for 2 weeks (14 days) will be removed from game though he/she is on VACATION MODE.' );
	else if ( number == 2 )
		dm.write( 'Your plane is in the shelter or you were shot down.' );
	if ( number == 3 )
		dm.write( 'A system error has ocurred.<br>The server has received invalid data.<br>Please try again later.' );
	else if ( number == 4 )
		dm.write( 'You dont belong to a wing!!!<br>Click the <i>Create/Join</i> icon from the menu on the left and create your own wing, or join an existing wing.' );
	else if ( number == 5 )
		dm.write( 'The server has received invalid data.<br>Please try again.' );
	else if ( number == 6 )
		dm.write( 'Unable to find User(s)' );
	else if ( number == 7 )
		dm.write( 'He/she is not a member of your wing.' );
	else if ( number == 8 )
		dm.write( 'You can not appoint yourself or your wing. Please appoint other than yourself.' );
	else if ( number == 9 )
		dm.write( 'You have been denied access!!!' );
	else if ( number == 10 )
		dm.write( 'You already have purchased this Aircraft or Part. Please select something else.' );
	else if ( number == 11 )
		dm.write( 'The object you specified is no longer there or has already been removed or sold.' );
	else if ( number == 12 )
		dm.write( 'You are at your base now!!! You must take off first.' );
	else if ( number == 14 )
		dm.write( 'Fuel level too low!!! Refuel first.' );
	else if ( number == 15 )
		dm.write( 'You have lost contact with target.' );
	else if ( number == 16 )
		dm.write( 'The wing you are looking for does not exist!!!<br>Try again and be sure to use the correct name.' );
	else if ( number == 17 )
		dm.write( 'No Weapon Selected!!! Select a weapon to fire.' );
	else if ( number == 18 )
		dm.write( 'You are in the air now. You must land at your base first do that.' );
	else if ( number == 19 )
		dm.write( 'Engine Malfunction!!! Check engine(s) status.' );
	else if ( number == 20 )
		dm.write( 'You have no radar in your aircraft or your radar has malfunctioned.<br>Check your radar\'s status.' );
	else if ( number == 21 )
		dm.write( 'Check to see if your aircraft is overweight or being repaired.' );
	else if ( number == 23 )
		dm.write( 'You cannot excute this command while you are in vacation mode!!!<br>Please check when you placed your character on vacation mode. To turn off your vacation mode, go to Pilot Lounge and click the vacation menu.' );
	else if ( number == 25 )
		dm.write( 'Please select a new user name this one has been taken.' );
	else if ( number == 26 )
		dm.write( 'You have an account aleady!!! Only one USER per ACCOUNT.' );
	else if ( number == 27 )
		dm.write( 'You cannot choose this aircraft. Select a different aircraft.' );
	else if ( number == 28 )
		dm.write( 'A system error has ocurred. Please try again later.' );
	else if ( number == 29 )
		dm.write( 'Incorrect Password!!! Please Re-enter Password.' );
	else if ( number == 30 )
		dm.write( 'Not enough credit!!!' );
	else if ( number == 31 )
		dm.write( 'You are all fueled up!!! Good Luck Sir.' );
	else if ( number == 32 )
		dm.write( 'Fuel Tanker cannot penetrate Hostile Airspace. Rendezvous in Wing Airspace for mid-air.' );
	else if ( number == 33 )
		dm.write( 'You are not in hostile airspace!!!' );
	else if ( number == 34 )
		dm.write( 'The message you specify is not exist or removed.' );
	else if ( number == 35 )
		dm.write( 'You already have a wing!!!' );
	else if ( number == 36 )
		dm.write( 'Game system has reached capacity, no more wings can be created at this time.' );
	else if ( number == 37 )
		dm.write( 'This Wing is full.' );
	else if ( number == 38 )
		dm.write( 'You have exceeded the MAXIMUM take-off weight!!!<br>To take-off please have your mechanic do a weight and balance check.<br>Removal of heavier equipment or installing an engine with more thrust will improve performance.' );
	else if ( number == 39 )
		dm.write( 'No slot/hardpoint to equip.' );
	else if ( number == 40 )
		dm.write( 'You must be on the ground to removal INTERNAL components!!!' );
	else if ( number == 41 )
		dm.write( 'This is not a WEAPON!!!' );
	else if ( number == 42 )
		dm.write( 'Cannot install this component!!!' );
	else if ( number == 43 )
		dm.write( 'You do not have enough Training Points!!!' );
	else if ( number == 44 )
		dm.write( 'Please choose a skill!!!' );
	else if ( number == 45 )
		dm.write( 'You have reached MASTER skill level congratulations.' );
	else if ( number == 46 )
		dm.write( 'Sorry! You can not acquire anymore skills.' );
	else if ( number == 47 )
		dm.write( 'You are out of ammo!!!' );
	else if ( number == 48 )
		dm.write( 'You have no Ability Points!!!' );
	else if ( number == 49 )
		dm.write( 'No weapons LOCK!!! Select an appropriate weapon for the target acquired.' );
	else if ( number == 50 )
		dm.write( 'This is not your office!!! Please go to the Wing Office for more information.' );
	else if ( number == 51 )
		dm.write( 'Not enough wing credits to carry out the purchase order!!!' );
	else if ( number == 52 )
		dm.write( 'Your wing has no Fuel tanker!!!' );
	else if ( number == 53 )
		dm.write( 'After joining or creating a wing, you cannot leave it or de-commision that wing for at least 30 minutes.' );
	else if ( number == 54 )
		dm.write( 'The component is not damaged.' );
	else if ( number == 55 )
		dm.write( 'The Aircraft has been repaired sir. It is as good as new. 100%% Hit points are restored.' );
	else if ( number == 56 )
		dm.write( 'You are an Engineering Skill master No reapair time penalties.' );
	else if ( number == 57 )
		dm.write( 'This component can not be used on this aircraft.' );
	else if ( number == 61 )
		dm.write( 'The acquired target can not be locked with the selected weapon. Please select another weapon.' );
	else if ( number == 62 )
		dm.write( 'This weapon has no channel interface.' );
	else if ( number == 63 )
		dm.write( 'While flying, you cannot set channel on ECM.' );
	else if ( number == 64 )
		dm.write( 'You entered Invalid Email address or have no account registered at AREA00.' );
	else if ( number == 65 )
		dm.write( 'Your aircraft is under REPAIRS. <br>Please wait until mechanics are done hot shot!<p> <blink>While the mechanics repair the damage<br>please CLICK the AD BANNER.' );
	else if ( number == 66 )
		dm.write( 'Sorry! The game server has reached capacity we can not create new characters at this time.' );
	else if ( number == 67 )
		dm.write( 'This user will be unaffected by this.' );
	else if ( number == 68 )
		dm.write( 'The User has already been affected by this.' );
	else if ( number == 69 )
		dm.write( 'They are already appointed to this POST!!! <br>Please select a new candidate.' );
	else if ( number == 70 )
		dm.write( 'They are not a POW at this time.' );
	else if ( number == 71 )
		dm.write( 'You are ORDERED to RESIGN your command to an appropriate candidate.<br>Disciplinary action taken by Commander in Chief of AREA00.' );
	else if ( number == 73 )
		dm.write( 'Your aircraft can not re-fuel in mid-air.' );
	else if ( number == 74 )
		dm.write( 'You have been grounded by the Wing Medical Officer.<br>Stand down until you have rested.<p><blink>While your medic checks you out please click the AD BANNERS.' );
	else if ( number == 75 )
		dm.write( 'Victim has no aircraft.' );
	else if ( number == 76 )
		dm.write( 'You are here aleady!!!' );
	else if ( number == 77 )
		dm.write( 'The Parts Storage Locker is full!!!<br>You must sell a component before purchasing a new one.' );
	else if ( number == 78 )
		dm.write( 'You are already scouting this area.' );
	else if ( number == 79 )
		dm.write( 'You have two aircraft now!!!<br>You cannot have more purchase anymore aircraft at this time.' );
	else if ( number == 80 )
		dm.write( 'Your ability reaches maximum.' );
	else if ( number == 81 )
		dm.write( 'Cannot view your wing\'s radar when you are out of your wing\'s airspace.' );
	else if ( number == 82 )
		dm.write( 'You cannot buy this.' );
	else if ( number == 83 )
		dm.write( 'You cannot buy any more defensive structures and install them in this sector.' );
	else if ( number == 84 )
		dm.write( 'You cannot build this building.' );
	else if ( number == 85 )
		dm.write( 'You cannot takeoff!!!<br>There is no operating runway in your defensive sector.<br>Your Commander can build a runway. so ask him to build it immediately or you are grounded until then.' );
	else if ( number == 86 )
		dm.write( 'You cannot buy.<br>There is no factory in sector you want.<br> Ask your CO to build a factory in your sector so you can purchase the ITEM you require.' );
	else if ( number == 87 )
		dm.write( 'There is no radar station in your sector (defensive postion).<br>Ask your Commander to build Radar Station as soon as possible. flying blind is no fun is it?' );
	else if ( number == 88 )
		dm.write( 'You have no authority to build or destroy a building here.<br>Your Commander can build or destroy buildings anywhere in the wing\'s area.<br>Other pilots can build buildings in there defensive position only. And destroy buildings if permission is granted by the Commander for your own defensive area only.' );
	else if ( number == 89 )
		dm.write( 'You are in hospital.<br>You have sustained serious injuries flyboy.<br>The Medical Officer of the wing has posted a recovery time.<br>Check the character link, the recovery time is posted there. next time be more careful.<br>While your doctor checks you out please click the AD BANNERS.' );
	else if ( number == 90 )
		dm.write( '<img src=/images/POWMIA.jpg border=0><br>You are in a POW camp and the Hanoi Hilton had better plumbing.<br>Your wing may pay ransom to get you out of that rat infested hole. All you have to do is request it from your Financial Officer if he is not a TIGHT WAD!!!<br>Better hurry I think the wife and kids are starting to forget what you look like.<br>While you wait for your release please click the AD BANNERS.' );
	else if ( number == 91 )
		dm.write( 'There is no power plant in your defensive position.<br>Power plant supplies power for factory, radar station and oil refienery. Have your CO build a power plant as soon as possible. or you will be flying blind with no support.' );
	else if ( number == 92 )
		dm.write( 'That CALLSIGN is taken!!!<br>Be a little more creative next time.Please choose other callsign.' );
	else if ( number == 93 )
		dm.write( 'Sorry! Unable to find the forum you requested.' );
	else if ( number == 94 )
		dm.write( 'Teller says, I am sorry, Sir. You cannot use this function because you have not been flying long enough<br>Note: To get access players must have played for at least 24 hours.' );
	else if ( number == 95 )
		dm.write( 'Teller says, I\'m sorry, Sir. You cannot transfer credits to this pilots account becuase they have been on alert for 24 hours.<br>Note: To transfer credits a players must have played for at least 24 hours.' );
	else if ( number == 96 )
		dm.write( 'You have no admission or invitation.' );
	else if ( number == 97 )
		dm.write( 'Cannot find admission or invitation you request.' );
	else if ( number == 98 )
		dm.write( 'You are not admitted.' );
	else if ( number == 99 )
		dm.write( 'That WING NAME is taken!!!<br>Be a little more creative next time.<br>Please choose other wing name.' );
	else if ( number == 100 )
		dm.write( 'The wing on list you are looking for does not exist!!!<br>The wing maybe was destroyed.' );
	else if ( number == 101 )
		dm.write( 'Your wing has no surveillance satelite.' );
	else if ( number == 102 )
		dm.write( 'Keyhole has no target to focus on.<br>Your wing\'s Tactic Officer can move KeyHole.' );
	else if ( number == 103 )
		dm.write( 'Keyhole is moving now.' );
	else if ( number == 104 )
		dm.write( 'Your shelters are full.' );
	else if ( number == 105 )
		dm.write( 'You cannot fire weapon so rapidly.' );
	else if ( number == 106 )
		dm.write( 'Your target wing is protected now.<br>New wing is under protection from attack for maximum 24 hours since its creation.' );
	else if ( number == 107 )
		dm.write( 'Your wing is protected now.<br>Also you cannot attack other wing.<br>New wing is under protection from attack for maximum 24 hours since its creation.' );
	else if ( number == 108 )
		dm.write( 'You have too many alliance wing.' );
	else if ( number == 109 )
		dm.write( 'You are using this band for ECM aleady.<br> Try other band.' );
	else if ( number == 110 )
		dm.write( 'McCoy says,<br>I am sorry but this aircraft is out of stock.<br>How about other aircrafts?' );
	else if ( number == 111 )
		dm.write( 'This server do not allow new players now.' );
	else if ( number == 113 )
		dm.write( 'You can not appoint commander.' );
	else if ( number == 114 )
		dm.write( 'You are freezed by Staff. To be unfreeze, ask HelpDesk or wait for at the most 3 days. To check frozen time, click Pilot in the left menu and see your status.' );
	else if ( number == 115 )
		dm.write( 'Your credit reaches maximum.' );
	else if ( number == 116 )
		dm.write( 'His/her or wing\'s credit reaches maximum.' );
	else if ( number == 117 )
		dm.write( 'Pilots cannot have two aircraft of the same type.' );
	else if ( number == 118 )
		dm.write( 'You had played for 14 days. You are not a newbie anymore.' );
	else if ( number == 119 )
		dm.write( 'Your rank is too low to create wing.' );
	else if ( number == 120 )
		dm.write( 'You did not log enough sortie.' );
	else if ( number == 121 )
		dm.write( 'Ignore List is full.' );
	else if ( number == 122 )
		dm.write( 'Pilot you request is not found in Ignore List.' );
	else if ( number == 123 )
		dm.write( 'You cannot join, scout or set taxrate NEWBIE WING.' );
	else if ( number == 124 )
		dm.write( 'You cannot scout other wing becuase you are a member of NEWBIE SCHOOL wing.' );
	else if ( number == 125 )
		dm.write( 'You need more education and training. Be Senior Airman to graduate NEWBIE SCHOOL wing.' );
	else if ( number == 126 )
		dm.write( 'You cannot resign or abdicate your position. You are the very important person.' );
	else if ( number == 127 )
		dm.write( 'Your command is denied. You are an unauthorized person.' );
	else if ( number == 128 )
		dm.write( 'This staff looks so busy. Let him/her doing job.' );
	else if ( number == 129 )
		dm.write( 'You cannot fire weapon so rapidly.' );
	else if ( number == 130 )
		dm.write( 'You are aleady admitted.' );
	else if ( number == 131 )
		dm.write( 'You aleady graduated from NEWBIE WING SCHOOL.' );
	else if ( number == 132 )
		dm.write( 'This is ADMIN WING. Do dogfight freely but do not bombing.' );
	else if ( number == 134 )
		dm.write( 'This aircraft is not for sale.' );
	else if ( number == 135 )
		dm.write( 'You need to have a ticket to buy this aircraft.<br>To buy ticket, <a href=http://www.area00.com/payment/ target=_new><u>click here</u></a>' );
	else if ( number == 136 )
		dm.write( 'There are too few buildings! You cannot destruct anymore.' );
	else if ( number == 137 )
		dm.write( 'Your wing cannot transfer any more credits to this member today. Adjust the amount please.' );
	else if ( number == 138 )
		dm.write( 'You cannot transfer any more credits to this member today. Adjust the amount please.' );
	else if ( number == 139 )
		dm.write( 'Your wing cannot transfer any more credits to this member today.' );
	else if ( number == 140 )
		dm.write( 'You cannot transfer any more credits to this member today.' );
	else if ( number == 141 )
		dm.write( 'You cannot attack a friendly unit.' );
	else if ( number == 142 )
		dm.write( 'After sending a message or posting on forum, you must wait 5 seconds to send new message or post on forum.' );
	else if ( number == 143 )
		dm.write( 'After creation of your wing, your wing will be protected for at least 1 hour.' );
	else if ( number == 144 )
		dm.write( 'After creating your wing, you cannot create another wing for 12 hours.' );
	else if ( number == 145 )
		dm.write( 'You cannot transfer credits of wing to wing member through bank for 24 hours after a creation of your wing.' );
	else if ( number == 146 )
		dm.write( 'You are not allowed to create new character in this game serverfor now. You will be allowed after 2 weeks from your account creation.' );
	else if ( number == 147 )
		dm.write( 'You need to become a guardian to buy this aircraft.<br>To become a guardian, <a href=/docs/server_sponsorship.html target=_new><u>click here</u></a>' );
	else if ( number == 148 )
		dm.write( 'Do not fire at this aircraft! Area00 Guardians may be on this flight!' );
	else if ( number == 149 )
		dm.write( 'Staff cannot move into normal wing like this.' );
	else if ( number == 150 )
		dm.write( 'This wing has CO already.' );
	else if ( number == 151 )
		dm.write( 'He/she is not a member of this wing.' );

	dm.write( '</font><br>' );

	if ( parent.news )
	{
		parent.news.scroll('999999999','999999999');
		dm.bgColor='#000000';
		dm.fgColor='#FFFFFF';
	}
}

function AlertRebooting( ) {
	alert( 'Game server will be reboot for its maintenance within 3 mins.\nYour aircraft will be landed automatically when reboot.' );
}

function AlertDown( ) {
	document.write( 'Game Server is not available by bug or error in game.</font><p>Your aircraft is landed automatically.<br>Please wait for auto-rebooting. If server is down over 10 minutes, report to <a href=mailto:info@area00.com><u>info@area00.com</u></a> please.' );
}

function AlertUSDown( ) {
	document.write( 'User Server is not available because the machine of Texas Server has no capacity. Please help us.' );
}

function a00bar( ) {

document.write('<STYLE>td.zzzzrecommendedwithlinks a { color:#ffffff; font: 10px Verdana, Geneva, Arial, Helvetica, sans-serif; text-decoration:underline;  }</STYLE>');
document.write('<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR="#666666">');
document.write('<TR BGCOLOR="#666666"><TD HEIGHT=15>');
document.write('<TD NOWRAP CLASS="zzzzrecommended"><B><FONT FACE="Verdana,Geneva,Helvetica" SIZE="1" COLOR="FFFFFF">');
document.write( 'Texas Server' );
document.write('</TD><TD NOWRAP COLSPAN=3 CLASS="zzzzrecommendedwithlinks"><B><DIV ALIGN="right"><FONT FACE="Verdana,Geneva,Helvetica" SIZE="1" COLOR="FFFFFF">');
document.write('<a href="http://www.area00.com/payment/"><b>Donate*</b></a>&nbsp;|&nbsp;<a href="/Game/"><b>Login</b></a>&nbsp;|&nbsp;<a href="/docs/helpdesk.html"><b>HelpDesk</b></a>&nbsp;|&nbsp;<a href="/help/index.html"><b>Manual</b></a>&nbsp;|&nbsp;<a href="/docs/faq.html"><b>FAQ</b></a>&nbsp;|&nbsp;<a href="http://forum.area00.com"><b>Forum</b></a>&nbsp;&nbsp;</DIV></TR>' );
document.write('<TR><TD COLSPAN=6 HEIGHT=1 BGCOLOR=#000000></TD></TR>' );
document.write('</TABLE>');
}

function a00ad( )
{
google_ad_client = "pub-0315764897514639";
google_alternate_color = "000000";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="3647085919";
google_page_url = document.location;
google_color_border = "003399";
google_color_bg = "000000";
google_color_link = "FFCC00";
google_color_url = "00BFFF";
google_color_text = "FFFFFF";
document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>' );

document.write( '&nbsp;' );
//sa00ad();
}

function a00adb( )
{
document.write ('<SCR'+'IPT language="JavaScript1.1" SRC="http://ad.doubleclick.net/adj/audience.area00/ros;sz=468x60;dcopt=ist;abr=!webtv;ord=' + ord + '?">');
document.write ('<\/SCR' + 'IPT>');


if ((!document.images && navigator.userAgent.indexOf('Mozilla/2.') >= 0) || navigator.userAgent.indexOf("WebTV") >= 0) {
document.write('<a href="http://ad.doubleclick.net/jump/audience.area00/ros;sz=468x60;ord=' + ord + '?"');
document.write('<img src="http://ad.doubleclick.net/ad/audience.area00/ros;sz=468x60;ord=' + ord + '?"></a>');
}
}

function sa00ad ( ) {
Now = new Date( );
choice = Now.getSeconds( ) % 10;

document.write( '<a href="http://www.avitop.com/afil/afil.asp?afil=1&id=116" target="_top"><img src="http://www.incredible-adventures.com/banners/');

if ( choice == 0 || choice == 1 )
	document.write( 'migs1.gif" width=120 height=60' );
else if ( choice == 2 || choice == 3 )
	document.write( 'capetown.gif" width=120 height=60' );
else if ( choice == 4 || choice == 5 )
	document.write( 'zero_g_button.gif" width=120 height=60' );
else if ( choice == 6 || choice == 7 )
	document.write( 'shark_button_rounded.gif" width=120 height=60' );
else if ( choice == 8 )
	document.write( 'covertops_button.gif" width=120 height=60' );
else if ( choice == 9 )
	document.write( 'spacetours2.gif" width=88 height=60' );

document.write( ' alt="Incredible-Adventures" border="0"></a>' );
}

function exad( )
{
	document.write( '<center><table border=0 cellpadding=0 cellspacing=0><tr width=468 valign=bottom height=0 width=0><td><!-- START AVIATION TOP 100 CODE: DO NOT CHANGE WITHOUT PERMISSION --><a href="http://www.avitop.com/aviation/default.asp?UserId=511" target="_blank"><img name="av" src="/AD/links/avitop6.gif" width="135" height="17" border="0" alt="AVIATION TOP 100 - www.avitop.com"></a><img src="http://serv2.avitop.com/aviation/hitlist.asp?id=511" height="1" width="1" border="0" alt="Avitop.com"><!-- END AVIATION TOP 100 CODE: --></td></tr><tr><td height=60 colspan=2><iframe src="http://leader.linkexchange.com/1/X1230769/showiframe?" width=468 height=60 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no><a href="http://leader.linkexchange.com/1/X1230769/clickle" target="_top"><img width=468 height=60 border=0 ismap alt="" src="http://leader.linkexchange.com/1/X1230769/showle?"></a></iframe></td></tr></table></center>' );
}

function exad2( )
{
	document.write( '<p align=center><!-- START AVIATION TOP 100 CODE: DO NOT CHANGE WITHOUT PERMISSION --><a href="http://www.avitop.com/aviation/default.asp?UserId=511" target="_blank"><img name="av" src="/AD/links/avitop6.gif" width="135" height="17" border="0" alt="AVIATION TOP 100 - www.avitop.com"></a><img src="http://serv2.avitop.com/aviation/hitlist.asp?id=511" height="1" width="1" border="0" alt="Avitop.com"><!-- END AVIATION TOP 100 CODE: --></p>' );
}

function raptorbox( )
{
	document.write( ' <table border=0 cellpadding=1 cellspacing=0 width=110> <form name=newsletter action=/docs/newsletter.cgi method=post> <tr> <td align=center> <img src=/images/intro/titleofraptor.gif border=0 width=100 height=123 alt=\"Join Our Newsletter, The Raptor\"> </td> </td> </tr> <tr> <td align=center> <font size=2 face="Verdana,geneva,arial" color=#FFFFFF> <b>The Raptor</b><br><font size=1>Check out our newsletter for the latest news, tips and more!<br><input name=type type=radio value=0 style="font-size:9pt">Text <input name=type type=radio value=1 checked style="font-size:9pt">HTML   <br> <input name="email" type=text value="your email" size="15" style="font-size:9pt" onFocus="setFieldBlank();"><br>   <input name=subscribe type=submit value=Subscribe style="font-size:9pt"></td></tr> <tr><td><font size=1 face="Verdana,geneva,arial" color=#00BFFF> &nbsp;Ēš <a href=/docs/raptor><font color=#FFFFFF>Archive</font></a><br> &nbsp;Ēš <a href=/docs/raptor/press.html><font color=#FFFFFF>Submit News</font></a> </td></tr> </form> </table> ' );
}

function setFieldBlank ( )
{
	if ( document.newsletter.email.value == "your email" )
		document.newsletter.email.value = "";
}

function domesticad ( ) {
Now = new Date( );
choice = Now.getSeconds( ) % 10;

if ( choice == 1 )
	document.write( '<a href=/docs/raptor/press.html><img src=/AD/campaign/BecomeaWriter.gif border=0 width=468 height=60></a>' );
else if ( choice == 2 || choice == 3  )
	document.write( '<a href=http://www.redcross.org target=_blank><img src=/AD/campaign/redcross.gif border=0 width=468 height=60></a>' );
else if ( choice == 4 || choice == 5  )
	document.write( '<a href=/payment/><img src=/AD/campaign/MakeDonation.jpg border=0 width=468 height=60></a>' );
else if ( choice == 6 || choice == 7 || choice == 8 )
	document.write( '<a href=/AD/campaign/survey target=_blank><img src=/AD/campaign/Survey.gif border=0 width=468 height=60></a>' );
else if ( choice == 9 || choice == 10 || choice == 0 )
	document.write( '<a href=/docs/helpdesk#bugs.html><img src=/AD/campaign/ReportBug.gif border=0 width=468 height=60></a>' );
}
