var strlinkloc
var strGT = '...'
var intv
var i

function pointlink(linkid) {
	depointlink('svcs');
	depointlink('sols');
	depointlink('refs');
	clearInterval(intv);
	strlinkloc = linkid;
	i = 2;
	intv = setInterval("writepoint()",90);
}

function unpointlink(linkid) {
	clearInterval(intv);
	strlinkloc = linkid;
	i = 0;
	intv = setInterval("unwritepoint()",90);
}

function writepoint() {
	if (document.getElementById) {
		document.getElementById(strlinkloc).innerHTML=strGT.substr(0,strGT.length - i);
	} else if (document.all) {
		document.all[strlinkloc].innerHTML=strGT.substr(0,strGT.length - i);	
	} else if (document.layers) {
		document.layers[strlinkloc].document.open();
		document.layers[strlinkloc].document.write(strGT.substr(0,strGT.length - i));
		document.layers[strlinkloc].document.close();
		document.layers[strlinkloc].visibility = 'show';
	}
	i = i - 1
	if (i==-1) {
		clearInterval(intv);
	}
}

function unwritepoint() {
	if (document.getElementById) {
		document.getElementById(strlinkloc).innerHTML=strGT.substr(0,strGT.length - (i + 1));
	} else if (document.all) {
		document.all[strlinkloc].innerHTML=strGT.substr(0,strGT.length - (i + 1));	
	} else if (document.layers) {
		document.layers[strlinkloc].document.open();
		document.layers[strlinkloc].document.write(strGT.substr(0,strGT.length - (i + 1)));
		document.layers[strlinkloc].document.close();
		document.layers[strlinkloc].visibility = 'show';
	}
	i = i + 1
	if (i==3) {
		clearInterval(intv);
	}
}

function depointlink(linkid) {
	if (document.getElementById) {
		document.getElementById(linkid).innerHTML='';
	} else if (document.all) {
		document.all[linkid].innerHTML='';	
	} else if (document.layers) {
		document.layers[linkid].document.open();
		document.layers[linkid].document.write('');
		document.layers[linkid].document.close();
		document.layers[linkid].visibility = 'show';
	}
}

