
//==============================================================================
function airlines_title()
//==============================================================================
{
	//bar(8)

	document.write("<CENTER><TABLE ALIGN=CENTER COLS=3 WIDTH=100%>")
	document.write("<TR VALIGN=middle ALIGN=CENTER> ")
	document.write("<TD width=1><A HREF=golden_awards.html NAME=golden_awards>")
	document.write("<IMG SRC = golden_poo.gif LOWSRC=golden_poo_lr.gif WIDTH=133 HEIGHT=140 BORDER=0></A>")
	document.write("</TD>")

	document.write("<TD>")
	document.write("<A HREF=golden_awards.html NAME=golden_awards><IMG SRC = golden_title.gif LOWSRC=golden_title_lr.gif ALT='The Golden Halo & Golden Poo Awards' WIDTH=396 HEIGHT=91 BORDER=0></A>")

	document.write("</TD>")
	document.write("<TD width=1>")
	document.write("<A HREF=golden_awards.html NAME=golden_awards><IMG SRC = golden_halo.gif LOWSRC=golden_halo_lr.gif WIDTH=133 HEIGHT=140 BORDER=0></A>")
	document.write("</TD>")
	document.write("</TR>")
	document.write("</TABLE></CENTER>")

	//bar(8)
}

//==============================================================================
function airlines_button(string)
//==============================================================================
{
	document.write("<TD>")
picture_frame_begin("yellow", "#FFFFB2", 4 , 0 ,0)
	document.write("<FONT FACE=”ARIAL” COLOR=”#005500” size=4><A HREF= ")
double_quote()
	document.write("airlines_list_by_name.html#")
	document.write(string)
double_quote()
	document.write(" TARGET='airlines_list' NAME=")
	double_quote()
	document.write(string)
	double_quote()
	document.write("><B><CENTER>")
	document.write(string)
	document.write("</CENTER></B></A></FONT><IMG SRC=transparent_pixel.gif WIDTH=16 HEIGHT=1>")
picture_frame_end()
	document.write("</TD>")

}


//==============================================================================
function airlines_sub_title(string)
//==============================================================================
{
	document.write("<A NAME=")
	//double_quote()
	document.write(Trim(string," "))
	//double_quote()
	document.write(">")
	document.write("<TR VALIGN=top>")
	document.write("<TD COLSPAN=4 WIDTH=0 ALIGN=CENTER>")
	document.write("<FONT FACE=ARIAL SIZE=6><CENTER><P><B>")
	document.write(string)
	document.write("</B></P></CENTER></FONT>")
	document.write("</TD>")
	document.write("</TR></A>")
	//airlines_header()
}


//==============================================================================
function airlines_name_header()
//==============================================================================
{
	document.write("<TR ALIGN=left><TH><FONT FACE=ARIAL SIZE=4>Airline</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Country</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Language</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Comments</FONT></TH></TR>")
}


//==============================================================================
function airlines_country_header()
//==============================================================================
{
	document.write("<TR ALIGN=left><TH><FONT FACE=ARIAL SIZE=4>Country</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Airline</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Language</FONT></TH><TH><FONT FACE=ARIAL SIZE=4>Comments</FONT></TH></TR>")
}

//==============================================================================
function airlines_right_cell_break()
//==============================================================================
{
	if (browsername != "Netscape" ) {
		document.write("<BR>")
	}else{
		transparent_space(600,1)
		//document.write("<IMG SRC=hspace1.gif WIDTH=600 HEIGHT=1 BORDER=0>")
	}
}

function Trim(myString, trimCharacter)
{
    // Handle the error if trimCharacteris too long
    if (trimCharacter.length > 1)
    {
        alert("Trim error: '" + trimCharacter+ "' is more than one character long.")
        return myString
    }

    // Make a copy of the string to work with
    newString = myString

    // Remove the leading characters
    while (newString.charAt(0) == trimCharacter)
    {
        newString = newString.substring(1,newString.length)
    }

    // Remove the trailing characters
    while (newString.charAt(newString.length - 1) == trimCharacter)
    {
        newString = newString.substring(0,newString.length - 1)
    }

    return newString;
}

//-->
