DIR : /home/kozerus/public_html/ko/ko.js
/home/kozerus/public_html/ko
// /ko/ko.js 20230308_0200
// $('#msform').fadeOut(50);
// $('#msform').fadeIn(50);
// $(body).html($(body).html().replace('lollypops', 'marshmellows'));
function toggle(divid) {
// alert( "BUGS_37850 BEG divid="+divid );
var imgid=divid.replace("div_","img_" );
if(! document.getElementById(divid)) { return; }
var imgid=divid.replace("div_","img_" );
style_display=document.getElementById(divid).style.display;
// alert( "BUGS_37850 TOGGLE imgid="+imgid+" style_display="+style_display );
if( style_display == "none" ) {
img="<img src=/imgs/btn/koeyew.png id="+imgid+" height=50 onclick=\"toggle('"+divid+"'); return false;\" >";
// alert( "BUGS_37881 NONE img="+img );
document.getElementById(divid).style.display="inline";
document.getElementById(imgid).innerHTML=img;
document.getElementById(imgid).src="/imgs/btn/koeyew.png";
// $("#img_ajax_ko").html(img);
// $("#img_ajax_ko").attr("src","/imgs/btn/koeyew.png");
// htmimg=document.getElementById(imgid).innerHTML;
// alert( "BUGS_37884 NONE htmimg="+htmimg );
}
else {
img="<img src=/imgs/btn/koeyeb.png id="+imgid+" height=50 onclick=\"toggle('"+divid+"'); return false;\" >";
// alert( "BUGS_37891 INLINE img="+img );
document.getElementById(divid).style.display="none";
document.getElementById(imgid).innerHTML=img;
document.getElementById(imgid).src="/imgs/btn/koeyeb.png";
// $("#img_ajax_ko").html(img);
// $("#img_ajax_ko").attr("src","/imgs/btn/koeyeb.png");
// htmimg=document.getElementById(imgid).innerHTML;
// alert( "BUGS_37893 INLINE htmimg="+htmimg );
}
}
function toggles(div_ids,cmd) {
htmout=0; j=0; k=0; divid=""; divids="".split(" ");
alert( "BUGS_200 toggles div_ids="+div_ids+" cmd="+cmd );
var ids = "letter contacts items kojax files parse cfg main help wz konet iperms jtfdcr fb pdf pn tm tl zm file forms lists lists_letters lists_contacts lists_items lists_postturtles lists_monkeytraps lists_floods koslots views fb pdf pn tl zm mp3 mp4";
if( div_ids == "" ) {
for(j=0; j<ids.split(" ").length; j++ ) {
divids[j]="div_"+ids.split(" ")[j];
// alert( "BUGS_210 j="+j+" divid="+divid)
}
// alert( "BUGS_211 j="+j+" div_ids="+div_ids+" divids0="+divids[0] );
}
else {
divids=div_ids.split(" ")
// alert( "BUGS_212 j="+j+" div_ids="+div_ids+" divids0="+divids[0] );
}
// alert( "BUGS_220 toggles divids_length="+divids.length+" cmd="+cmd );
for( j=0; j<divids.length; j++ ) {
divid=divids[j];
imgid=divid.replace("div_","img_");
// alert( "BUGS_221 toggles j="+j+" divid="+divid+" cmd="+cmd+" imgid="+imgid );
if( ! document.getElementById(divid)) { continue; }
// alert( "BUGS_222 toggles j="+j+" FOUND divid="+divid+" cmd="+cmd+" imgid="+imgid );
if( cmd == "allon" ) {
// alert( "BUGS_230 toggles ALLON div_ids="+div_ids+" cmd="+cmd );
document.getElementById(divid).style.display="inline";
if (! document.getElementById(imgid)) { continue; }
document.getElementById(imgid).src="/imgs/btn/koeyew.png";
// if( document.getElementById('img_toggle_allon')) {
// document.getElementById('img_toggle_allon').style.display="inline";
// }
// if( document.getElementById('img_toggle_toggle')) {
// document.getElementById('img_toggle_toggle').style.display="inline";
// }
// if( document.getElementById('img_toggle_alloff')) {
// document.getElementById('img_toggle_alloff').style.display="inline";
// }
}
if(( cmd == "toggle" ) || ( cmd == "" )) {
display=document.getElementById(divid).style.display;
if( display == "none" ) {
document.getElementById(divid).style.display="inline";
if (document.getElementById(imgid)) {
document.getElementById(imgid).src="/imgs/btn/koeyew.png";
}
}
else {
document.getElementById(divid).style.display="none";
if (document.getElementById(imgid)) {
document.getElementById(imgid).src="/imgs/btn/koeyeb.png";
}
}
}
if( cmd == "alloff" ) {
document.getElementById(divid).style.display="none";
if (! document.getElementById(imgid)) { continue; }
document.getElementById(imgid).src="/imgs/btn/koeyeb.png";
// if( document.getElementById('img_toggle_allon')) {
// document.getElementById('img_toggle_allon').style.display="inline";
// }
// if( document.getElementById('img_toggle_toggle')) {
// document.getElementById('img_toggle_toggle').style.display="none";
// }
// if( document.getElementById('img_toggle_alloff')) {
// document.getElementById('img_toggle_alloff').style.display="none";
// }
}
}
return("");
}
var default_jaxurl = "main.html";
var jaxurl = default_jaxurl;
function kojaxs(jaxurl,divid,callback) {
if( divid == "" ) { divid="pre_kojax"; }
// alert( "BUGS_3000 jax jaxurl="+jaxurl+" divid="+divid+" callback="+callback );
$.ajax({
url: jaxurl,
context: document.body,
success: function(responseText) {
// alert( "BUGS_12661 jax len="+responseText.split("\n").length+" responseText="+responseText );
kolists['jax'] = responseText;
alert( "BUGS_12662 jax kolists_jax="+kolists['jax'] );
alert( "BUGS_12663 jax kolists_default="+kolists['default'] );
alert( "BUGS_12664 jax kolists_fb="+kolists['fb'] );
alert( "BUGS_12665 jax kolists_konet="+kolists['konet'] );
alert( "BUGS_12666 jax kolists_iperms="+kolists['iperms'] );
alert( "BUGS_12667 jax kolists_jtfdcr="+kolists['jtfdcr'] );
$("#div_jax").html(responseText);
$("#div_jax").find("script").each(function(i) {
eval($(this).text());
alert( "BUGS_12662 jax responseText="+responseText );
return( responseText );
});
}
});
};
var default_jaxurl = "kojax.html";
var jaxurl = default_jaxurl;
function kojax(jaxurl,divid,callback) {
if( divid == "" ) { divid="pre_kojax"; }
// alert( "BUGS_3030 kojax jaxurl="+jaxurl+" divid="+divid+" callback="+callback );
if(!filecheck(jaxurl)) {
alert( "BUGS_3001 kojax NOTFOUND jaxurl="+jaxurl );
return("NOTFOUND="+jaxurl );
}
var jaxbak = '-=jaxbak=-';
kolists['jax'] = '-=jax=-';
$.ajax({
url: jaxurl,
context: document.body,
success: function(responseText) {
// alert( "BUGS_19501 jax TXT URL="+jaxurl+" LEN="+responseText.split("\n").length+" responseText="+responseText );
// kolists['jax'] = responseText;
jaxbak = responseText;
// alert( "BUGS_19503 jax JAXBAK URL="+jaxurl+" LEN="+jaxbak.split("\n").length+" responseText="+jaxbak );
if( document.getElementById(divid)) {
document.getElementById(divid).innerHTML=responseText;
}
// $("#div_jax").html(responseText);
// $("#pre_kojax").html(responseText);
var scriptflag = "true";
if( scriptflag == "true" ) {
$("#div_jax").find("script").each(function(i) {
eval($(this).text());
});
}
if( callback == "dd" ) { dd(''); }
if( callback == "letter" ) { letter(''); }
if( callback == "contacts" ) { contacts(''); }
if( callback == "items" ) { items(''); }
}
});
return( jaxbak );
};
function geturlvars() {
var vars = {};
var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m,key,value) {
vars[key] = value;
});
return vars;
}
function geturlparam(parameter, defaultvalue){
var urlparameter = defaultvalue;
if(window.location.href.indexOf(parameter) > -1) {
urlparameter = getUrlVars()[parameter];
}
return urlparameter;
}
// var mytext = getUrlParam('text','Empty');
function filecheck(url) {
if(url) {
var req = new XMLHttpRequest();
req.open('GET', url, false);
req.send();
return req.status==200;
}
else {
return false;
}
}
function imgcheck(url) {
var img = new Image();
img.src = url;
return img.height != 0;
}
function linkcheck(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
http.send();
return http.status!=404;
}
function UrlExists(url) {
var http = new XMLHttpRequest();
http.open('HEAD', url, false);
http.send();
return http.status!=404;
}
function items(args) {
divid="div_items";
alert( "BUGS_1740 items args="+args );
htmout=""; j=0; k=0;
ht="/byrdbellvjk/imgs/";
divid="div_items";
// htmout += "<h1>BUGS_21 CONTACTS args="+args+"</h1>\n";
// alert(htmout);
// return(htmout);
// alert( "BUGS_710 ITEMS args="+args+"\n");
htmout=""; j=0; k=0; i=0;
htmout_wz="";
divid="div_item"+i;
imgid="img_item"+i;
src="/imgs/btn/koeye.png";
divids = new Array();
imgids = new Array();
divids[0]=divid;
imgids[0]=imgid;
// alert( "BUGS_720 items args="+args );
items=`
file|desc|
170.jpg|jtfdc_sawhorse_original
171.jpg|jtfinc_entrance
900_jtfdc_private_court_since_1979_viewin.jpg|jtfdc_viewin
900_jtfinc.jpg|
900_snap_20170123_187559_jtfdc_kids_cycle_laps|jtfdc_cycle_kids
900_snap_20170123_187576_jtf32_preservation_police_yellowsticker_frenzy
jtfdc_sawhorse_2020.jpg|jtfdc_sawhorse_2020
100_jtfdcr_2013_byrd_threat.jpg|jtfdcr_2013_byrd_threat
116.jpg|sign_private|jtfdc_sign_private_green
100.jpg|jtfdc_birdview|jtfdc_birdview
44.jpg|byrd_siegrist_dogs3.jpg|byrd_sieggrist_dogs3
66.jpg|jtf28-30-32_eagle_theft.jpg|jtf29_eagle_theft_jtf28-30-32
46.jpg|byrds_sawhorse_theft|jtf29_byrds_sawhorse_theft
32.jpg|jtfdcr_cover|jtfdcr_cover
31.jpg|who2jail
900_byrdbell_20200916.jpg|jkmed_eyes
900_emh_20160911_056.jpg|jkmed_heart
100_jtfdcr_byrd_seigrist_2dogs_trespass2|100_jtfdcr_byrd_seigrist_2dogs_trespass2
900_IMG_0577.jpg|jtf29_police_door_entry
900_IMG_0574.jpg|jtf29_doorchimes
229.jpg|trial3_brown_bench_probation_nocameras_notrespass
900_topos_20160505_031.jpg|police_jahns_card
`.split("\n");
// items=`
// name|phn|url|email|note|action
// greg luber|314-|https://501law.com|email|note|action|
// henry elster|314-|https://elsterlaw.com|email|note|action|
// dan diemer|314-863-8833|https://diemerlawfirm.com/|email|note|action|
// joe whitner|314-354-8484|https://rsblawfirm.com|email|note|action|
// todo|phn|url|email|note|action
// brown|314-|https://brown..com|email|note|action
// keuhlig|314-|https://keyhlig..com|email|note|action
// walters|314-|https://walters|email|note|action
// columbo|314-|https://columbo|email|note|action
// fail|phn|url|email|note|action
// mccloskey|314-721-4000|https://www.mccloskeylaw.com/|email|note|action|
// richard woolf|314-345-5030|https://bakersterchi.com|rwoolf@bakersterchi.com|email|note|action|
// keven dolley|314-293-4884|https://www.missouriemploymentlawattorney.com|email|note|action|
// richard sindel|314-721-6040|https://sindellaw.com|email|note|action|
// evelyn lewis|314-721-6040|https://evelynlewislawllc.com|email|note|action|
// `.split("\n");
// alert( "BUGS_431 items items="+items[0] );
// alert( "BUGS_432 items items="+items[1] );
// alert( "BUGS_433 items items="+items[2] );
// alert( "BUGS_775 items items.length="+items.length );
htmout = ""; j=0; k=0; i=0;
htmout += "<div id=div_items>\n";
htmout += "<h1>div_items</h1>\n";
htmout += " <table id=table_items>\n";
htmout += " <tr>";
htmout += " <td width=10>num</td>";
htmout += " <td width=200>id</td>";
htmout += " <td width=200>name</td>";
htmout += " <td width=300>url</td>";
htmout += " <td width=400>desc</td>";
// htmout += " <td>phn</td>";
// htmout += " <td>firm</td>";
// htmout += " <td>email</td>";
// htmout += " <td>action</td>";
htmout += " </tr>";
// alert( "BUGS_800 items args="+args );
for ( j=0; j<items.length; j++ ) {
name = items[j].split("|")[0];
// alert( "BUGS_801 name="+name+" j="+j );
if( name == undefined ) { continue; }
if( name == "undefined" ) { continue; }
if( name == "name" ) { continue; }
if( name == "" ) { continue; }
file = items[j].split("|")[0];
if( file == "file" ) { continue; }
if( file == "" ) { continue; }
htfile=ht+file;
desc = items[j].split("|")[1];
// phn = items[j].split("|")[1];
// firm = items[j].split("|")[2];
// email = items[j].split("|")[3];
// note = items[j].split("|")[5];
// action = items[j].split("|")[6];
url="";
url+="<a href="+htfile+" target=_blank>";
url+="<img name=img_item_"+j+" id=img_item_"+j+" src="+htfile+" height=100 width=80 border=0>";
url+="</a>";
htmout += " <tr>";
htmout += " <td>"+j+"</td>";
htmout += " <td>"+url+"</td>";
htmout += " <td><b>"+desc+"</b></td>";
htmout += " <td>"+file+"</td>";
htmout += " </tr>";
// alert( "BUGS_822 items j="+j+" name="+name+"\n" );
}
// alert( "BUGS_831 j="+j );
htmout += " </table id=table_items_end>\n";
htmout += " </div id=div_items_end>\n";
// alert( "BUGS_832 divid="+divid );
if( document.getElementById('div_items')) {
document.getElementById('div_items').innerHTML=htmout;
}
return(htmout);
}
function contacts(args) {
divid="div_contacts";
htmout=""; j=0; k=0; i=0;
alert( "BUGS_1880 contacts args="+args );
// htmout += "<h1>BUGS_21 CONTACTS args="+args+"</h1>\n";
// alert(htmout);
// return(htmout);
// items=`
// file|desc|
// 170.jpg|jtfdc_sawhorse_original
// 171.jpg|jtfinc_entrance
// 900_jtfdc_private_court_since_1979_viewin.jpg|jtfdc_viewin
// 900_jtfinc.jpg|
// 900_snap_20170123_187559_jtfdc_kids_cycle_laps|jtfdc_cycle_kids
// 900_snap_20170123_187576_jtf32_preservation_police_yellowsticker_frenzy
// jtfdc_sawhorse_2020.jpg|jtfdc_sawhorse_2020
// 100_jtfdcr_2013_byrd_threat.jpg|jtfdcr_2013_byrd_threat
// 116.jpg|sign_private|jtfdc_sign_private_green
// 100.jpg|jtfdc_birdview|jtfdc_birdview
// 44.jpg|byrd_siegrist_dogs3.jpg|byrd_sieggrist_dogs3
// 66.jpg|jtf28-30-32_eagle_theft.jpg|jtf29_eagle_theft_jtf28-30-32
// 46.jpg|byrds_sawhorse_theft|jtf29_byrds_sawhorse_theft
// 32.jpg|jtfdcr_cover|jtfdcr_cover
// 31.jpg|who2jail
// 900_byrdbell_20200916.jpg|jkmed_eyes
// 900_emh_20160911_056.jpg|jkmed_heart
// 100_jtfdcr_byrd_seigrist_2dogs_trespass2|100_jtfdcr_byrd_seigrist_2dogs_trespass2
// 900_IMG_0577.jpg|jtf29_police_door_entry
// 900_IMG_0574.jpg|jtf29_doorchimes
// 229.jpg|trial3_brown_bench_probation_nocameras_notrespass
// 900_topos_20160505_031.jpg|police_jahns_card
// `.split("\n");
contacts=`
id|name|phn|firm|url|email|note|action
jak3|jenna|314-123-456|konet|konet.org|admin@konet.org|note|action
huschblackwell|gregoroy r smith|314-480-1720|huschblack|huschblackwell.com|gregory.smith@huschblackwell.com|note|action
smithj|melvin j smith|314-726-2141|melvinjsmith|www.melvinjsmithlaw.com|@melvinjsmithlaw.com|note|action
smithr|rudman smith|phn|rudmansmith|www.rudmansmithlaw.com|@rudmansmithlaw.com|note|action
fleddermann|fleddermann|636-947-4343|fleddermann|www.fleddermannlawoffice.com|fleddermann@.fleddermannlawoffice.com|note|action
smithmeuler|smith meuler|314-266-6515|smithmeuller|smithmeuller.com|mgoodman@smithmeuller.com|note|action
goldenhersh|ben goldenhershlaw|314-707-7789|goldenhersh|http://goldenhershlaw.com|ben@goldenhershlaw.com|personal injury|action
<br>|<br>|phn|url|email|note|action
tc|thompson coburn|314-552-6000|thompsoncoburn|thompsoncoburn.com|email|note|action
archcity|archcitydefenders|855-724-2489|archcitydefenders|www.archcitydefenders.org|mail@archcitydefenters.org|savannah downs|action
bb|brown brown|314-333-333|brown|brownlawoffice.com|@brownlawoffice.com|note|action
bc|brown crouppen|314-501-9510|brownandcrouppen|https://www.brownandcrouppen.com/st-louis/|https://www.brownandcrouppen.com/st-louis/|note|action
<br>|
<br>|<br>|phn|url|email|note|action
<br>|<hr>|phn|url|email|note|action
keyhlig|alexander keuhlig|314-726-6868|rosenblumgoldenhersh|rosenblumgoldenhersh.com|@rosenblumgoldenhersh.com|note|20160826
walters|alan p walters|314-227-1943|url|email|note|action
donovan|joann c donovan|314-921-6600|donovan|lawdonovan.com|jdonovan@lawdonovan.com|note|action
cohena|alan cohen|314-|firm|url|email|retired|action
cohenn|nathan cohen|314-|firm|url|email|note|action
luber|greg luber|636-947-1122|501law|https://501law.com|email|debtlaw|action|
elster|henry elster|314-|elster|https://elsterlaw.com|email|note|action|
diemer|dan diemer|314-863-8833|diemer|https://diemerlawfirm.com/|email|note|action|
whitner|joe whitner|314-354-8484|https://rsblawfirm.com|email|note|action|
<br>|todo|phn|url|email|note|action||
mccloskey|mccloskey|314-721-4000|mccloskey|https://www.mccloskeylaw.com/|email|note|action|
woolf|richard woolf|314-345-5030|bakersterchi|https://bakersterchi.com|rwoolf@bakersterchi.com|email|note|action|
dolley|keven dolley|314-293-4884|dolley|https://www.missouriemploymentlawattorney.com|email|note|action|
sindel|richard sindel|314-721-6040|sindel|https://sindellaw.com|email|note|action|
id|evelyn lewis|314-721-6040|evelynlewis|https://evelynlewislawllc.com|email|note|action|
id|`.split("\n");
contacts1=`
name|phn|url|email|note|action
greg luber|314-|https://501law.com|email|note|action|
henry elster|314-|https://elsterlaw.com|email|note|action|
dan diemer|314-863-8833|https://diemerlawfirm.com/|email|note|action|
joe whitner|314-354-8484|https://rsblawfirm.com|email|note|action|
todo|phn|url|email|note|action
brown|314-|https://brown..com|email|note|action
keuhlig|314-|https://keyhlig..com|email|note|action
walters|314-|https://walters|email|note|action
columbo|314-|https://columbo|email|note|action
fail|phn|url|email|note|action
mccloskey|314-721-4000|https://www.mccloskeylaw.com/|email|note|action|
richard woolf|314-345-5030|https://bakersterchi.com|rwoolf@bakersterchi.com|email|note|action|
keven dolley|314-293-4884|https://www.missouriemploymentlawattorney.com|email|note|action|
richard sindel|314-721-6040|https://sindellaw.com|email|note|action|
evelyn lewis|314-721-6040|https://evelynlewislawllc.com|email|note|action|
`.split("\n");
// alert( "BUGS_200 contacts contacts0="+contacts[0] );
// alert( "BUGS_200 contacts contacts1="+contacts[1] );
// alert( "BUGS_200 contacts contacts2="+contacts[2] );
// alert( "BUGS_200 contacts contacts.length="+contacts.length );
htmout = ""; j=0; k=0; i=0;
htmout += "<div id=div_contacts>\n";
htmout += "<h1>div_contacts</h1>\n";
htmout += " <table id=table_contacts>\n";
htmout += " <tr>";
htmout += " <td>num</td>";
htmout += " <td>name</td>";
htmout += " <td>phn</td>";
htmout += " <td>url</td>";
htmout += " <td>url_letter</td>";
htmout += " <td>firm</td>";
htmout += " <td>email</td>";
htmout += " <td>note</td>";
htmout += " <td>action</td>";
htmout += " </tr>";
for ( j=0; j<contacts.length; j++ ) {
name = contacts[j].split("|")[0];
if( name == undefined ) { continue; }
if( name == "undefined" ) { continue; }
if( name == "name" ) { continue; }
if( name == "" ) { continue; }
id = contacts[j].split("|")[0];
phn = contacts[j].split("|")[1];
firm = contacts[j].split("|")[2];
site = contacts[j].split("|")[3];
email = contacts[j].split("|")[4];
date = contacts[j].split("|")[5];
note = contacts[j].split("|")[6];
action = contacts[j].split("|")[7];
url="";
url+="<a href="+site+" target=_blank>";
url+="<img src=/imgs/btn/kob.png height=20 border=0>";
url+="</a>";
url_letter="";
url_letter+="<img src=/imgs/btn/kow.png ";
// url_letter+=" onclick=\"letter('"+id+"'); return false;\" "
url_letter+=" onclick=\"letter('"+contacts[j]+"'); return false;\" "
url_letter+=" height=20 border=0>";
// alert( "BUGS_650 url="+url+" firm="+firm+"\n" );
htmout += " <tr>";
htmout += " <td>"+j+"</td>";
htmout += " <td><b>"+id+"</b></td>";
htmout += " <td><b>"+name+"</b></td>";
htmout += " <td><b>"+phn+"</b></td>";
htmout += " <td>"+firm+"</td>";
htmout += " <td>"+url+"</td>";
htmout += " <td>"+url_letter+"</td>";
htmout += " <td>"+email+"</td>";
htmout += " <td>"+note+"</td>";
htmout += " <td>"+action+"</td>";
htmout += " </tr>";
// alert( "BUGS_201 contacts j="+j+" name="+name+"phn= "+phn+"\n" );
}
htmout += " </table id=table_contacts_end>\n";
htmout += " </div id=div_contacts_end>\n";
if( document.getElementById(divid)) {
document.getElementById(divid).innerHTML=htmout;
}
return(htmout);
}
function letter(contact) {
// alert( "BUGS_2050 LETTER contact="+contact );
divid="div_letter";
htmout="";
default_contact="id|phn|name|firm|site|email|date|note|action";
if(contact == "" ) contact=default_contact;
// alert( "BUGS_930 contact="+contact );
id = contact.split("|")[0];
name = contact.split("|")[1];
phn = contact.split("|")[2];
firm = contact.split("|")[3];
site = contact.split("|")[4];
email = contact.split("|")[5];
date = contact.split("|")[6];
note = contact.split("|")[7];
action = contact.split("|")[8];
// alert( "BUS_950 id="+id+" name="+name+" phn="+phn );
contact_info="";
contact_info+="<div id=div_contacts_info>\n";
contact_info+="<hr color=goldenrod>\n";
contact_info+="<table id=table_contact_info1>\n";
contact_info+="<tr><td>id</td><td>="+id+"</td></tr>\n";
contact_info+="<tr><td>name</td><td>"+name+"</td></tr>\n";
contact_info+="<tr><td>phn</td><td>="+phn+"</td></tr>\n";
contact_info+="<tr><td>firm</td><td>="+firm+"</td></tr>\n";
contact_info+="<tr><td>site</td><td>"+site+"</td></tr>\n";
contact_info+="<tr><td>email</td><td>"+email+"</td></tr>\n";
contact_info+="<tr><td>date</td><td>"+date+"</td></tr>\n";
contact_info+="<tr><td>note</td><td>"+note+"</td></tr>\n";
contact_info+="<tr><td>action</td><td>"+action+"</td></tr>\n";
contact_info+=" </table id=table_contact_info_end>\n";
contact_info+="<br>\n";
contact_info+="<hr color=goldenrod>\n";
contact_info+=" </div id=div_contacts_info_end>\n";
// alert( "BUGS_2090 contact_info="+contact_info );
if ( document.getElementById('div_contact_info')) {
document.getElementById('div_contact_info').innerHTML=contact_info;
}
id=args
htmout += "<h1>BUGS_2091 LETTER id="+id;
// alert(htmout);
letter_body=`
we need time
- new grandaughter born 20230227 is in ICU with oxigen problems
- doctor requested medical tests for me
- internet cable problems too
can you reschedule/dismiss out Feb 9 summons court date?
ko2.us/law
- jtfdc_20190516_0880_policereport.pdf (summons and police report)
- jtfdc_20190516_1700_sk_protect.pdf (wifes order of protection from G. Byrd)
- videos of my police calls for help and the police tazor response
the case is about a 20190516 alleged "chestbump" assault against
Gary Byrd and a "door" assault against a "special person" (stlc police)
the allegation are unsupported by the actual
videos of my police calls for help, police tazor response and Mr Byrds pattern and practice
of threats, bullying and trespass over the last 10 years.
our situation is really all about a 10 year dispute over
big dogs, property and safety of small children
We have been targeted by
Ms Joan Donovan Family Law and her a handful of recruited client neighbors
attempts to force us from our home in a private 3 house court .
Ms Donovans legal strategy involving
false police reports, endless legal fees,
thier 9 freeroaming big dogs and redirected traffic thru our driveway,
has disrupted our lives and business for 10 year.
all documentation, summons, police report, sk order of protection from G. Byrd,
videos, maps, photos are available somewhere online at:
ko2.us/law
Due to the scope and volume of the documentation
the site is evolving into a general
knowledgebase/case managment system portal
that could eventually include aggregated local law news.
you are invited to explore and imagine the potential of this work in progress.
If you are unable to help us,
can you provide a referal for someone to simply
reschedule/dismiss the Feb 9 court date.
thank you again for your time and consideration
jsk
ko2.us/law
`;
htmout_pre ="";
htmout_pre += "<pre id=pre_letter>\n";
htmout_pre += "Dear "+id+":\n";
htmout_pre += letter_body;
htmout_pre += " </pre id=pre_letter_end>\n";
htmout="";
htmout += "Dear "+id+":\n";
htmout += letter_body;
// alert( "BUGS_750 LETTER id="+id+" htmout="+htmout );
// divid="div_letter";
// if( document.getElementById(divid)) {
// document.getElementById(divid).innerHTML=htmout;
// }
divid="pre_letter";
if( document.getElementById(divid)) {
document.getElementById(divid).innerHTML=htmout_pre;
}
return(htmout);
}
-
function links(args) {
htmout="";
// htmout += "<h1>BUGS_1170 links args="+args+"</h1>\n";
// alert(htmout);
return(htmout);
}
function k9(args) {
htmout=""; j=0; k=0;
alert( "BUGS_2110 k9 args="+args );
return(htmout);
}
function grid_toggle(args) {
// alert("BUGS_200 grid args="+args );
div_divid="div_grid";
if( document.getElementById('div_grid')) {
if( document.getElementById('div_grid').style.display == "inline" ) {
document.getElementById('div_grid').style.display="none";
if( document.getElementById('img_grid_toggle')) {
document.getElementById('img_grid_toggle').src="/imgs/btn/btn_keyhole1.png";
}
if( document.getElementById('img_grid_keys')) {
document.getElementById('img_grid_keys').src="/imgs/btn/btn_keys1.png";
}
}
else{
document.getElementById('div_grid').style.display="inline";
if( document.getElementById('img_grid_toggle')) {
document.getElementById('img_grid_toggle').src="/imgs/btn/btn_keyhole2heaven.png";
}
// if( document.getElementById('img_grid_keys')) {
// document.getElementById('img_grid_keys').src="/imgs/btn/btn_keys2.png";
// }
// return('');
}
}
return(args);
}
function grid(args) {
// alert("BUGS_200 grid args="+args );
// var ctx = document.getElementById('canvas_table_top').getContext('2d');
if( document.getElementById('img_grid_keys')) {
document.getElementById('img_grid_keys').src="/imgs/btn/btn_keys_string1.png";
}
if(args=="") {
}
tokens=args;
k9s=tokens;
j=0; k=0;
if( args == '' ) {
tokens = '';
tokens += '-';
for( k=1; k<11; k++ ) {
// token = random_int(9,0);
token = random_int(9,0);
token = random_int(99,00);
token = random_int(999,100);
token = random_int(9999,1000);
token = random_int(999999,100000);
token = random_int(99999999,10000000);
k9=token;
// alert("BUGS_9010 grid j="+j+" k="+k+" token="+token+" k9="+k9 );
k9=keine(token);
// alert("BUGS_9020 grid j="+j+" k="+k+" token="+token+" k9="+k9 );
token_str = token.toString();
tokens += token.toString(); tokens += '-';
// tokens += token_str; tokens += '-';
}
// tokens += '-';
}
k9s=tokens;
var tokes = tokens.split(/-/);
tokes_len = tokes.length;
head=0; tail=tokes_len-1;
if(( tokes[head] != "" ) && ( tokes[tail] != "" )) {
k9head=keine(tokes[head]);
status=0;
for( j=1; j<tail; j++ ) {
if( tokes[tail] == tokes[j] ) {
if( j == k9head ) { status=1; }
break;
}
}
if( status == 1 ) {
htmout = '';
htmout += '<img src="/imgs/btn/btn_key_happiness.png" ';
htmout += ' onclick="window.open(\'/imgs/btn/btn_key_happiness.png\');return false;"';
htmout += ' height=400 border=0>';
}
else {
htmout = '';
htmout += '<img src="/imgs/btn/btn_keyhole_us.png" ';
htmout += ' onclick="window.open(\'/imgs/btn/btn_key_happiness.png\');return false;"';
htmout += ' height=400 border=0>';
}
if( document.getElementById('div_grid1')) {
document.getElementById('div_grid1').innerHTML = htmout;
}
return(args);
}
grid1 = '';
grid1 += '<div id="div_grid1" >';
grid1 += ' <h1>div_grid1</h1>';
grid1 += ' <h3>'+tokens+'</h3>';
grid1 += ' <br>';
grid1 += ' <table id="table_grid">';
// alert( "BUGS_150 grid1="+grid1+" tokes="+tokes );
j=0;
for(r=1; r<4; r++) {
grid1 += '<tr>';
for(c=1; c<4; c++) {
// alert( "BUGS_150 j="+j+"-"+r+"-"+c+" tokens="+tokens );
j=j+1;
grid1 += '<td>';
grid1 += j;
if((tokes[head]=="")&&(tokes[tail]=="")) {
grid1 += '<img src="/imgs/btn/kob.png" onclick=';
// grid1 += ' "grid(\''+j+tokens+'\'); return false;" ';
grid1 += ' "grid(\''+tokes[j]+tokens+'\'); return false;" ';
grid1 += ' height=50 border=0>';
grid1 += '<br>';
// grid1 += tokes[j];
// grid1 += '<br>';
// grid1 += keine(tokes[j]);
// alert( "BUGS_151 j="+j+"-"+r+"-"+c+" tokens="+tokens );
}
if((tokes[head]!="")&&(tokes[tail]=="")) {
// if( tokes[head] == j ) {
if( tokes[head] == tokes[j] ) {
grid1 += '<img src="/imgs/btn/kow.png" ';
// grid1 += ' onclick="grid(\''+tokens+j+'\'); return false;" ';
grid1 += ' onclick="grid(\''+tokens+tokes[j]+'\'); return false;" ';
grid1 += ' height=50 border=0>';
grid1 += '<br>';
// grid1 += tokes[j];
// grid1 += '<br>';
// grid1 += keine(tokes[j]);
}
else {
grid1 += '<img src="/imgs/btn/kob.png" ';
grid1 += ' onclick="grid(\''+tokens+tokes[j]+'\'); return false;" ';
grid1 += ' height=50 border=0>';
grid1 += '<br>';
// grid1 += tokes[j];
// grid1 += '<br>';
// grid1 += keine(tokes[j]);
}
// alert( "BUGS_152 j="+j+"-"+r+"-"+c+" tokens="+tokens );
}
if((tokes[head]!="")&&(tokes[tail]!="")) {
// if( tokes[head] == keine(tokes[tokes[tail]]) ) {
// if( tokes[ tokes[head]] == keine(tokes[tokes[tail]]) ) {
if( tokes[ tokes[head]] == tokes[tokes[tail]] ) {
grid1 += '<img src="/imgs/btn/btn_key_happiness.png" ';
grid1 += ' onclick="grid(\''+tokens+'\'); return false;" ';
grid1 += ' height=50 border=0>';
grid1 += '<br>';
grid1 += tokes[head]+'='+tokes[tail]+'<br>';
// grid1 += tokes[j]+<br>;
// grid1 += '<br>';
// grid1 += keine(tokes[tokes[tail]]);
}
else {
grid1 += '<img src="/imgs/btn/kob.png" ';
grid1 += ' onclick="grid(\''+tokens+'\'); return false;" ';
grid1 += ' height=50 border=0>';
grid1 += '<br>';
grid1 += tokes[j];
// grid1 += '<br>';
// grid1 += keine(tokes[j]);
}
// alert( "BUGS_153 j="+j+"-"+r+"-"+c+" tokens="+tokens );
}
grid1 += '<br>'+tokes[j];
// grid1 += '<br>'+keine(tokes[j]);
grid1 += '<br>';
grid1 += ' </td>';
// grid1 += '-'+k9;
// grid1 += '-'+keine(tokes[j]);
// alert( "BUGS_65 j="+j+" toke="+tokes[j] );
// grid1 += tokes[j].toString();
}
grid1 += ' </tr>';
}
grid1 += ' </table>';
grid1 += ' </div>';
// alert( "BUGS_111 grid1="+grid1 );
if( document.getElementById('div_grid')) {
document.getElementById('div_grid').innerHTML=grid1;
}
// alert( "BUGS_71 grid1="+grid1 );
return(args);
htmout = '';
htmout += '<div id="div_tokens">';
htmout += '<h1>div_tokens</h1>';
htmout += '<br>';
htmout += ' </div>';
if( document.getElementById('div_tokens')) {
document.getElementById('div_tokens').innerHTML=tokens;
}
htmout += '<div id="div_grid">';
htmout += '<h1>div_grid</h1>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-1\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-2\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-3\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<br>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-4\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-5\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-6\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<br>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-7\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-8\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<img src="/imgs/btn/kob.png" ';
htmout += ' onclick="grid(\'grid-9\');return false;" ';
htmout += ' height=50 border=0>';
htmout += '<br><br><br><br>';
htmout += '<hr color=goldenrod';
// htmout += '<table>';
//
// j=0;
// for(r=0; r<3; r++ ) {
// htmout += ' <tr>';
// for( c=0; c<3; c++ ) {
// rand=random_int(99999999,0);
//// alert( "BUGS_202 j="+j+" rand="+rand );
// kolists[j] = rand;
// htmout += ' <td>';
// htmout += '<img src="/imgs/btn/kob.png"';
// htmout += ' alt="/imgs/btn/kob.png"';
// htmout += ' onclick="grid(\''j+'|'+kolists[j]+'\');return false;" ';
// htmout += ' height=50 border=0>';
// htmout += ' '+kolists[j];
// htmout += ' </td>';
// }
// htmout += ' </tr>';
// }
// htmout += ' </table>';
// htmout += ' </div>';
//
// htmout="<h1>BUGS_HTML</h1>";
// alert("BUGS_201 grid htmout="+htmout );
if( document.getElementById('div_grid')) {
document.getElementById('div_grid').innerHTML=htmout;
}
return(args);
function banner1(args) {
htmout=""; j=0; k=0;
alert( "BUGS_2800 banner args="+args );
psvrec=protocol+"|"+hostname+"|"+port+"|"+pathname+"|"+search+"|"+hash+"|"+host+"|"+dttm+"|";
protocol=psvrec.split("|")[0];
hostname=psvrec.split("|")[1];
port=psvrec.split("|")[2];
pathname=psvrec.split("|")[3];
search=psvrec.split("|")[4];
hash=psvrec.split("|")[5];
host=psvrec.split("|")[6];
// dttm=psvrec.split("|")[7];
dttm = new Date().toISOString().slice(0, 10);
htmout+="<a href=/k9.html target=_blank><img id=img_k9 src=/imgs/keys/keys00_hole.png height=20 border=0></a>";
htmout+="<a href=/leds/leds.php target=_blank><img id=img_leds src=/imgs/btn/tn_leds.png height=20 border=0></a>";
htmout+="d r a f t ";
htmout+="       ";
htmout+=hostname;
htmout+="       ";
htmout+="P R E V I E W";
htmout+="<img src=/imgs/btn/kop12.png height=20>";
htmout+=" K O ";
// htmout+=" K A ";
// htmout+=" L A W ";
// htmout+=" B Y R D B E L L V J K ";
// htmout+=" M E D ";
// htmout+=" K O N E T ";
// htmout+=" I P E R M S ";
// htmout+=" J T F D C ";
// htmout+=" J T F D C R ";
// htmout+=" J T F I N C";
// htmout+=" K O 1 ";
// htmout+=" K O 2 ";
// htmout+=" K O 0 ";
htmout+=pathname;
htmout+="<img src=/imgs/btn/kop34.png height=20>";
htmout+="       ";
htmout+="<font style=\"font-size:18\">"+dttm_"</font>";
<!--
<a href=/ko/leds/leds.php target=_blank><img id=img_leds_dhtml src=/imgs/btn/tn_leds.png height=20 border=0></a>
<a href=/k9.html target=_blank><img id=img_k9_dhtml src=/imgs/keys/keys00_hole.png height=20 border=0></a>
<a href=./ target=_blank><img id=img_ok_dhtml src=/imgs/btn/ok.png height=20 border=0></a>
-->
if( document.getElementById('div_banner')) {
alert( "BUGS_2831 ___FOUND divid=div_banner" );
document.getElementById('div_banner').innerHTML=htmout;
}
else {
alert( "BUGS_2831 NOTFOUND divid=div_banner" );
}
return(htmout);
}
// <script id=script_random_int >
function random_int(max,min) {
// alert( "BUGS_123 /ko/ko.js random_int max="+max+" min="+min );
min = Math.ceil(min);
max = Math.floor(max);
return Math.floor(Math.random() * (max - min +1 )) + min;
}
// </script id=script_random_int_end>
// <script id=script_geturlparameter >
function geturlparameter(name) {
return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search) || [null, ''])[1].replace(/\+/g, '%20')) || null;
}
// </script id=script_geturlparameter_end>>
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer