<!--

function ajaxlinks()
{ 	var request = new XMLHttpRequest();
		request.open("POST", "ajaxtext/links.txt");
		request.setRequestHeader("Content-Type", "text/plain;charset=UTF-8");
		request.onreadystatechange = function()
    { if (request.readyState === 4 && request.status === 200)
			{	var type = request.getResponseHeader("Content-Type");
				if (type.match(/^text/))
				 { 	var mee = request.responseText;
						document.getElementById("abody").innerHTML=mee; }
			}
  	};
	request.send(null);
// jqu functions need class name	
	$("table.myindex").fadeOut();
	$("h1").fadeOut();
}

function dellinks()
{ var g = document.getElementById("idlink");
  g.parentNode.removeChild(g);
  	$("table.myindex").fadeIn();
	$("h1").fadeIn();
}



function ajaxabout2011()
{ 	var request = new XMLHttpRequest();
		request.open("POST", "ajaxtext/about2011.txt");
		request.setRequestHeader("Content-Type", "text/plain;charset=UTF-8");
		request.onreadystatechange = function()
    { if (request.readyState === 4 && request.status === 200)
			{	var type = request.getResponseHeader("Content-Type");
				if (type.match(/^text/))
				 { 	var mee = request.responseText;
						document.getElementById("abody").innerHTML=mee; }
			}
  	};
	request.send(null);
// jqu functions need class name	
	$("table.myindex").fadeOut();
	$("h1").fadeOut();
}

function delabout2011()
{ var g = document.getElementById("idmaindiv");
  g.parentNode.removeChild(g);
  	$("table.myindex").fadeIn();
	$("h1").fadeIn();
}


function ffmessage()
{   $("div.aboutbackground").fadeIn();
    $("div.aboutbackground").animate({width:860}, "slow");
    $("div.ffmess").fadeIn(4000);
}

function ffsmessage()
{ $("div.aboutbackground").hide();
  $("div.ffmess").hide();
  }



function aboutus()
{   $("div.aboutbackground").fadeIn();
    $("div.aboutbackground").animate({width:860}, "slow");
    $("div.abouttext").fadeIn(4000);
}

function saboutus()
{ $("div.aboutbackground").hide();
  $("div.abouttext").hide();
  }

function message()
{ idmess.style.visibility = "visible";
  $("div.mess").load('contact.txt');

}  

function pa()
{ idilike.style.visibility = "visible";
  idilike2.style.visibility = "hidden";
}

function ffpa()
{ $("h1.ffilike").show();
  $("h1.ffilike2").hide();
}

function pb()
{ idilike.style.visibility = "hidden";
  idilike2.style.visibility = "visible";
}

function ffpb()
{ $("h1.ffilike").hide();
  $("h1.ffilike2").show();
}  

function cs()
{  
var ta = 'Computer services<table><tr><td>Most people will have Microsoft Access (database) or Microsoft Excel';
var tb = '(spread sheet) on their computers. These are two of the most useful bits of software ever';
var tc = ' invented. WebBanana offer a teaching service where I come round and show you how to get the';
var td = ' best use of these packages. Also a programming service where I set up a programmed spread sheet and ';
var te = 'or a database for you which meets your requirements. If you run a business you really should be using';
var tf = ' these software packages as they will make your work easier and faster.</td><td background="pict/excel.jpg"';
var tg = ' width=300></td></tr><tr><td><br>The Cost is £10 per hour with a minimum call out of £20.';
var th = '<br><br>There are many people doing general PC support so I just specialize in Microsoft Access and Excel.';
var ti = ' Having said that getting help, advice and support with Linux systems is not easy to come by.';
var tj = ' I have several years experience with Linux and can provide this anywhere in Orkney. The same';
var tk = ' prices apply. If work involves travelling by ferry a cost will have to be added. </td><td align="center">';
var tm = '<img src="pict/walking_pc.jpg"><br /><br /><img src="pict/close.jpg" onmouseover="scs()"></td></tr></table>';
var mytext = ta + tb + tc + td + te + tf + tg + th + ti + tj + tk + tm;

idcs.style.visibility = "visible";
document.getElementById("idcs").innerHTML=mytext;
}

function scs()
{ idcs.style.visibility = "hidden";}

function ffcs()
{   $("div.aboutbackground").fadeIn();
    $("div.aboutbackground").animate({width:860}, "slow");
    $("h1.ffcs").fadeIn(4000);
}

function ffscs()
{ $("div.aboutbackground").hide();
  $("h1.ffcs").hide();
  }

function progweb()
{ $("#idindex").fadeTo("slow",0.25);
  var a = '<br />I write code in C, PHP, Perl, but my BASIC and COBOL are a bit rusty. ';
  var b = 'Regarding the internet, I write HTML, CSS, JavaScript including  jQuery and Ajax';
  var c = '<br />I also photo, film and edit video and photos for sites I write when required';
  var d = '<br /><br /><img src="pict/close.jpg" onmouseover="sprogweb()">';
  var e = a + b + c + d;
  idprog.style.visibility = "visible";
  document.getElementById("idprog").innerHTML=e;
}

function ffprogweb()
{   $("div.aboutbackground").fadeIn();
    $("div.aboutbackground").animate({width:860}, "slow");
    $("h1.ffprogweb").fadeIn(4000);
}

function ffsprogweb()
{ $("div.aboutbackground").hide();
  $("h1.ffprogweb").hide();
}

function sprogweb()
{ $("#idindex").fadeTo("slow",0.99);
  idprog.style.visibility = "hidden";}
  
function smessage()
{ 
  idmess.style.visibility = "hidden"; 
}

-->                                 

