
var Subject = "subject";
var PosAdverb = "positive adverb";
var PosVerb = "positive verb";
var PosVerbPhrase = "positive verb phrase";
var PosAdjective = "positive adjective";
var PosObject = "positive object";

var None = false;

var StateMachine = new Array();

StateMachine[Subject] = [PosAdverb, PosVerb, PosVerbPhrase];
StateMachine[PosAdverb] = [PosVerb, PosVerbPhrase];
StateMachine[PosVerb] = [PosAdjective, PosObject];
StateMachine[PosVerbPhrase] = [PosAdjective, PosObject];
StateMachine[PosAdjective] = [PosObject];
StateMachine[PosObject] = [None];

var Values = new Array();
Values[PosObject] = [
        "Davos CEOs",
        "action-items",
        "aspiration statements",
        "best practices",
        "brochureware",
        "business brigades",
        "business silo",
        "butterfly hubs",
        "channels",
        "clicks and mortar",
        "co-colleagues",
        "co-humans",
        "competitive advantage",
        "competitiveness",
        "core processes",
        "creovation",
        "cross functional boundaries",
        "customers",
        "e-business",
        "e-commerce",
        "e-mail blasts",
        "empowerment",
        "goal-setting",
        "info highway",
        "infomediaries",
        "infrastructures",
        "integethics",
        "intellectual capital",
        "key players",
        "living documents",
        "low-hanging fruit",
        "marketecture",
        "markets",
        "mastery learning",
        "mindshare",
        "net-market makers",
        "new paradigms",
        "partners",
        "quality vector",
        "schedule compression",
        "smartsizing",
        "street cred",
        "suck sites",
        "supply chain execution",
        "supply chain integration",
        "sustainability",
        "team players",
        "teams", 
        "total quality",
        "value propositions",
        "viral marketing",
        "virtual communities",
        "work breakdown structure",
        "workplace wellness",
        ];

Values[PosAdjective] = [
        "a-list",
        "adaptive",
        "back-end",
        "benchmark",
        "best of breed",
        "big picture",
        "bleeding-edge",
        "carbon-neutral",
        "cash-neutral",
        "champion",
        "collabrative",
        "core",
        "cutting edge",
        "eco",
        "enhanced",
        "evolving",
        "experienced",
        "extensible",
        "frictionless",
        "front-end",
        "future proof",
        "high stake",
        "killer",
        "marquee",
        "mission-critical",
        "multidisciplinary",
        "multiple",
        "objective",
        "panoramic",
        "peer-to-peer",
        "premium",
        "principal centred",
        "pro-commonal",
        "proprietary",
        "revolutionary",
        "robust",
        "scalable",
        "seamless",
        "streamlined",
        "syndicated",
        "synergistic",
        "target",
        "tier 1",
        "turn-key",
        "ubiquitous",
        "user-centric",
        "virtual",
        "visionary",
        "web-enabled",
        "win-win",
        "wireless",
        "world-class",
        ];

Values[PosVerbPhrase] = [
        "boiled the ocean of",
        "herded the cats of",
        "hit the ground running with",
        "nailed Jell-o to the tree of",
        "pushed the envelope regarding", 
        "stretched the envelope of",
        "thought outside the box regarding",
        "tiger teamed",
        "used market driven aspects for",
        "was a change catalyst for",
        "was total quality driven towards",
        "went the extra mile for",
        ];

Values[PosVerb] = [
        "architectured",
        "brain banged",
        "brandized",
        "communicated",
        "cross-mediaized",
        "delivered",
        "deployed", 
        "drove",
        "e-enable", 
        "e-vangelised",
        "embraced",
        "empowered",
        "engaged",
        "envisioned",
        "envisioneered",
        "evangelised",
        "evolved",
        "excited",
        "facilitated",
        "gap analysed",
        "grew",
        "happified",
        "harnessed",
        "knowledge managed", 
        "leveraged",
        "meshed",
        "monetized",
        "networked",
        "peered",
        "prioritized",
        "ramped up",
        "re-envisioneered",
        "reinvented",
        "risk managed",
        "spearheaded",
        "strategized",
        "think tanked",
        ];

Values[PosAdverb] = [
        "accountably",
        "actively",
        "cash-neutrally",
        "comprehensively",
        "credibly",
        "creovatively",
        "drivenly",
        "frictionlessly",
        "interatively",
        "proactively",
        "professionally",
        "purposefully",
        "robustly",
        "seamlessly",
        "significantly",
        "strategically",
        "synergistically",
        ];

Values[Subject] = [
        "I",
        ]
	
	
function random_choice(list) 
{
	index = Math.floor(Math.random() * list.length); 
	return list[index];
}
		
function generate() {
    var l = new Array();
    var s = Subject;
    while (s)
	{
        l.push(random_choice(Values[s]));
        s = random_choice(StateMachine[s]);
	}
	return l.join(" ") + "."
}

