eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 V=14;8 K=0;8 G=[];8 15=[[2h,24,20],[1R,1I,1F],[1A,2t,4]];8 11=[[29,23,22,1Z,1X,1Q],[1L,1H,1G,1E,1C,1z]];h $g(i){t o.2g(i)}h 2c(){8 N=I(\'1q\'),E=I(\'21\'),x;5((x=$g(\'H\'))){x.k=N}5((x=$g(\'1T\'))){x.k=E}}h 1P(){8 P=I(\'1K\'),d=o,1g=d.A.u;v(8 i=0;i<1g;i++){5(d.A[i].1a){d.A[i].1a.k=P}}}h I(a){8 b,z,w=0,y=0,F;b=\' \'+o.17+\';\';8 c=b.u;2q(w<c){y=b.Z(\';\',w);z=b.10(w+1,y);F=z.Z(\'=\');5(z.10(0,F)==a){t 2i(z.10(F+1,y-w-1))}w=y+1}t\'\'}h 1s(a,b){8 c=12 2f();c.2d(c.2b()+2a*7);o.17=a+\'=\'+1w(b)+\'; 26=\'+c.25()}h c(){8 a,j,J,Y;1p{5(!$g(\'1n\')){t R}a=$g(\'1n\').k;5(!a&&!$g(\'Q\').k){X(W[0]);t 14}5(a){J=0;Y=1m.u;v(j=0;j<Y;j++){5(a.1Y(a.u-3,3).1W()==1m[j]){J=1;1U}}5(!J){X(W[1]);t 14}}D(\'Q\');D(\'H\');D(\'1S\');5(1k.1O){o.A[0].1N.k=a}o.A[0].1M.1J=R}18(e){}5($g(\'H\').k){1s(\'1q\',$g(\'H\').k)}}h 1b(){5(!o.1f){t}8 a,U=o.1f(\'a\');8 b=U.u;v(8 i=0;i<b;i++){a=U[i];5(a.T(\'1e\')){5(a.T(\'1d\')==\'1i\'){a.1c=\'1i\'}5(a.T(\'1d\')==\'1h\'){a.1c=\'1h\'}}}}h 1D(){$g("1j").m=\'\';$g("19").m=\'\';$g("B").m=\'C\';$g("C").m=\'B\'}h 1B(){$g("1j").m=\'1V\';$g("19").m=\'B\';$g("B").m=\'B\';$g("C").m=\'C\'}h 1l(a){1p{$g(\'Q\').1y()}18(e){}$g(\'Q\').k+=\'>>1x.\'+a+"\\r\\n"}h S(a,b){8 c=$g(\'r\'+a);5(c){5(b){c.m=c.m.16(\' 1o\',\'\')}2s{5(K){S(K,R)}K=a;c.m+=\' 1o\'}}}h D(a){8 b=$g(a);8 c=1w(b.k).2r();8 d=/%2p(6[2n]|7[0-1v-f]|2l)[0-1v-f]/;5(c.13(d)!==2j){X(W[2]);1r(b)}}h 1r(a){8 b=a.k,i=0,p=0;8 c=15.u,s;v(i=0;i<c;i++){s=15[i];v(p=0;p<=s[2];p++){b=b.16(12 M(O.L(s[0]+p),\'g\'),O.L(s[1]+p))}}c=11[0].2e;v(i=0;i<c;i++){s=11;b=b.16(12 M(O.L(s[0][i]),\'g\'),O.L(s[1][i]))}a.k=b}h 2k(a){5(1u a==\'h\'){G.2m(a)}}h 1t(){5(V){t}8 i,l=G.u,f;V=R;1b();v(i=0;i<l;i++){f=G[i];5(1u f==\'h\'){f()}}8 a=2o.1e;5(a.Z(\'?28=\')){5(a.13(/#[27]([0-9]+)$/)){S(M.$1)}5(a.13(/#q([0-9]+)$/)){1l(M.$1)}}}1k.2u=1t;',62,155,'|||||if|||var|||||||||function|||value||className||document||||Tbl|return|length|for|xx1|obj|xx2|tmp2|forms|hide|show|check_sakura||xx3|arrPresetFunc|fname|getCookie|ext_allowed|previous_replyhlno|fromCharCode|RegExp||String||fcom|true|replyhl|getAttribute|anchors|preset_sensor|msgs|alert|ext_length|indexOf|substring|arrSakuraTblsp|new|match|false|arrSakuraTbl|replace|cookie|catch|postform_tbl|pwd|fixalllinks|target|rel|href|getElementsByTagName|forms_length|_blank|_top|postform|window|quote|ext|fupfile|replyhl|try|namec|replace_sakura|setCookie|preset|typeof|9a|escape|No|focus|14446|63486|hideform|12445|showform|12542|85|12541|12540|12449|disabled|pwdc|12293|sendbtn|upfile_path|clipboardData|l2|63213|63306|fsub|femail|break|hide_btn|toUpperCase|63212|substr|63211|82|emailc|63210|63219|12353|toGMTString|expires|rq|res|63216|86400000|getTime|l1|setTime|legnth|Date|getElementById|63223|unescape|null|hookPresetFunction|80|push|ef|location|uf|while|toLowerCase|else|12535|onload'.split('|'),0,{}))
-/* Pixmicat! functions ^ */
+/* Pixmicat! r4 functions ^ */
+
+var previous_replyhlno=0,arrPresetFunc=[],arrSakuraTbl=[[63223,12353,82],[63306,12449,85],[63486,12535,4]],arrSakuraTblsp=[[63216,63219,63210,63211,63212,63213],[12293,12540,12541,12542,12445,14446]];function $g(a){return document.getElementById(a)}function getCookie(a){var d,b,e=0,g=0,f;d=" "+document.cookie+";";for(var h=d.length;e<h;){g=d.indexOf(";",e);b=d.substring(e+1,g);f=b.indexOf("=");if(b.substring(0,f)===a)return window.unescape(b.substring(f+1,g-e-1));e=g+1}return""}
+function setCookie(a,d){var b=new Date;b.setTime(b.getTime()+6048E5);document.cookie=a+"="+window.escape(d)+"; expires="+b.toGMTString()}
+function replace_sakura(a){var d=a.value,b=0,e=0,g=arrSakuraTbl.length,f;for(b=0;b<g;b++){f=arrSakuraTbl[b];for(e=0;e<=f[2];e++)d=d.replace(new RegExp(String.fromCharCode(f[0]+e),"g"),String.fromCharCode(f[1]+e))}g=arrSakuraTblsp[0].legnth;for(b=0;b<g;b++){f=arrSakuraTblsp;d=d.replace(new RegExp(String.fromCharCode(f[0][b]),"g"),String.fromCharCode(f[1][b]))}a.value=d}
+function check_sakura(a){a=$g(a);if(window.escape(a.value).toLowerCase().match(/%uf(6[ef]|7[0-9a-f]|80)[0-9a-f]/)!==null){alert(msgs[2]);replace_sakura(a)}}function l1(){var a=getCookie("namec"),d=getCookie("emailc"),b;if(b=$g("fname"))b.value=a;if(b=$g("femail"))b.value=d}function l2(){for(var a=getCookie("pwdc"),d=document,b=d.forms.length,e=0;e<b;e++)if(d.forms[e].pwd)d.forms[e].pwd.value=a}
+function c(){var a,d,b,e;try{if(!$g("fupfile"))return true;a=$g("fupfile").value;if(!a&&!$g("fcom").value){alert(msgs[0]);return false}if(a){b=0;e=ext.length;for(d=0;d<e;d++)if(a.substr(a.length-3,3).toUpperCase()===ext[d]){b=1;break}if(!b){alert(msgs[1]);return false}}check_sakura("fcom");check_sakura("fname");check_sakura("fsub");if(window.clipboardData)document.forms[0].upfile_path.value=a;document.forms[0].sendbtn.disabled=true}catch(g){}$g("fname").value&&setCookie("namec",$g("fname").value)}
+function fixalllinks(){if(document.getElementsByTagName)for(var a,d=document.getElementsByTagName("a"),b=d.length,e=0;e<b;e++){a=d[e];if(a.getAttribute("href")){if(a.getAttribute("rel")==="_top")a.target="_top";if(a.getAttribute("rel")==="_blank")a.target="_blank"}}}function showform(){$g("postform").className="";$g("postform_tbl").className="";$g("hide").className="show";$g("show").className="hide"}
+//----function hideform(){$g("postform").className="hide_btn";$g("postform_tbl").className="hide";$g("hide").className="hide";$g("show").className="show"}function quote(a){try{$g("fcom").focus();$g("fcom").value+=">>No."+a+"\r\n"}catch(d){}}function replyhl(a,d){var b=$g("r"+a);if(b)if(d)b.className=b.className.replace(" reply_hl","");else{previous_replyhlno&&replyhl(previous_replyhlno,true);previous_replyhlno=a;b.className+=" reply_hl"}}
+function hideform(){$g("postform").className="hide_btn postblock";$g("postform_tbl").className="hide";$g("hide").className="hide";$g("show").className="show"}function quote(a){try{$g("fcom").focus();$g("fcom").value+=">>No."+a+"\r\n"}catch(d){}}function replyhl(a,d){var b=$g("r"+a);if(b)if(d)b.className=b.className.replace(" reply_hl","");else{previous_replyhlno&&replyhl(previous_replyhlno,true);previous_replyhlno=a;b.className+=" reply_hl"}}
+function hookPresetFunction(a){typeof a==="function"&&arrPresetFunc.push(a)}function preset(){var a,d=arrPresetFunc.length,b;fixalllinks();for(a=0;a<d;a++){b=arrPresetFunc[a];typeof b==="function"&&b()}a=location.href;if(a.indexOf("?res=")){a.match(/#[rq]([0-9]+)$/)&&replyhl(RegExp.$1,false);a.match(/#q([0-9]+)$/)&"e(RegExp.$1)}};
+
+/* Pixmicat! r5 functions ^ */
/* Futaba / Wakaba / Yotsubanome Functions */
-/*\r
-// Hide postform in thread index\r
-set_cookie ('toggle_upform', 0, 365);\r
-\r
-// Hide Staff password field\r
-set_cookie ('toggle_spform', 0, 365);\r
-*/\r
-function toggle (button, area)\r
-{\r
- if (get_cookie ('toggle_' + area) == 1)\r
- { set_cookie ('toggle_' + area, 0, 365); }\r
- else\r
- { set_cookie ('toggle_' + area, 1, 365); }\r
-\r
- showstate (button, area);\r
-\r
- return;\r
-}\r
-\r
-//function showstate (button, area)\r
-function showstate (button)\r
-{\r
- var tag = document.getElementById (button);\r
-// var tags = document.getElementsByName ('toggle');\r
-\r
-// for (go = 0; go < tags.length; go ++)\r
-// {\r
-// var tag = tags[go];\r
-\r
- if (!tag) { return; }\r
- if (!tag.getAttribute ('rel') ) { return; }\r
-\r
- var rel = tag.getAttribute ('rel').split (',');\r
-\r
- var relc = rel.length;\r
- var area = rel[0];\r
-\r
- if (relc > 1)\r
- {\r
- var show = rel[1];\r
- var hide = rel[2];\r
- }\r
-\r
- tag.onclick = function () { toggle (button, area); }\r
-\r
- var tog = document.getElementById (area);\r
-\r
- if (get_cookie ('toggle_' + area) == 1)\r
- {\r
- tog.style.display = '';\r
- if (relc > 1) { tag.innerHTML = hide; }\r
- }\r
- else\r
- {\r
- tog.style.display = 'none';\r
- if (relc > 1) { tag.innerHTML = show; }\r
- }\r
-// }\r
-\r
- return;\r
-}\r
-\r
-\r
-function replace_all (str, from, to)\r
-{\r
- var idx = str.indexOf (from);\r
-\r
- while (idx > -1 )\r
- {\r
- str = str.replace (from, to);\r
- idx = str.indexOf (from);\r
- }\r
- return str;\r
-}\r
-\r
-function highlight (post)\r
-{\r
- var cello = document.getElementsByTagName ('blockquote');\r
- var cells = document.getElementsByTagName ('td');\r
- var reply = document.getElementById ('post' + post);\r
-\r
- for (var i = 0; i < cello.length; i ++)\r
- {\r
- if (cello[i].className == 'replyhl')\r
- { cello[i].className = 'threadpost'; }\r
- }\r
-\r
- for (var i = 0; i < cells.length; i ++)\r
- {\r
- if (cells[i].className == 'replyhl')\r
- { cells[i].className = 'reply'; }\r
- }\r
-\r
- if (reply)\r
- {\r
- reply.className = 'replyhl';\r
- var match = /^([^#r]*)/.exec (document.location.toString () );\r
- document.location = match[1] + '#r' + post;\r
- }\r
-}\r
-\r
-function size_textarea (id, rows) { document.getElementById(id).com.setAttribute('rows', rows); }\r
-\r
-function get_password (name)\r
-{\r
- var pass = get_cookie (name);\r
- if (pass) { return pass; }\r
-\r
- var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';\r
- var pass = '';\r
-\r
- for (var i = 0; i < 8; i ++)\r
- {\r
- var rnd = Math.floor (Math.random () * chars.length);\r
- pass += chars.substring (rnd, rnd + 1);\r
- }\r
-\r
- return (pass);\r
-}\r
-\r
-function get_cookie (name)\r
-{\r
- with (document.cookie)\r
- {\r
- var reg = new RegExp ('(^|;\\s+)' + name + '=(.*?)(;|$)');\r
- var hit = reg.exec (document.cookie);\r
-\r
- if (hit && hit.length > 2)\r
- { return unescape (replace_all (hit[2], '+', '%20') ); }\r
- else return '';\r
- }\r
-}\r
-\r
-function set_cookie (name, value, days)\r
-{\r
- if (days)\r
- {\r
- var date = new Date ();\r
- date.setTime (date.getTime () + (days * 24 * 60 * 60 * 1000) );\r
- var expires = '; expires=' + date.toGMTString ();\r
- }\r
- else expires = '';\r
-\r
- document.cookie = name + '=' + value + expires + '; path=/';\r
-}\r
-\r
-function set_stylesheet (styletitle, norefresh)\r
-{\r
- set_cookie ('yo_style', styletitle, 365);\r
-\r
- var links = document.getElementsByTagName ('link');\r
- var found = false;\r
-\r
- for (var i = 0; i < links.length; i ++)\r
- {\r
- var rel = links[i].getAttribute ('rel');\r
- var ttl = links[i].getAttribute ('title');\r
-\r
- if (rel.indexOf ('style') != -1 && ttl)\r
- {\r
- links[i].disabled = true; // IE needs this to work. IE needs to die.\r
-\r
- if (styletitle == ttl)\r
- {\r
- links[i].disabled = false;\r
- found = true;\r
- }\r
- }\r
- }\r
-\r
- if (!found) set_preferred_stylesheet ();\r
-}\r
-\r
-function set_preferred_stylesheet ()\r
-{\r
- var links = document.getElementsByTagName ('link');\r
-\r
- for (var i = 0; i < links.length; i ++)\r
- {\r
- var rel = links[i].getAttribute ('rel');\r
- var ttl = links[i].getAttribute ('title');\r
-\r
- if (rel.indexOf ('style') != -1 && ttl)\r
- { links[i].disabled = (rel.indexOf ('alt') != -1); }\r
- }\r
-}\r
-\r
-function get_active_stylesheet ()\r
-{\r
- var links = document.getElementsByTagName ('link');\r
-\r
- for (var i = 0; i < links.length; i ++)\r
- {\r
- var rel = links[i].getAttribute ('rel');\r
- var ttl = links[i].getAttribute ('title');\r
-\r
- if (rel.indexOf ('style') != -1 && ttl && !links[i].disabled)\r
- { return ttl; }\r
- }\r
- return null;\r
-}\r
-\r
-function get_preferred_stylesheet ()\r
-{\r
- var links = document.getElementsByTagName ('link');\r
-\r
- for (var i=0;i<links.length;i++)\r
- {\r
- var rel = links[i].getAttribute ('rel');\r
- var ttl = links[i].getAttribute ('title');\r
-\r
- if (rel.indexOf ('style') != -1 && rel.indexOf ('alt') == -1 && ttl)\r
- { return ttl; }\r
- }\r
- return null;\r
-}\r
-\r
-\r
-// Fill postform / delform fields\r
-function set_inputs (id)\r
-{\r
- if (document.getElementById (id) )\r
- {\r
- with (document.getElementById (id) )\r
- {\r
- if (document.getElementById ('name') && !name.value)\r
- { name.value = get_cookie ('namec'); }\r
- if (document.getElementById ('email') && !email.value)\r
- { link.value = get_cookie ('emailc'); }\r
- if (document.getElementById ('pwd') && !pwd.value)\r
- { pwd.value = get_password ('pwdc'); }\r
- if (document.getElementById ('noko') && get_cookie ('yo_noko') == 1)\r
- { noko.options[1].selected = true; }\r
- }\r
- }\r
-}\r
-\r
-function set_delpass (id)\r
-{\r
- if (document.getElementById (id) )\r
- {\r
- with (document.getElementById (id) )\r
- {\r
- if (document.getElementById ('pwd') )\r
- { pwd.value = get_cookie ('pwdc'); }\r
- }\r
- }\r
-}\r
-\r
-\r
-window.onunload = function (e)\r
-{\r
- if (style_cookie)\r
- {\r
- var title = get_active_stylesheet ();\r
- set_cookie (style_cookie, title, 365);\r
- }\r
-}\r
-\r
-window.onload = function (e)\r
-{\r
- var match;\r
-\r
- if (match = /#q([0-9]+)/.exec (document.location.toString () ) )\r
- if (!document.forms.postform.com.value)\r
- quote (match[1]);\r
-\r
- if (match = /#r([0-9]+)/.exec (document.location.toString () ) )\r
- highlight (match[1]);\r
-\r
- set_inputs ('postform');\r
- set_delpass ('delform');\r
-}\r
-\r
-\r
-if (style_cookie)\r
-{\r
- var cookie = get_cookie (style_cookie);\r
- var title = cookie ? cookie : get_preferred_stylesheet ();\r
- set_stylesheet (title);\r
-}\r
-\r
-function reppop(url) {\r
-day = new Date();\r
-id = day.getTime();\r
-window.open(url, id, 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=512,height=128');\r
-return false; \r
-}
\ No newline at end of file
+/*
+// Hide postform in thread index
+set_cookie ('toggle_upform', 0, 365);
+
+// Hide Staff password field
+set_cookie ('toggle_spform', 0, 365);
+*/
+function toggle (button, area)
+{
+ if (get_cookie ('toggle_' + area) == 1)
+ { set_cookie ('toggle_' + area, 0, 365); }
+ else
+ { set_cookie ('toggle_' + area, 1, 365); }
+
+ showstate (button, area);
+
+ return;
+}
+
+//function showstate (button, area)
+function showstate (button)
+{
+ var tag = document.getElementById (button);
+// var tags = document.getElementsByName ('toggle');
+
+// for (go = 0; go < tags.length; go ++)
+// {
+// var tag = tags[go];
+
+ if (!tag) { return; }
+ if (!tag.getAttribute ('rel') ) { return; }
+
+ var rel = tag.getAttribute ('rel').split (',');
+
+ var relc = rel.length;
+ var area = rel[0];
+
+ if (relc > 1)
+ {
+ var show = rel[1];
+ var hide = rel[2];
+ }
+
+ tag.onclick = function () { toggle (button, area); }
+
+ var tog = document.getElementById (area);
+
+ if (get_cookie ('toggle_' + area) == 1)
+ {
+ tog.style.display = '';
+ if (relc > 1) { tag.innerHTML = hide; }
+ }
+ else
+ {
+ tog.style.display = 'none';
+ if (relc > 1) { tag.innerHTML = show; }
+ }
+// }
+
+ return;
+}
+
+
+function replace_all (str, from, to)
+{
+ var idx = str.indexOf (from);
+
+ while (idx > -1 )
+ {
+ str = str.replace (from, to);
+ idx = str.indexOf (from);
+ }
+ return str;
+}
+
+function highlight (post)
+{
+ var cello = document.getElementsByTagName ('blockquote');
+ var cells = document.getElementsByTagName ('td');
+ var reply = document.getElementById ('post' + post);
+
+ for (var i = 0; i < cello.length; i ++)
+ {
+ if (cello[i].className == 'replyhl')
+ { cello[i].className = 'threadpost'; }
+ }
+
+ for (var i = 0; i < cells.length; i ++)
+ {
+ if (cells[i].className == 'replyhl')
+ { cells[i].className = 'reply'; }
+ }
+
+ if (reply)
+ {
+ reply.className = 'replyhl';
+ var match = /^([^#r]*)/.exec (document.location.toString () );
+ document.location = match[1] + '#r' + post;
+ }
+}
+
+function size_textarea (id, rows) { document.getElementById(id).com.setAttribute('rows', rows); }
+
+function get_password (name)
+{
+ var pass = get_cookie (name);
+ if (pass) { return pass; }
+
+ var chars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
+ var pass = '';
+
+ for (var i = 0; i < 8; i ++)
+ {
+ var rnd = Math.floor (Math.random () * chars.length);
+ pass += chars.substring (rnd, rnd + 1);
+ }
+
+ return (pass);
+}
+
+function get_cookie (name)
+{
+ with (document.cookie)
+ {
+ var reg = new RegExp ('(^|;\\s+)' + name + '=(.*?)(;|$)');
+ var hit = reg.exec (document.cookie);
+
+ if (hit && hit.length > 2)
+ { return unescape (replace_all (hit[2], '+', '%20') ); }
+ else return '';
+ }
+}
+
+function set_cookie (name, value, days)
+{
+ if (days)
+ {
+ var date = new Date ();
+ date.setTime (date.getTime () + (days * 24 * 60 * 60 * 1000) );
+ var expires = '; expires=' + date.toGMTString ();
+ }
+ else expires = '';
+
+ document.cookie = name + '=' + value + expires + '; path=/';
+}
+
+function set_stylesheet (styletitle, norefresh)
+{
+ set_cookie ('yo_style', styletitle, 365);
+
+ var links = document.getElementsByTagName ('link');
+ var found = false;
+
+ for (var i = 0; i < links.length; i ++)
+ {
+ var rel = links[i].getAttribute ('rel');
+ var ttl = links[i].getAttribute ('title');
+
+ if (rel.indexOf ('style') != -1 && ttl)
+ {
+ links[i].disabled = true; // IE needs this to work. IE needs to die.
+
+ if (styletitle == ttl)
+ {
+ links[i].disabled = false;
+ found = true;
+ }
+ }
+ }
+
+ if (!found) set_preferred_stylesheet ();
+}
+
+function set_preferred_stylesheet ()
+{
+ var links = document.getElementsByTagName ('link');
+
+ for (var i = 0; i < links.length; i ++)
+ {
+ var rel = links[i].getAttribute ('rel');
+ var ttl = links[i].getAttribute ('title');
+
+ if (rel.indexOf ('style') != -1 && ttl)
+ { links[i].disabled = (rel.indexOf ('alt') != -1); }
+ }
+}
+
+function get_active_stylesheet ()
+{
+ var links = document.getElementsByTagName ('link');
+
+ for (var i = 0; i < links.length; i ++)
+ {
+ var rel = links[i].getAttribute ('rel');
+ var ttl = links[i].getAttribute ('title');
+
+ if (rel.indexOf ('style') != -1 && ttl && !links[i].disabled)
+ { return ttl; }
+ }
+ return null;
+}
+
+function get_preferred_stylesheet ()
+{
+ var links = document.getElementsByTagName ('link');
+
+ for (var i=0;i<links.length;i++)
+ {
+ var rel = links[i].getAttribute ('rel');
+ var ttl = links[i].getAttribute ('title');
+
+ if (rel.indexOf ('style') != -1 && rel.indexOf ('alt') == -1 && ttl)
+ { return ttl; }
+ }
+ return null;
+}
+
+
+// Fill postform / delform fields
+function set_inputs (id)
+{
+ if (document.getElementById (id) )
+ {
+ with (document.getElementById (id) )
+ {
+ if (document.getElementById ('name') && !name.value)
+ { name.value = get_cookie ('namec'); }
+ if (document.getElementById ('email') && !email.value)
+ { link.value = get_cookie ('emailc'); }
+ if (document.getElementById ('pwd') && !pwd.value)
+ { pwd.value = get_password ('pwdc'); }
+ if (document.getElementById ('noko') && get_cookie ('yo_noko') == 1)
+ { noko.options[1].selected = true; }
+ }
+ }
+}
+
+function set_delpass (id)
+{
+ if (document.getElementById (id) )
+ {
+ with (document.getElementById (id) )
+ {
+ if (document.getElementById ('pwd') )
+ { pwd.value = get_cookie ('pwdc'); }
+ }
+ }
+}
+
+
+window.onunload = function (e)
+{
+ if (style_cookie)
+ {
+ var title = get_active_stylesheet ();
+ set_cookie (style_cookie, title, 365);
+ }
+}
+
+window.onload = function (e)
+{
+ var match;
+
+ if (match = /#q([0-9]+)/.exec (document.location.toString () ) )
+ if (!document.forms.postform.com.value)
+ quote (match[1]);
+
+ if (match = /#r([0-9]+)/.exec (document.location.toString () ) )
+ highlight (match[1]);
+
+ set_inputs ('postform');
+ set_delpass ('delform');
+}
+
+
+if (style_cookie)
+{
+ var cookie = get_cookie (style_cookie);
+ var title = cookie ? cookie : get_preferred_stylesheet ();
+ set_stylesheet (title);
+}
+
+function reppop(url) {
+day = new Date();
+id = day.getTime();
+window.open(url, id, 'toolbar=0,scrollbars=0,location=0,status=1,menubar=0,resizable=1,width=512,height=128');
+return false;
+}