fzz='';fc=''

function urch(a) {b=a.value
if (b=='') {alert("You have not provided anything as a domain name \n\n Please enter a domain name, before you activate this button again.");return false;}
if (b.substring(0,7) != 'http://' && b.substring(0,8) != 'https://' ) {alert("Your domain name has prefix errors \n Your domain needs to have the prefix of either \n\n  http://   OR  https://  \n\n for it to work. ~"+b.substring(0,7)+"~");return false;}
location.href=b}

function fngetcookie(fa) {if (fa=="") {document.write(" Fa  = ")} else {
coka = new Array
cokb = new Array
fc=fa.split(",")
for (fl=0;fl<fc.length;fl++) {coka[fl]=""
cokb[fl]=""}
fk=document.cookie.split("; ")
if (document.cookie="") {} {
document.write("<br><font color=#ffff00> Opening the function with = <br> Value given = fa "+fa+"<br> Cookies = "+fk)
for (fl=0;fl<fc.length;fl++) {
document.write("<br><br><font color=#ff88ff>Loop 1, stage "+fl+"<br>----- Cookie #"+fl+" = "+fc[fl]+" Gotten out for it = ")
for (fm=0;fm<fk.length;fm++) {fj=fk[fm].split("=")
document.write("<font color=#f8888f>Loop 2, stage "+fm+"<font color=#ff8800> Cookie = "+fk[fm]+"{{"+fj[0]+"}}")
if (fj[0]==fc[fl]) {
coka[fl]=fj[0]
cokb[fl]=fj[1]
document.write("<br><font color=#00ff00> Positive responce, now got "+coka[fl]+"----"+cokb[fl]+"<br>")}
}}
for (fl=0;fl<fc.length;fl++){document.write("<font color=#8888ff><br><br>Output is now <br> value "+fl)
document.write(" Coka ="+coka[fl]+" ---- Cokb = "+cokb[fl])
}}}}

function fngeturl(fa) {if (fa!="") { 
fb=fa.split(",")
fc=location.search
fd=fc.split("?")[1]
fe=fd.split(":")
document.write("<br><br> Requested items = "+fa+" Qty = "+fb.length)
document.write("<br> Location Search is = "+fc+"  Qty = "+fe.length+"<br>")
fz=""
fx=""
for (fm=0;fm<fb.length;fm++) {fx=""
for (fl=0;fl<fe.length;fl++) {fw=fe[fl].split("=")
document.write("<br><font color=#ffffff> #"+fl+" & #"+fm+" = "+fe[fl]+" - "+fw[0]+" --- "+fb[fm])
if (fw[0]==fb[fm]) {fx=fw[1]} 
}
fz=fz+","+fx
document.write("<br><font color=#ffff00>fx/fz "+fx+"  "+fz)}
document.write("<br><br> FZ = "+fz)
fue=fz.split(",")
for (fa=0;fa<fue.length;fa++){document.write("<br> #"+fa+" =  "+fue[fa])}
document.write("<br><br> Finish of the roll out of the array ")
}}


function frad(a) {
for (i=0;i<a.length;i++) {
x=a[i].name+a[i].value;if (a[i].checked) {c='#141';} else {c='#004'}
if (a[i].defaultChecked) {d='#080';} else {d='#008';}
if (a[i].disabled) {c='#200';d='#950';}
fel(x)
}}

function fchx(a) {
x=a.name+a.value;if (a.checked) {c='#141';} else {c='#004'}
if (a.defaultChecked) {d='#080';} else {d='#008';}
if (a.disabled) {c='#220';d='#880';}
fel(x)}

function fclr(a) {
for (i=0;i<form.length;i++) {
if (form[i].type=='radio') {x=a[i].name+a[i].value;
if (a[i].defaultChecked) {c='#141';d='#080';} else {c='#224';d='#008';}
if (a[i].disabled) {c='#210';d='#775';}
fel(x)}
if (form[i].type=='checkbox') {fchx(form[i])}
if (form[i].type=='text') {c='#014';fel(x)}
}}

function fel(x) {
e=document.getElementById(x);e.style.backgroundColor=c;e.style.border='2px solid '+d}

function link(l,h,b,a,c,s) {
document.write('<td><a href="'+l+location.search+'" accesskey="'+a+'"><div class="'+s+'"><h4>('+c+')'+h+'</h4>'+b+'</div></a></td>')
}

