program define go2cgd
*!	version 1.0 30Jun,2020
	version 11

	syntax [anything]

	if "`anything'"=="" {
		view net from "http://digital.cgdev.org/doc/stata"
	}
	else {
	    if strpos(lower("`anything'"),"misc") {
			view net from "http://digital.cgdev.org/doc/stata/MO/Misc"
		}
		else if strpos(lower("`anything'"),"aids")  {
			view net from "http://digital.cgdev.org/doc/stata/MO/AIDS"
		}
		else if strpos(lower("`anything'"),"cost") | strpos(lower("`anything'"),"flex") {
			view net from "http://digital.cgdev.org/doc/stata/MO/flexcost"
		}
		else {
			view net from "http://digital.cgdev.org/doc/stata"
		}
	}

end