// Determine browser.var isMinNS4 = (navigator.appName.indexOf("Netscape") >= 0 && parseFloat(navigator.appVersion) >= 4) ? 1 : 0;var isMinNS6 = (isMinNS4 && navigator.userAgent.indexOf("Gecko")>=0) ? 1 : 0;var isMinIE4 = (document.all) ? 1 : 0;var isMinIE5 = (isMinIE4 && navigator.appVersion.indexOf("5.")) >= 0 ? 1 : 0;var isDOM = (document.getElementById) ? 1 : 0;// Set array for rollover imagesimag = new Array()// scroll arrow imagesimag[0] = "images/report_search_0103_thmb2.gif"imag[1] = "images/report_search_0103_thmb1.gif"imag[2] = "images/researchbrief_oct2002_thmb2.gif"imag[3] = "images/researchbrief_oct2002_thmb1.gif"// Preload those suckers	if (document.images) {im = new Array()	for (var i = 0; i < imag.length; i++){	im[i] = new Image()	im[i].src = imag[i]	}}// Rollover function for scroll arrowsfunction swap(num,imgname){	 imgname.src = im[num].src}// Pop-up for large zoomed photosfunction pop(imagesrc,imgwidth,imgheight) {		if (isMinNS4) {		// Mozilla and Netscape window size fix		winwidth = imgwidth + 4;		winheight = imgheight + 4;	} else {		winwidth = imgwidth;		winheight = imgheight;	}		var sX = (screen.width - winwidth) / 2;	var sY = (screen.height - winheight) / 2 - 30;	var wstring = "width=" + winwidth;	var hstring = "height=" + winheight;		var winParams = wstring + "," + hstring + ",left=" + sX  + ",top=" + sY  + ",toolbar=0,resizable=0,scrollbars=0,location=0,status=0"		popwin=window.open("","",winParams);	popwin.document.open();	popwin.document.write('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"\r\t\t"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">\r<html lang="en">\r<head>\r\t<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">\r\t<title>37signals &raquo; Research Screenshot<\/title>\r<\/head>\r\r<body leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0">\r\t<div style="position:absolute;z-index:0;top:0px;left:0px"><a href="javascript:self.close();" style="cursor: s-resize" title="Click to close"><img src="'+imagesrc+'" width="'+imgwidth+'" height="'+imgheight+'" border="0"><\/a><\/div>\r<\/body>\r<\/html>');	//popwin.moveTo(sX,sY);	popwin.document.close();}// Alter color of text elementsfunction changeColor(objId,color) {	if (isMinIE5||isDOM) {		document.getElementById(objId).style.color=color;	} else {		return;	}}// Alter background color of elementsfunction changeBgcolor(objId,color) {	if (isMinIE5||isDOM) {		document.getElementById(objId).style.backgroundColor=color;	} else {		return;	}}