var ChartsFlowchart=function(){var e=function(){var e="";e+="st=>start: Start:>http://keenthemes.com[blank]\n",e+="e=>end:>http://keenthemes.com\n",e+="op1=>operation: My Operation\n",e+="sub1=>subroutine: My Subroutine\n",e+="cond=>condition: Yes\n",e+="or No?:>http://keenthemes.com\n",e+="io=>inputoutput: catch something...\n",e+="st->op1->cond\n",e+="cond(yes)->io->e\n",e+="cond(no)->sub1(right)->op1";var t=flowchart.parse(e);t.drawSVG("diagram_1",{x:0,y:0,"line-width":3,"line-length":50,"text-margin":10,"font-size":14,"font-color":"black","line-color":"black","element-color":"black",fill:"white","yes-text":"yes","no-text":"no","arrow-end":"block",scale:1,symbols:{start:{"font-color":"red","element-color":"green",fill:"yellow"},end:{"class":"end-element"}},flowstate:{past:{fill:"#CCCCCC","font-size":12},current:{fill:"yellow","font-color":"red","font-weight":"bold"},future:{fill:"#FFFF99"},request:{fill:"blue"},invalid:{fill:"#444444"},approved:{fill:"#58C4A3","font-size":12,"yes-text":"APPROVED","no-text":"n/a"},rejected:{fill:"#C45879","font-size":12,"yes-text":"n/a","no-text":"REJECTED"}}})},t=function(){var e="";e+="st=>start: Start:>http://keenthemes.com[blank]\n",e+="st=>start: Start|past:>http://keenthemes.com[blank]\n",e+="e=>end: End|future:>http://keenthemes.com\n",e+="op1=>operation: My Operation|past\n",e+="op2=>operation: Stuff|current\n",e+="sub1=>subroutine: My Subroutine|invalid\n",e+="cond=>condition: Yes\n",e+="or No?|approved:>http://keenthemes.com\n",e+="c2=>condition: Good idea|rejected\n",e+="io=>inputoutput: catch something...|future\n",e+="st->op1(right)->cond\n",e+="cond(yes, right)->c2\n",e+="cond(no)->sub1(left)->op1\n",e+="c2(yes)->io->e\n",e+="c2(no)->op2->e\n";var t=flowchart.parse(e);t.drawSVG("diagram_2",{x:0,y:0,"line-width":3,"line-length":50,"text-margin":10,"font-size":14,"font-color":"black","line-color":"black","element-color":"black",fill:"white","yes-text":"yes","no-text":"no","arrow-end":"block",scale:1,symbols:{start:{"font-color":"red","element-color":"green",fill:"yellow"},end:{"class":"end-element"}},flowstate:{past:{fill:"#CCCCCC","font-size":12},current:{fill:"yellow","font-color":"red","font-weight":"bold"},future:{fill:"#FFFF99"},request:{fill:"blue"},invalid:{fill:"#444444"},approved:{fill:"#58C4A3","font-size":12,"yes-text":"APPROVED","no-text":"n/a"},rejected:{fill:"#C45879","font-size":12,"yes-text":"n/a","no-text":"REJECTED"}}})};return{init:function(){e(),t()}}}();jQuery(document).ready(function(){ChartsFlowchart.init()});