var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;

if (checkIt('konqueror'))
{
	browser = "Konqueror";
	OS = "Linux";
}
else if (checkIt('safari')) browser = "Safari"
else if (checkIt('omniweb')) browser = "OmniWeb"
else if (checkIt('opera')) browser = "Opera"
else if (checkIt('webtv')) browser = "WebTV";
else if (checkIt('icab')) browser = "iCab"
else if (checkIt('msie')) browser = "IE"
else if (!checkIt('compatible'))
{
	browser = "NN"
	version = detect.charAt(8);
}
else browser = "unknown";

if (!version) version = detect.charAt(place + thestring.length);

if (!OS)
{
	if (checkIt('linux')) OS = "Linux";
	else if (checkIt('x11')) OS = "Unix";
	else if (checkIt('mac')) OS = "MAC"
	else if (checkIt('win')) OS = "WIN"
	else OS = "an unknown operating system";
}

var w = screen.availWidth + 8;
var h = screen.availHeight + 8;
var file_path = "../onenet/blank.html";
var alt_file_path = "../onenet/blankAlt.html";

function openOrderApp(){
	if(OS == 'WIN' && browser == 'IE'){
		newwin=window.open(file_path,"main_win","scrollbars=0,resizable=no,location=no,menubar=no,status=yes,left=0,top=0");
		newwin.resizeTo(w,h);
		newwin.moveTo(-4,-4);
	}else if(OS == 'MAC' && browser == 'IE'){
		newwin=window.open(file_path,"main_win","scrollbars=0,resizable=no,location=no,menubar=no,status=yes,left=0,top=0");
		newwin.resizeTo(w,h);
		newwin.moveTo(-4,-4);
	}else if(OS == 'MAC' && browser == 'NN'){
		window_size = "width=" + w + ",height=" + h +",innerWidth=" + w + ",innerHeight=" + h;
		newwin=window.open(file_path,"main_win","scrollbars=0,resizable=no,location=no,menubar=no,status=yes," + window_size);
		newwin.moveTo(-4,-4);
	}else if( OS == 'WIN' && browser == 'NN'){
		window_size = "width=" + (w-14) + ",height=" + (h-54) +",innerWidth=" + (w-14) + ",innerHeight=" + (h-54);
		newwin=window.open(file_path,"main_win","scrollbars=0,resizable=no,location=no,menubar=no,status=yes," + window_size);
		newwin.moveTo(-4,-4);
	} else if (browser == "Opera") {
		window.location = alt_file_path;
	} else {
		window_size = "width=800,height=600";
		newwin=window.open(alt_file_path,"main_win","scrollbars=0,resizable=no,location=no,menubar=no,status=yes," + window_size);
	}
	
	// window.open ("mainteance_june05.html", "main_win", "width=600, height=300");

}

function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}


<!-- START OF WEBTRENDS LIVE TAG -->
<!-- Copyright 2003 NetIQ Corporation -->
<!--  For privacy concerns, check our Privacy Policy at http://www.webtrendslive.com/wtl_system/privacy_policy.htm -->
// Modification of this code is not allowed and will permanently disable your account!
// SiteName:  LaRosas
function wtl_Tag5_148212()
{
	var SERVER= "";
	var CONTENTGROUP= "";
	
	var wtl_URL= document.URL;
	var wtl_Title= document.title;

	function D8( d)
	{
		var fwd=0, seed= new Date('01/01/2000'), key= "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
		var s= key.charAt( d.getFullYear()-2000)+key.charAt( d.getMonth()+1)+key.charAt( d.getDate());
		s+= key.charAt( d.getHours())+key.charAt( d.getMinutes())+key.charAt( d.getSeconds());
		while( seed.getDay()!=fwd) seed= new Date(seed.getTime() + 86400000);
		var w= Math.floor( (d.getTime()-(seed.getTime()+86400000)) / 604800000 );
		s+= key.charAt( (w-(w%16))/16 );
		s+= key.charAt( w%16);
		return s;
	}
	
	function A( B, C)
	{
		W+="&"+B+"="+escape(C);
	}

	var t = new Date();
	var W="http"+(document.URL.indexOf('https:')==0?'s':'')+"://statse.webtrendslive.com/S148212/button5.asp?tagver=5&si=148212&fw=0";
	A( "server", typeof(SERVER)== "string" ? SERVER : "");
	A( "Group", typeof(CONTENTGROUP)== "string" ? CONTENTGROUP : "");
	A( "tz", t.getTimezoneOffset());
	A( "ch", t.getHours());
	A( "cl", D8(t));
	A( "ti", typeof(wtl_Title)== "string" ? wtl_Title : document.title);
	A( "url", typeof(wtl_URL)== "string" ? wtl_URL : document.URL);
	A( "rf", window.document.referrer);
	A( "js", "Yes");
	A( "ul", navigator.appName=="Netscape" ? navigator.language : navigator.userLanguage);
	if(typeof(screen)=="object")
	{
	A( "sr", screen.width+"x"+screen.height);
	A( "cd", screen.colorDepth);
	A( "jo", navigator.javaEnabled()?"Yes":"No");
	}
	if( W.length>2048 && navigator.userAgent.indexOf('MSIE')>=0)
		W= W.substring( 0, 2043)+"&tu=1";

	document.write('<IMG ID="WTL_148212" BORDER="0" WIDTH="1" HEIGHT="1" SRC="new_site/'+W+'">');
}

wtl_Tag5_148212();

<!-- END OF WEBTRENDS LIVE TAG -->

