ck = document.cookie.split('; ');
cur = new Date();
exp = new Date(cur.getTime()+365*24*60*60*1000);
function get(n) {
for (i = 0; i < ck.length; i++) {
   chip = ck[i].split('=');
if (chip[0] == n) {
   return unescape(chip[1]); }}
   return '';
}
function set(n,v) {
if (v) {
   document.cookie = n+'='+escape(v)+'; expires='+exp.toGMTString(); }
   ck = document.cookie.split('; ');
}
function Get(V) {
   trans.base.value = get(V+'1'); trans.host.value = get(V+'2');
   trans.user.value = get(V+'3'); trans.pass.value = get(V+'4'); 
}
function Set(V) {
   alert('Your FTP info being saved for one year!');
   set(V+'1',trans.base.value); set(V+'2',trans.host.value);
   set(V+'3',trans.user.value); set(V+'4',trans.pass.value);
}
function addName(file) {
   fileName = file.split('/');
   len = fileName.length;
   trans.rename.value = fileName[len-1];
}

function makeHistoryOptions() { for (x=0; x < 
history.length; x++) { histURL = history[x] 
histID = histURL.substring(0,4); 
if (histID == "http") { 
document.write("<option value="+histURL+">"+histURL); 
} 
if (histID == "news") { 
document.write("<option value="+histURL+">"+histURL); 
}}}

function On1() {
document.Image1.src="http://tkproweb.com/images/ledon.gif";
}
function Off1() {
if ('document.form.base.value == ""') { 
document.Image1.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image1.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On2() {
document.Image2.src="http://tkproweb.com/images/ledon.gif";
}
function Off2() {
if ('document.form.fileUrl.value == ""') { 
document.Image2.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image2.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On3() { 
document.Image3.src="http://tkproweb.com/images/ledon.gif";
}
function Off3() {
if ('document.form.host.value == ""') { 
document.Image3.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image3.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On4() { 
document.Image4.src="http://tkproweb.com/images/ledon.gif";
}
function Off4() {
if ('document.form.user.value == ""') { 
document.Image4.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image4.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On5() { 
document.Image5.src="http://tkproweb.com/images/ledon.gif";
}
function Off5() {
if ('document.form.pass.value == ""') { 
document.Image5.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image5.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On6() { 
document.Image6.src="http://tkproweb.com/images/ledon.gif";
}
function Off6() {
if ('document.form.directory.value == ""') { 
document.Image6.src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image6.src="http://tkproweb.com/images/bblank.gif";
 }
}

function On7() { 
document.Image7.src="http://tkproweb.com/images/ledon.gif";
}
function Off7() {
if ('document.form.rename.value == ""') { 
document.Image7src="http://tkproweb.com/images/ledon.gif";
}
else { 
document.Image7.src="http://tkproweb.com/images/bblank.gif";
 }
}

if (location.search.substring(1) == "") {
document.trans.fileUrl.value=history.previous;
}
else {
document.trans.fileUrl.value=location.search.substring(1);
}

<!--
var now = new Date();
var year = now.getYear();
if (year < 2000) { year = (year + 1900); 
}
//-->