
function P7_Uberlink(cl,d){
	var i,ob,tA,h=document.location.href;
	if(document.getElementById){
	ob=(d)?document.getElementById(d):document;
	if(ob){
	tA=ob.getElementsByTagName('A');
	for(i=0;i<tA.length;i++){
	if(tA[i].href==h){
	tA[i].className = cl;
}}}}}

function get_param(param) {
	var ptr;
	if ( typeof(_rqstr) != "undefined" )
		ptr = _rqstr;
	else if ( qstr )
		ptr = qstr;
	if ( ptr )
		if ( ((key=ptr.split('?'+param+'='))&&key[1]) || ((key=ptr.split('&'+param+'=')) && key[1]) ) {
			if ( (val=key[1].split('&')) )
				return val[0];
			else
				return '';
			}
}

function getxmlhttp(){
	if (window.XMLHttpRequest){
		return new XMLHttpRequest();
	} else if (window.ActiveXObject){
		return new ActiveXObject("Microsoft.XMLHTTP");
	} else {
		alert("Error: no XML Http.");
	}

}

function reply(name){
	obj = document.getElementById('msglayer');
	obj.style.visibility = 'visible';
	document.getElementById('msgto').value = name;
}

