//### This is a script that reads the document content and produces unique random words from the document ###//

function swap(imageId) {
    if(document.getElementById) {
	var img = document.getElementById(imageId);
	img.src = (img.src.indexOf("unlocked.png") != -1) ? "locked.png" : "unlocked.png";
    }

    if(document.getElementById('myAnchor').href == "http://www.google.com/"){
	document.getElementById('myAnchor').innerHTML="A";
	document.getElementById('myAnchor').href="http://www.gnulsk.com/oadverts/oadverts_australia.php";
    }else{
	document.getElementById('myAnchor').innerHTML="Visit Google";
	document.getElementById('myAnchor').href="http://www.google.com";
    }

    if(document.getElementById('myAnchor2').href == "http://www.google.com/"){
	document.getElementById('myAnchor2').innerHTML="B";
	document.getElementById('myAnchor2').href="http://www.gnulsk.com/oadverts/oadverts_botswana.php";

    }else{
	document.getElementById('myAnchor2').innerHTML="Visit Google";
	document.getElementById('myAnchor2').href="http://www.google.com";
    }
    return false;
}

