function DetBrow()
{  
    var agt=navigator.userAgent.toLowerCase();
    var ua = window.navigator.userAgent;
    var msie = ua.indexOf ("MSIE ");
    this.major = parseInt(ua.substring (msie+5, ua.indexOf (".", msie )));

    this.nav  = ((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1)))
    this.nav2 = (this.nav && (this.major == 2))
    this.nav3 = (this.nav && (this.major == 3))
    this.nav4 = (this.nav && (this.major == 4))
    this.nav4up = this.nav && (this.major >= 4)
    this.navonly = (this.nav && (agt.indexOf(";nav") != -1))

    this.ie   = (agt.indexOf("msie") != -1)
    this.ie3  = (this.ie && (this.major == 2))
    this.ie4  = (this.ie && (this.major == 4))
    this.ie5  = (this.ie && (this.major == 5))
    this.ie4up  = this.ie  && (this.major >= 4)

    this.opera = (agt.indexOf("opera") != -1)
   
    if (this.nav2 || this.ie3) this.js = 1.0
    else if (this.nav3 || this.opera) this.js = 1.1
    else if (this.nav4 || this.ie4 || this.ie5) this.js = 1.2
    else if ((this.nav && (this.minor > 4.05)) || (this.ie && (this.major > 4))) 
    this.js = 1.2
    else this.js = 0.0 

    this.win   = ( (agt.indexOf("win")!=-1) || (agt.indexOf("16bit")!=-1))
    this.mac    = (agt.indexOf("mac")!=-1)
    this.mac68k = this.mac && ((agt.indexOf("68k")!=-1) || (agt.indexOf("68000")!=-1))
    this.macppc = this.mac && ((agt.indexOf("ppc")!=-1) || (agt.indexOf("powerpc")!=-1))
    this.sun   = (agt.indexOf("sunos")!=-1)
    this.hpux  = (agt.indexOf("hp-ux")!=-1) 
    this.linux = (agt.indexOf("inux")!=-1)
    this.bsd = (agt.indexOf("bsd")!=-1)
    this.unix  = (agt.indexOf("x11")!=-1) || this.sun || this.irix || this.hpux || this.sco ||this.unixware || this.mpras || this.reliant || this.dec || this.sinix || this.aix || this.linux || this.freebsd
    this.vms   = (agt.indexOf("vax")!=-1) || (agt.indexOf("openvms")!=-1)
}

function OthBrowSupp()
{
    var supportAll = (document.all != null);

    osb = new DetBrow();
   
    if ((osb.mac) || (osb.mac68k) || (osb.macppc)) {
        if (osb.ie5) {
            document.write('<STYLE type=text/css>DIV#companytext1 P{WIDTH:84%;MARGIN-TOP:-8px}');  
            document.write('DIV#companytext2 P{WIDTH:50%}</STYLE>'); 
        }
    }
    else if ((osb.nav) || (supportAll <= 0))
        document.write('<link rel="stylesheet" type="text/css" href="Style/servAlt.css" /> ');
    else if ((osb.win) && (osb.ie5))
        document.write('<link rel="stylesheet" type="text/css" href="Style/clientIE5.css" />');

}

function ssswindow()
{
    newwindow2=window.open('','name','height=590,width=390');
    if (window.focus) {newwindow2.focus()};
    var win = newwindow2.document;
    win.write('<HTML><head><title>Synergy Software Solutions</title>');    
    win.write('<META content="MSHTML 6.00.2800.1498" name=GENERATOR>')
    win.write('<STYLE type=text/css> DIV#windowtext P{');
    win.write('FONT-SIZE: 11px; FONT-FAMILY: Verdana; COLOR:#404040;LINE-HEIGHT: 15px;}');
    win.write('DIV#testtext P{FONT-SIZE: 11px; FONT-FAMILY: Arial; ');
    win.write('COLOR:#3f3991;LINE-HEIGHT: 15px;}');
    win.write('DIV#captext P{FONT-SIZE: 11px; TEXT-ALIGN:right; FONT-FAMILY: Arial;COLOR:#3f3991; } ');
    win.write('DIV#contentimg img{ FLOAT: right; }');
    win.write('</STYLE>');         
    win.write('</head><body>');
    win.write('<FONT FACE="Tahoma" SIZE="4" COLOR="#336699" ALIGN="center">');
    win.write('<p><b>Synergy Software Solutions</B></p></FONT>');
    win.write('<DIV id=windowtext>');
    win.write('<P>Synergy Software Solutions is a provider of&nbsp;'); 
    win.write('IT software and consulting services.&nbsp; The company specializes in database applications development.&nbsp;');
    win.write('<BR><BR>As a startup company, Synergy Software Solutions&nbsp;');
    win.write('looked to us for company infrastructure and business&nbsp;');
    win.write('definition needs.&nbsp; We created the company business plan, and helped the company to organize&nbsp;');
    win.write('and establish its business components, subcontracting certain legal and&nbsp;'); 
    win.write('accounting services.&nbsp; In the end an accounting system was set up,&nbsp;'); 
    win.write('as well as the business structure.</P>'); 
    win.write('<P>We also designed the company logo, business&nbsp;');
    win.write('card and business stationery.</P></DIV>');
    win.write('<DIV id="contentimg"><img border="0" src="Images/sssLogo1.gif"></DIV>');
    win.write('<DIV id=testtext>');
    win.write('<P>"I sought the services of Intellinet Solutions to assist in ');
    win.write('launching my own consulting services company.  At a time when I ');
    win.write('required strong business expertise in forming a solid business plan, ');
    win.write('getting incorporated, choosing and implementing an accounting system, '); 
    win.write('and creating marketing materials, Intellinet Solutions was there to '); 
    win.write('provide their knowledge, experience and services.  Intellinet '); 
    win.write('Solutions was highly productive, creative and business smart with '); 
    win.write('a focus on results.  They provided intelligent options to the final '); 
    win.write('version of each business component, and were always open to my '); 
    win.write('input and suggestions to provide solutions to optimize the success ');
    win.write('of my business."</P></DIV>');
    win.write('<DIV id=captext>');
    win.write('<P>L. Meagher, Owner, Synergy Software Solutions</P></DIV><BR>');
    win.write('<center><form><input type=button STYLE="font-size:10pt;" value="Close Window"'); 
    win.write('onClick="javascript:self.close()"></form></center>');
    win.write('</FONT></body></html>');
    win.close();
}

function apcwindow()
{
    newwindow2=window.open('','name','height=470,width=390');
    if (window.focus) {newwindow2.focus()};
    var win = newwindow2.document;
    win.write('<HTML><head><title>Andrew Printing Company</title>');    
    win.write('<META content="MSHTML 6.00.2800.1498" name=GENERATOR>')
    win.write('<STYLE type=text/css> DIV#windowtext P{');
    win.write('FONT-SIZE: 11px; FONT-FAMILY: Verdana; COLOR:#404040;LINE-HEIGHT: 15px;');
    win.write('</STYLE>');         
    win.write('</head><body>');
    win.write('<FONT FACE="Tahoma" SIZE="4" COLOR="#336699" ALIGN="center">');
    win.write('<p><b>Andrew Printing Company</B></p></FONT>');
    win.write('<DIV id=windowtext>');
    win.write('<P>Andrew Printing Company is a small commercial printing&nbsp;'); 
    win.write('firm that specializes in translation and printing services.&nbsp;');
    win.write('&nbsp;Products of the company include business cards and&nbsp;');
    win.write('stationery, restaurant menus, wedding invitations, brochures,&nbsp;');
    win.write('event flyers, programs, booklets, etc.&nbsp;</P><P>As the customer base grew&nbsp;');
    win.write('and projects increased over time, the company was having difficulty '); 
    win.write('with its work load and in meeting its commitments.  Quality suffered '); 
    win.write('as well due to human error as projects were being rushed to '); 
    win.write('completion inadequately.</P><P>After identifying the problem, '); 
    win.write('we developed, implemented and managed a production system that ');
    win.write('facilitated and tracked work flow.&nbsp; We made process ');
    win.write('recommendations to streamline operations, and created quality ');     
    win.write('assurance checks and standards within the system.&nbsp; As a ');
    win.write('result of the process system, the company saw increased profits ');
    win.write('as well as greater customer satisfaction.</P></DIV><BR>');
    win.write('<center><form><input type=button STYLE="font-size:10pt;" value="Close Window"'); 
    win.write('onClick="javascript:self.close()"></form></center>');
    win.write('</FONT></body></html>');
    win.close();
}

function jeiwindow()
{
    newwindow2=window.open('','name','height=400,width=390');
    if (window.focus) {newwindow2.focus()};
    var win = newwindow2.document;
    win.write('<HTML><head><title>JE Ink</title>');    
    win.write('<META content="MSHTML 6.00.2800.1498" name=GENERATOR>')
    win.write('<STYLE type=text/css> DIV#windowtext P{');
    win.write('FONT-SIZE: 11px; FONT-FAMILY: Verdana; COLOR:#404040;LINE-HEIGHT: 15px;');
    win.write('</STYLE>');         
    win.write('</head><body>');
    win.write('<FONT FACE="Tahoma" SIZE="4" COLOR="#336699" ALIGN="center">');
    win.write('<p><b>JE Ink</B></p></FONT>');
    win.write('<DIV id=windowtext>');
    win.write('<P>JE Ink is a small publishing company of books for the Chinese&nbsp;'); 
    win.write('Language.&nbsp; It recently went through a change in business name, ');
    win.write('but the company has been in business since 1990.</P><P>At a time ');
    win.write('when the work load exceeded the capability of the company&nbsp;');
    win.write('and negatively affected its business activities and efficiency,&nbsp;');
    win.write('instead of increasing staff JE Ink looked to us for assistance.</P>'); 
    win.write('<P>We helped JE Ink to re-define and organize its business functions. '); 
    win.write('&nbsp; We created means and suggested ways to better manage and monitor '); 
    win.write('its activities.&nbsp; Our contributions helped the company to get ');
    win.write('back on track.</P></DIV><BR>');
    win.write('<center><form><input type=button STYLE="font-size:10pt;" value="Close Window"'); 
    win.write('onClick="javascript:self.close()"></form></center>');
    win.write('</FONT></body></html>');
    win.close();
}

function bswindow()
{
    newwindow2=window.open('','name','height=470,width=390');
    if (window.focus) {newwindow2.focus()};
    var win = newwindow2.document;
    win.write('<HTML><head><title>Basin Water</title>');    
    win.write('<META content="MSHTML 6.00.2800.1498" name=GENERATOR>')
    win.write('<STYLE type=text/css> DIV#windowtext P{');
    win.write('FONT-SIZE: 11px; FONT-FAMILY: Verdana; COLOR:#404040;LINE-HEIGHT: 15px;');
    win.write('</STYLE>');         
    win.write('</head><body>');
    win.write('<FONT FACE="Tahoma" SIZE="4" COLOR="#336699" ALIGN="center">');
    win.write('<p><b>Basin Water</B></p></FONT>');
    win.write('<DIV id=windowtext>');
    win.write('<P>Basin Water is a provider of&nbsp;'); 
    win.write('proven, cost-effective turnkey solutions for treating contaminated&nbsp;');
    win.write('groundwater to drinking water standards.&nbsp;');
    win.write('<BR><BR>&nbsp;');
    win.write('definition needs.&nbsp; We created the company business plan, and helped the company to organize&nbsp;');
    win.write('and establish its business components, subcontracting certain legal and&nbsp;'); 
    win.write('accounting services.&nbsp; In the end an accounting system was set up,&nbsp;'); 
    win.write('as well as the business structure.</P>'); 
    win.write('<P>We also designed the company logo, and business&nbsp;');
    win.write('card and business stationary.</P></DIV>');
    win.write('<img border="0" src="Images/sssLogo.gif">');
    win.write('<center><form><input type=button STYLE="font-size:10pt;" value="Close Window"'); 
    win.write('onClick="javascript:self.close()"></form></center>');
    win.write('</FONT></body></html>');
    win.close();
}

function detBrowSupp() 
{
    var ua = window.navigator.userAgent;
    var msie = ua.indexOf ( "MSIE " );
    var verIE = parseInt(ua.substring (msie+5, ua.indexOf (".", msie )));
    var isIE = navigator.appVersion.indexOf("MSIE");
    var supportAll = (document.all != null);
    var uaprod = navigator.product;
    var uavendor = navigator.vendor;
    var uaver = navigator.vendorSub;
    var uaAppName = navigator.appName; 
    var isFF = navigator.userAgent.indexOf("Firefox");
    var isSafari = navigator.userAgent.indexOf("Safari");

    // For debug...  
    //document.write("IE version=", verIE);
    //document.write("  msie=", msie);
    //document.write("  supportAll=", supportAll);
    //document.write("  navprod=", uaprod);
    //document.write("  navendor=", uavendor);
    //document.write("  naversion=", uaver);

    if (uaAppName == "Microsoft Internet Explorer")
    {
        if (verIE == 5)
        {
            //document.write('<STYLE type=text/css>#content {MARGIN-TOP:26px}</STYLE>');

        }
        if (verIE == 8)
        {
            document.write('<STYLE type=text/css>DIV#companyname1 P{PADDING-LEFT: 7px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{WIDTH: 80%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext1 P{WIDTH: 85%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext2 P{WIDTH: 58%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#subtitle P{PADDING-LEFT: 8px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{PADDING-LEFT: 8px}</STYLE>');
        }
    }
    else 
    {
        if ((uavendor == "Apple Computer, Inc.") || (isSafari == 108))   // Safari
        {
            document.write('<STYLE type=text/css>DIV#companytext1 P{WIDTH: 83%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext2 P{WIDTH: 54%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{WIDTH: 80%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#subtitle P{PADDING-LEFT: 8px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{PADDING-LEFT: 8px}</STYLE>');
            //document.write('<STYLE type=text/css>DIV#companytext2 P{WIDTH: 50%}</STYLE>');
            //document.write('<STYLE type=text/css>ul#tabnav li{padding-bottom:6px;}</STYLE>');
            
        }
        else if ((isFF == 68) || (isFF == 82))  //uavendor="Fedora", uaver="1.0.4-4" == 82       
        {
            document.write('<STYLE type=text/css>DIV#companytext1 P{WIDTH: 83%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext2 P{WIDTH: 54%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{WIDTH: 80%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext1 P{FONT-SIZE: 12px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext2 P{FONT-SIZE: 12px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{FONT-SIZE: 12px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#subtitle P{FONT-SIZE: 13px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#subtitle1 P{FONT-SIZE: 13px}</STYLE>');
        }
        else if ((isFF == 75) || (isFF == 76) || (isFF == 77) || (isFF == 78))
        {
            document.write('<STYLE type=text/css>DIV#companyname1 P{PADDING-LEFT: 7px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{WIDTH: 80%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext1 P{WIDTH: 85%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext2 P{WIDTH: 58%}</STYLE>');
            document.write('<STYLE type=text/css>DIV#subtitle P{PADDING-LEFT: 8px}</STYLE>');
            document.write('<STYLE type=text/css>DIV#companytext3 P{PADDING-LEFT: 8px}</STYLE>');
        }
    }
} 

detBrowSupp();


