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) {fb='';fc=document.cookie.split("; ")
for(fl=0;fl<fc.length;fl++) {if (fc[fl].split("=")[0]==fa) {fb=fc[fl].split("=")[1]}}
return fb}


function fngeturl(fa) {if (fa!="") { 
fb=fa.split(",")
fc=location.search
fd=fc.split("?")[1]
fe=fd.split("&")
fz="";fx=""

for (fm=0;fm<fb.length;fm++) {fx=""
for (fl=0;fl<fe.length;fl++) {fw=fe[fl].split("=")
if (fw[0]==fb[fm]) {fx=fw[1]} 
}
fz=fz+","+fx}
fue=fz.split(",")}
return fx}


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>')
}

