function swapText(whichLayer, whichContent) {
        //swap content of div
        if (document.layers) {
                document.layers[whichLayer].document.write(whichContent);
                document.layers[whichLayer].document.close();
        }else{
			if (document.getElementById) {
				document.getElementById(whichLayer).innerHTML = whichContent;
			} else {
				document.all[whichLayer].innerHTML=whichContent;
			}
        }
}

