function write(text,id)
		{
			if (document.getElementById)
			{
				x = document.getElementById(id);
				x.innerHTML = '';
				x.innerHTML = text;
			}
			else if (document.all)
			{
				x = document.all[id];
				x.innerHTML = text;
			}
			else if (document.layers)
			{
				x = document.layers[id];
				text2 = '<P CLASS="testclass">' + text + '</P>;';
				x.document.open();
				x.document.write(text2);
				x.document.close();
			}
		}
	
		function read(id)
		{
			if (document.getElementById)
			{
				x = document.getElementById(id);
				text = x.innerHTML;
			}
			else if (document.all)
			{
				x = document.all[id];
				text = x.innerHTML;
			}
			else if (document.layers)
			{
				x = document.layers[id];
				x.document.open();
				text = x.document.innerHTML;
				x.document.close();
			}
			return text;
		}
		
		function clear(to){
			write('',to);	
		}
		
		function copy(from,to){
			write(read(from),to);
		}
