';
> winit();
> }
>
>
> function getXMLHttpRequest()
> {
> if (window.XMLHttpRequest) {
> return new window.XMLHttpRequest;
> }
> else {
> try {
> return new ActiveXObject("Msxml2.XMLHTTP");
> } catch (othermicrosoft) {
> try {
> return new ActiveXObject("Microsoft.XMLHTTP");
> } catch (failed) {
> return false;
> }
> }
> }
> }
>
>
> function xget(evt) {
> if (zok == 1 && bpost != 0) {
> zhr = getXMLHttpRequest();
> } //else {
> //zok = 1;
> //}
>
> if (zhr != null) {
> zhr = zhr;
> } else {
> try {
> zhr = new ActiveXObject("Msxml2.XMLHTTP");
> } catch (othermicrosoft) {
> try {
> zhr = new ActiveXObject("Microsoft.XMLHTTP");
> } catch (failed) {
> zhr = false;
> }
> }
> }
>
> if (zhr) {
> //alert(987);
> if (bpost > 0) {
> zhr.open("GET", "http://www.rjmprogramming.com.au/wordpress/?p=" + bpost, true);
> zhr.onreadystatechange = showStuff;
> zhr.send(null);
> bpost = -bpost;
> }
> } else {
> zok = 1; //alert("Sorry ... no XMLHttpRequest possible");
> }
>
> }
>
> function prehideStuff() {
> var myb=0;
> var pisis;
> if ((wisiPad || wisTouch)) {
> pisis = prompt("Welcome to the long touch contextual help functionality. If you want Original Image back rather than a contextual informational Blog Posting, change Y to N or change to y to give advice in new window", "Y");
> } else {
> pisis = prompt("If you want Original Image back rather than a contextual informational Blog Posting, change Y to N or change to y to give advice in new window", "Y");
> }
> if (pisis != "Y") {
> if ((pisis + " ").substring(0,1) == "y") {
> myb = Math.abs(bpost);
> }
> hideStuff();
> if ((pisis + " ").substring(0,1) == "y") {
> window.open("http://www.rjmprogramming.com.au/wordpress/?p=" + myb + "#content", "_blank");
> }
> } else {
> var mymain = document.getElementById('main');
> if (mymain != null) {
> mymain.style.opacity = 0.2;
> }
> var mybase = document.getElementById('branding');
> mybase.onclick = winit;
> }
> }
>
>
> function showStuff(evt) {
> if (zhr != null) {
> var zero=0;
> var alen=0;
> var mybase = document.getElementById('branding');
> var mymain = document.getElementById('main');
> var mybased = document.getElementById('site-description');
> var upto = mybase.innerHTML.indexOf(mybased.innerHTML) + mybased.innerHTML.length + 6;
> var cupto = mybase.innerHTML.substring(0, upto);
> if (zhr.readyState == 4) {
> if (zhr.status == 200) {
> //if (mymain != null) {
> // mymain.style.opacity = 0.3;
> //}
> document.body.style.backgroundColor = 'transparent';
> alen = zhr.responseText.length;
> if (zhr.responseText.indexOf('