
    function print_me(url){ 
      if(navigator.userAgent.indexOf("MSIE") == -1) {
        newwindow = window.open(url,'printme','toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=525,height=600,left=30,top=30');
        newwindow.focus();
      } else {
        window.open(url,'printme','toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=525,height=600,left=30,top=30');
      }
    }
    
    function examples_window(url) {
      if(navigator.userAgent.indexOf("MSIE") == -1) {
        newwindow = window.open(url,'examples','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=350');
        newwindow.focus();
      } else {
        window.open(url,'examples','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=450,height=350');
      }
    }
	function stockpop_window(url) {
      if(navigator.userAgent.indexOf("MSIE") == -1) {
        newwindow = window.open(url,'stockpop_STRA','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=300,height=300');
        newwindow.focus();
      } else {
        window.open(url,'stockpop_STRA','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=300,height=300');
      }
    }

	/*
	WM_checkIn()
	Takes the ID of a positioned HTML element and returns an object reference.

	Source: Webmonkey Code Library
	(http://www.hotwired.com/webmonkey/javascript/code_library/)

	Author: Taylor
	Author Email: taylor@wired.com
	Author URL: http://www.taylor.org/

	Usage: WM_checkIn('id')
	*/

	// This function checks for DOM strategy, then 
	// returns an object reference.
	function WM_checkIn(id) {
		if (document.all && document.all[id]) {						// IE
			return document.all[id].style;
		} else if (document.layers && document.layers[id]) {		// NN4
			return document.layers[id];
		} else if (!document.all && document.getElementById) {		// NN6
			return document.getElementById(id).style;
		} else {
			return -1;
		}
	}


	/*
	WM_changeVisibility()
	Changes whether a layer is visible or hidden.

	Source: Webmonkey Code Library
	(http://www.hotwired.com/webmonkey/javascript/code_library/)

	Author: Nadav Savio
	Author Email: nadav@wired.com

	usage: WM_changeVisibility('targetLayer1',[visible|hidden|toggle],'targetLayer2',[visible|hidden|toggle],...,'targetLayerN',[visible|hidden|toggle])
	*/

	// set hidden/visible vars for Netscape 4 compatibility
	if (document.layers) {
		var hidden = "hide";
		var visible = "show";
	} else {
		var hidden = "hidden";
		var visible = "visible";
	}

	var toggle = "toggle";

	function WM_changeVisibility() {
		if (document.layers || document.all || (!document.all && document.getElementById)) {
			var inc, endInc=arguments.length;

			// run through the args (objects) and set the visibility of each
			for (inc=0; inc<endInc; inc+=2) {

				// get a good object reference
				var daObj = WM_checkIn(arguments[inc]);

				if (daObj != -1) {
					if (arguments[inc+1] == hidden) {
						// hide the object
						daObj.visibility = hidden;
					} else if (arguments[inc+1] == visible) {
						// show the object
						daObj.visibility = visible;
					} else if (arguments[inc+1] == toggle) {
						// toggle the object's visibility
						if (daObj.visibility == visible) {
							daObj.visibility = hidden;
						} else if (daObj.visibility == hidden) {
							daObj.visibility = visible;
						}
					}
				}
			}
		}
	}

	function MM_findObj(n, d) { //v3.0
		var p,i,x;
		if (!d) d=document;
		if ( (p=n.indexOf("?")) > 0 && parent.frames.length ) {
		    d=parent.frames[n.substring(p+1)].document;
			n=n.substring(0,p);
		}
		if ( !(x=d[n]) && d.all ) x=d.all[n];
		for (i=0; !x && i<d.forms.length; i++) x=d.forms[i][n];
		for (i=0; !x && d.layers && i<d.layers.length; i++) x=MM_findObj(n,d.layers[i].document);
		return x;
	}

	function MM_swapImage() { //v3.0
		var i,j=0,x,a=MM_swapImage.arguments;
		document.MM_sr=new Array;
		for(i=0; i < (a.length-2); i+=3)
			if ( ( x=MM_findObj(a[i]) ) != null ) {
				document.MM_sr[j++]=x;
				if (!x.oSrc) x.oSrc=x.src;
				x.src=a[i+2];
			}
	}

	function MM_swapImgRestore() { //v3.0
		var i,n,x,a=document.MM_sr;
	
		for (i=0; a && i<a.length && (x=a[i]) && x.oSrc; i++) {
			x.src=x.oSrc;
		}	
	}


	function myMenuChange(menu, state, which) {
		mySub = 'win-' + which;

		if (state) {
			changeTo = visible;
		} else {
			changeTo = hidden;
		}

		WM_changeVisibility(mySub, changeTo);
	}


	var startTime;

	function myOff(which) {
		var rightnow = new Date();
		var RNhr =  rightnow.getHours();
		var RNmin = rightnow.getMinutes();
		var RNsec = rightnow.getSeconds();
		var RNsum = (RNhr * 60 * 60) + (RNmin * 60) + RNsec;

		var SThr =  startTime.getHours();
		var STmin = startTime.getMinutes();
		var STsec = startTime.getSeconds();
		var STsum = (SThr * 60 * 60) + (STmin * 60) + STsec;
		
		if (STsum < RNsum) {
			myMenuChange(1, 0, which);
		}
	}

	var menuArray = new Array('about','investor');

	function myOn(which) {
		// turn off all others
		for (i=0; i < menuArray.length; i++) {
			if (menuArray[i] != which) {
				myMenuChange(1,0,menuArray[i]);
			}
		}

		// turn on this one
		myMenuChange(1, 1, which);

		// set rightnow equal to a new Date object.
		startTime = new Date();

		// schedule myOff to be run in X seconds
		thisFunct = "myOff('" + which + "')";
		setTimeout(thisFunct, 6000);
	}


