/*!
 * SyntaxHighlighter
 * http://alexgorbatchev.com/SyntaxHighlighter
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
 *
 * @version
 * 3.0.83 (July 02 2010)
 *
 * @copyright
 * Copyright (C) 2004-2010 Alex Gorbatchev.
 *
 * @license
 * Dual licensed under the MIT and GPL licenses.
 */
;
var SyntaxHighlighter=function(){var e={defaults:{'tab-size':4},config:{bloggerMode:!0,tinyMCE:!0,tagName:'pre',},brushes:{},regexLib:{multiLineCComments:/\/\*[\s\S]*?\*\//gm,singleLineCComments:/\/\/.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,xmlComments:/(&lt;|<)!--[\s\S]*?--(&gt;|>)/gm,phpScriptTags:{left:/(&lt;|<)\?=?/g,right:/\?(&gt;|>)/g},},findElements:function(t){var n=t?[t]:s(document.getElementsByTagName(e.config.tagName)),a=[];
for(var r=0;r<n.length;r++){if(n[r].className.indexOf('brush:')==-1)continue;
var l={target:n[r],params:i(e.defaults,[])};
a.push(l)};
return a},fnSelect:function(e){var t;
if(document.selection){document.selection.empty();
t=document.body.createTextRange();
t.moveToElementText(e);
t.select()}
else if(window.getSelection){window.getSelection().removeAllRanges();
t=document.createRange();
t.selectNode(e);
window.getSelection().addRange(t)}},highlight:function(t){var a=this.findElements(t),i=null;
if(a.length===0)return;
for(var n=0;n<a.length;n++){var t=a[n],r=t.target,c=t.params,s;
if(r.className.indexOf('brush: cbub')!=-1)s='cbub';
else if(r.className.indexOf('brush: c')!=-1)s='c';
else if(r.className.indexOf('brush: bf')!=-1)s='bf';
else if(r.className.indexOf('brush: xml')!=-1)s='xml';
else if(r.className.indexOf('brush: js')!=-1)s='js';
else if(r.className.indexOf('brush: php')!=-1)s='php';
else{continue};
var l=e.brushes[s];
if(!l){alert('Can\'t find brush for: '+c['brush']);
return};
i=new l();
i.params=c;
i.params['brush']=s;
var o=i.getHtml(r.innerHTML);
r.innerHTML=o;
r.className=r.className.replace('brush:','syntaxhighlighter');
r.className=r.className.replace('cbub','c');
if(r.ondblclick==null){(function(t){t.ondblclick=function(r){e.fnSelect(t)}})(r)}}},};
e['all']=e.all;
e['highlight']=e.highlight;
function s(e){var r=[];
for(var t=0;t<e.length;t++)r.push(e[t]);
return r};
function r(e){return e.split('\n')};
function f(e,t,r){r=Math.max(r||0,0);
for(var s=r;s<e.length;s++)if(e[s]==t)return s;
return-1};
function i(e,t){var s={},r;
for(r in e)s[r]=e[r];
for(r in t)s[r]=t[r];
return s};
function n(e){var t={'true':!0,'false':!1}[e];
return t==null?e:t};
function a(e,t){var i=r(e);
for(var s=0;s<i.length;s++)i[s]=t(i[s],s);
return i.join('\n')};
function t(e,t){if(e==null||e.length==0||e=='\n')return e;
e=e.replace(/</g,'&lt;');
if(t!=null)e=a(e,function(e){if(e.length==0)return'';
var r='';
e=e.replace(/^(&nbsp;| )+/,function(e){r=e;
return''});
if(t=='cbub singlecomment'){t='cbub bubble';
e=e.replace(/(\/\/ ?)(.+)/,'<span class="hidden">/* </span>$2<span class="hidden"> */</span>')};
if(e.length==0)return r;
return r+'<span class="'+t+'">'+e+'</span>'});
return e};
function l(e,t){var s='';
for(var r=0;r<t;r++)s+=' ';
return e.replace(/\t/g,s)};
function c(t){var r=/<br\s*\/?>/gi,s=/&nbsp;/gi;
if(e.config.bloggerMode==!0){t=t.replace(r,'\n')};
if(e.config.tinyMCE==!0){t=t.replace(s,' ')};
return t};
function o(e,t){if(e.index<t.index)return-1;
else if(e.index>t.index)return 1;
else{if(e.length<t.length)return-1;
else if(e.length>t.length)return 1};
return 0};
function g(t,r){function l(e,t){return e[0]};
var c=0,i=null,n=[],a=r.func?r.func:l;
while((i=r.regex.exec(t))!=null){var s=a(i,r);
if(typeof(s)=='string')s=[new e.Match(s,i.index,r.css)];
n=n.concat(s)};
return n};
e.Match=function(e,t,r){this.value=e;
this.index=t;
this.length=e.length;
this.css=r;
this.brushName=null};
e.Match.prototype.toString=function(){return this.value};
e.Highlighter=function(){};
e.Highlighter.prototype={getParam:function(e,t){var r=this.params[e];
return n(r==null?t:r)},findMatches:function(e,t){var s=[];
if(e!=null)for(var r=0;r<e.length;r++)if(typeof(e[r])=='object')s=s.concat(g(t,e[r]));
return this.removeNestedMatches(s.sort(o))},removeNestedMatches:function(e){for(var t=0;t<e.length;t++){if(e[t]===null)continue;
var s=e[t],n=s.index+s.length;
for(var i=t+1;i<e.length&&e[t]!==null;i++){var r=e[i];
if(r===null)continue;
else if(r.index>n)break;
else if(r.index==s.index&&r.length>s.length)e[t]=null;
else if(r.index>=s.index&&r.index<n)e[i]=null}};
return e},getLineHtml:function(e,t){return t+'<br>'},getCodeLinesHtml:function(e){var t=r(e),e='';
if(t[t.length-1]==='')t.pop();
for(var s=0;s<t.length;s++){var i=t[s],n=1+s;
if(i.length==0)i=' ';
e+=this.getLineHtml(n,i)};
return e},getMatchesHtml:function(e,r){var i=0,l='',c=this.getParam('brush','');
function o(e){var t=e?(e.brushName||c):c;
return t?t+' ':''};
for(var a=0;a<r.length;a++){var s=r[a],n;
if(s===null||s.length===0)continue;
n=o(s);
l+=t(e.substr(i,s.index-i),n+'plain')+t(s.value,n+s.css);
i=s.index+s.length+(s.offset||0)};
l+=t(e.substr(i),o()+'plain');
return l},getHtml:function(e){if(e===null)e='';
e=e.replace(/\r/g,' ');
var s=this.getParam('tab-size');
e=l(e,s);
e=c(e);
var r=this.findMatches(this.regexList,e),t=this.getMatchesHtml(e,r);
t=this.getCodeLinesHtml(t);
return t},getKeywords:function(e){e=e.replace(/^\s+|\s+$/g,'').replace(/\s+/g,'|');
return'\\b(?:'+e+')\\b'},};
return e}();(function(){function e(){this.regexList=[{regex:/([-+,.\[\]<> ]|&[lg]t;)+/gm,css:'keyword'},]};
e.prototype=new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes['bf']=e})();(function(){function e(){var e='break case catch continue default delete do else false  for function if in instanceof new null return super switch this throw true try typeof var while with';
this.regexList=[{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:'comment'},{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:'comment'},{regex:/\s*#.*/gm,css:'preprocessor'},{regex:new RegExp(this.getKeywords(e),'gm'),css:'keyword'},{regex:/\b\d*\.\d+(e-?\d+)?/gm,css:'number'},]};
e.prototype=new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes['js']=e})();(function(){function e(){this.regexList=[{regex:SyntaxHighlighter.regexLib.xmlComments,css:'comment'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:/(&lt;|<)\/?\w*/gm,css:'keyword'},{regex:/\/?\s*(&gt;|>)/gm,css:'keyword'},]};
e.prototype=new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes['xml']=e})();(function(){function e(){var e='char bool short int signed unsigned long float double bool __int32 __int64 __int8 __int16 clock_t size_t time_t ptrdiff_t fpos_t FILE _complex jmp_buf va_list wchar_t wctrans_t wctype_t wint_t',t='RAND_MAX EOF NULL',r='auto break case catch class const constexpr const_cast continue private public protected override final default delete decltype do dynamic_cast else enum explicit extern if for friend goto inline mutable namespace new noinline noreturn nothrow noexcept nullptr operator register reinterpret_cast restrict return sizeof static static_cast struct switch template this thread throw true false try typedef typeid typename union using virtual void volatile while',s='assert isalnum isalpha iscntrl isdigit isgraph islower isprintispunct isspace isupper isxdigit tolower toupper errno localeconv setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf longjmp setjmp raise signal va_arg va_end va_start clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell fwrite getc getchar gets perror printf putc putchar puts remove rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs mbtowc qsort rand realloc srand strtod strtol strtoul system wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr strcmp strcoll strcpy strcspn strerror strlen strncat strncmp strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime clock ctime difftime gmtime localtime mktime strftime time';
this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:'singlecomment'},{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:'comment'},{regex:/R"\(.*\)"/g,css:'string'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:/^ *#.*/gm,css:'preprocessor'},{regex:new RegExp(this.getKeywords(e),'gm'),css:'color1'},{regex:new RegExp(this.getKeywords(t),'gm'),css:'color2'},{regex:new RegExp(this.getKeywords(s),'gm'),css:'function'},{regex:new RegExp(this.getKeywords(r),'gm'),css:'keyword'},{regex:/\b(\d+(\.\d*)?|\.\d+)([eE][-+]?\d+)?[fFlLuU]?(_\w+)?\b/gm,css:'number'},{regex:/\b0[xX][0-9a-fA-F]+\b/gm,css:'number'},]};
e.prototype=new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes['c']=e;
SyntaxHighlighter.brushes['cbub']=e})();(function(){function e(){var e='abs acos acosh addcslashes addslashes array_change_key_case array_chunk array_combine array_count_values array_diff array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill array_filter array_flip array_intersect array_intersect_assoc array_intersect_key array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map array_merge array_merge_recursive array_multisort array_pad array_pop array_product array_push array_rand array_reduce array_reverse array_search array_shift array_slice array_splice array_sum array_udiff array_udiff_assoc array_udiff_uassoc array_uintersect array_uintersect_assoc array_uintersect_uassoc array_unique array_unshift array_values array_walk array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists closedir closelog copy cos cosh count count_chars date decbin dechex decoct deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime strtoupper strtr strval substr substr_compare',t='abstract and array as break case catch cfunction class clone const continue declare default die do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final for foreach function include include_once global goto if implements interface instanceof namespace new old_function or private protected public return require require_once static switch throw try use var while xor ',r='__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:'singlecomment'},{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:'comment'},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:'string'},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:'string'},{regex:/\$\w+/g,css:'variable'},{regex:new RegExp(this.getKeywords(e),'gmi'),css:'function'},{regex:new RegExp(this.getKeywords(r),'gmi'),css:'constant'},{regex:new RegExp(this.getKeywords(t),'gm'),css:'keyword'},]};
e.prototype=new SyntaxHighlighter.Highlighter();
SyntaxHighlighter.brushes['php']=e})();
$(function(){if(typeof(SyntaxHighlighter)!='undefined')SyntaxHighlighter.highlight()});