document.open()

window.onresize = new Function("window.location.reload( )");

string = new String("");
names  = new Array( "index", 	"services", 	"clients", 	"team",		"events", 	"contact" );
links  = new Array( "home",	"services",	"clients",	"team",		"events",	"contact" );
search = new String("");

string += '<style>';
string += 'body {font-family:arial; font-size: 12px; color:black}';
string += 'td { font-size:11px}';
string += 'H3 { MARGIN-TOP: 3px; MARGIN-BOTTOM: 3px }';
string += 'H4 { MARGIN-TOP: 3px; MARGIN-BOTTOM: 3px }';
string += 'H5 { MARGIN-TOP: 3px; MARGIN-BOTTOM: 3px }';
string += 'ul { MARGIN-TOP: 3px; MARGIN-BOTTOM: 3px }';
string += 'A  { color: black; TEXT-DECORATION: underline }';
string += 'A:hover { color: #990000; TEXT-DECORATION:none}';
string += 'body { font-family: arial, helvetica, sans-serif;  font-size: 15px; color: #999999 }';
string += 'td { font-family: arial, helvetica, sans-serif;  font-size: 12px; color: #666666 }';
string += '.text {color: #FFBF00;  font-family: arial, helvetica, sans-serif;  font-size: 12px; text-decoration: none}';
string += '.mash {font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFBF00 }';
string += '.mash2 {font-family: arial, helvetica, sans-serif; font-size: 15px; font-weight: bold; color: #FFBF00 }';
string += 'a:link {color: #823434;  font-family: arial, helvetica, sans-serif;  font-size: 12px; text-decoration: none}';
string += 'a:visited {color: #999999;  font-family: arial, helvetica, sans-serif;  font-size: 12px; text-decoration: none}'; 
string += 'a:active {color: #990000;  font-family: arial, helvetica, sans-serif;  font-size: 12px; text-decoration: none}'; 
string += 'A:hover {text-decoration: none;  font-family:arial, helvetica, sans-serif;  font-size: 12px;color: #990000}';
string += '</style>';

string += '<body bgcolor="#666666">';

string += '<table border=0 width=700 height=80 cellspacing=0 cellpadding=0 align=center>';
string += '<td width=700 height=80><img src="images/sumus3.gif" border=0 width=700 height=80></td>';
string += '</table>';

document.writeln( string )

string  = '<table border="0" width=700 height=21 cellspacing=0 cellpadding=0 bgcolor="#000000" align=center>';
string += '<tr>';
string += '<td><img src="images/mid-3.jpg" border=0 width=140 height=21></td>';
string += '<td width="100%"><img src="images/x.gif" height=21 width=10></td>';
for( i=0; i<names.length; i++ )
{
	string += '<td><b>';
	if( i == 0 )
	{
		string += '|&nbsp;&nbsp;'
	}
	string += '<a ';

	search  = names[i];
	search += '.htm';
	result  = document.URL.search( new RegExp(search, "i") );
	if( result != -1 )
	{
		string += 'style="color:white" ';
	}

	string += 'href="';
	string += names[i];
	string += '.htm">';
	string += links[i];
	string += '</a>&nbsp;&nbsp;|&nbsp;&nbsp;</b></td>';
}
string += '</tr>';
string += '</table>';

document.writeln( string )

if( typeof( window.innerWidth ) == 'number' ) 
{
    //
    // non-IE...
    //
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
} 
else 
{
    if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
    {
        //
        // IE 6+ in 'standards compliant mode'...
        //
        myWidth  = document.documentElement.clientWidth;
        myHeight = document.documentElement.clientHeight;
    } 
    else 
    {
        if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
        {
            //
            // IE 4 compatible...
            //
            myWidth  = document.body.clientWidth;
            myHeight = document.body.clientHeight;
       }
   }
}
myHeight -= 150;

string  = '<table border=0 width=700 height=';
string += myHeight;
string += ' cellspacing=0 cellpadding=0 align=center>';
string += '<tr>';
string += '<td bgcolor="#990000" width=140 style="background-image: url(\'images/leftbg-2.gif\'); background-repeat: yes-repeat; background-position: left top" valign="top"><img src="images/x.gif" height=10 width=140>';
string += '<table width=100% align="left" border=0 cellspacing=8>';

document.writeln( string )
