bname = navigator.appName;
bversion = parseInt(navigator.appVersion);
version = "";
company_version="";
var num_creativity=0;
var num_innovation=0;
var num_solutions=0;
var window1=null;
 
if (bname=="Netscape" && bversion>=3 ) company_version="nn3";
if (bname=="Netscape" && bversion>=4 ) company_version="nn4";
if (bname=="Microsoft Internet Explorer" && bversion>=3 ) company_version="ie3";
if (bname=="Microsoft Internet Explorer" && bversion>=4 ) company_version="ie4";

if (company_version=="nn3" || company_version=="nn4" || company_version=="ie3" || company_version=="ie4")
{
       version="ok";
}

function show_solution(sol) 
{
    if (version=="ok")
    {
	if (!window1 || window1.closed)
    	{ 
    		if (sol=="stattrack")	window1=window.open("/services/stattrack_demo/main.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=620,height=500");
    		if (sol=="adtrack1")	window1=window.open("/services/adtrack1_popup.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=450,height=350");
		if (sol=="adtrack2")	window1=window.open("/solutions/adtrack/adtrack2.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=320");
     		if (sol=="hypergrasp")	
		{
        		results=window.open("/solutions/hypergrasp/hypergrasp.blank.html","results","menubar=no,scrollbars=yes,resizable=yes,screenX=350,screenY=120,top=120,left=350,width=400,height=300");
			window1=window.open("/solutions/hypergrasp/hypergrasp.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=100,screenY=100,top=100,left=100,width=400,height=420");
		}
    		if (sol=="tsap")	window1=window.open("/solutions/tsap/tsap.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=650,height=500");
    		if (sol=="bbs")	window1=window.open("/tel2-bin/bbs-bin-telusys/bbs-01/open_forum?01+0","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="chat1")	window1=window.open("/services/chat1_pop.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=450,height=350");
    		if (sol=="7")	window1=window.open("/solutions/impulse_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="telserv")	window1=window.open("/solutions/telserv/telserv.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=350");
    		if (sol=="9")	window1=window.open("/solutions/shopper_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="10")	window1=window.open("/solutions/uswide_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
		if (sol=="sitemanager")	window1=window.open("/solutions/sitemanager/sitemanager.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=675,height=500");
    	}
    	else
    	{  
        	window1.focus(); 
    		if (sol=="stattrack")	window1=window.open("/services/stattrack_demo/main.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=620,height=500");
    		if (sol=="adtrack1")	window1=window.open("/solutions/adtrack/adtrack1.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=400,height=300");
    		if (sol=="adtrack2")	window1=window.open("/solutions/adtrack/adtrack2.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
     		if (sol=="hypergrasp")	
		{
        		results=window.open("/solutions/hypergrasp/hypergrasp.blank.html","results","menubar=no,scrollbars=yes,resizable=yes,screenX=300,screenY=10,width=400,height=300");
			window1=window.open("/solutions/hypergrasp/hypergrasp.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=450,height=420");
			results.focus();
		}
    		if (sol=="tsap")	window1=window.open("/solutions/tsap/tsap.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="bbs")	window1=window.open("/tel2-bin/bbs-bin-telusys/bbs-01/open_forum?01+0","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="chat1")	window1=window.open("/services/chat1_pop.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=450,height=350");
    		if (sol=="7")	window1=window.open("/solutions/impulse_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="telserv")	window1=window.open("/solutions/telserv/telserv.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=350");
    		if (sol=="9")	window1=window.open("/solutions/shopper_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
    		if (sol=="10")	window1=window.open("/solutions/uswide_index.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
		if (sol=="sitemanager")	window1=window.open("/solutions/sitemanager/sitemanager.html","window1","menubar=no,scrollbars=yes,resizable=yes,screenX=10,screenY=10,width=420,height=300");
	} 


    } 
}


 

