<!--

/* 

Browser sniffer. Written by PerlScriptsJavaScripts.com

Copyright http://www.perlscriptsjavascripts.com 

Free and commercial Perl and JavaScripts     

*/



v3 = 0; op = 0; ie4  = 0; ie5 = 0; nn4 = 0; nn6 = 0; isMac = 0; aol = 0;



if(document.images){

    if(navigator.userAgent.indexOf("Opera") != -1){

        op = 1;

    } else {

        if(navigator.userAgent.indexOf("AOL") != -1){

            aol = 1;

        } else {

            ie4 = (document.all && !document.getElementById);

            nn4 = (document.layers);

            ie5 = (document.all && document.getElementById);

            nn6 = (document.addEventListener);

        }

    }

} else {

    v3 = 1;	

}



if(navigator.userAgent.indexOf("Mac") != -1){

    isMac = 1;

}

/*-------Secondary Content---

The primary variable required a minor work around

It would not load as a variable call as normal

so it was placed directly into the browser block call section



*/

Secondary='<IMG SRC="http://www.chargar.com/images/logo.gif">'+

''



/*--------End Secondary---------*/



/*Send content block based on browser*/

if(op){ // do this

document.write(Secondary);

} 

if(ie4){ // do this

document.write(Secondary);

} 

if(ie5){ // do this

document.write('<TABLE valign="bottom" cellpadding="0" cellspacing="0" border="0" width="100%"><TR><form name="search_form" method="get" action="http://www.chargar.com/SEARCH/search.cgi">')

document.write('<TD valign="bottom" class="date" width="150"><IMG src="http://www.chargar.com/images/logo.gif"></TD>')

document.write('<TD align="right">')

document.write('<input class="nav_back" size="30" name="Terms" id="fdse_TermsEx">')

document.write('</TD>')

document.write('<TD  width="50" align="left">')

document.write('<A class="nav_back" href="#" Onclick="document.search_form.submit();">Search</A>')

document.write('</TD>')

document.write('<TD  width="150" class="date" align="center" >')

var d=new Date()

var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")

var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")

document.write("<nobr>&nbsp;" + weekday[d.getDay()] + " ")

document.write(d.getDate() + ". ")

document.write(monthname[d.getMonth()] + " ")

document.write(d.getFullYear())

document.write("</nobr><br>")

document.write('</TD></form></TR></TABLE>')

}

if(nn4){ // do this

document.write(Secondary);

} 

if(nn6){ // do this

document.write(Secondary);

} 

if(aol){ // do this

document.write(Secondary);

}

if(v3){ // do this

document.write(Secondary);

}



// -->