<!--
   
function openForm(_form, _button)
{
    if (document.getElementById)
    {
		//_formDisp = (document.getElementById(_form).style.display == 'none') ? 'block' : 'block';
	    document.getElementById(_form).style.display = "block" ;
	    
		//_btnDisp = (document.getElementById(_button).style.display == 'none') ? 'none' : 'none';
	    document.getElementById(_button).style.display = "none";
    }
}

function blocking(nr)
{
	//if (document.layers)
	//{
	//	current = (document.layers[nr].display == 'none') ? 'block' : 'none';
	//	document.layers[nr].display = current;
	//}
	//else 
	//if (document.all)
	//{
	//	current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
	//	document.all[nr].style.display = current;
	//}
	//else 
	if (document.getElementById)
	{
		vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
		document.getElementById(nr).style.display = vista;
	}
}

function set_my_start_page(obj)
{
	var loc = new String(document.location.href);
	var t = loc.split('?');
	var url = t[0];
	if (window.external)
	{
		obj.style.behavior='url(#default#homepage)';
		obj.setHomePage(url);
	}
}

function bookmark_page() 
{ 
	var title = document.title;
	var loc = new String(document.location.href);
	var t = loc.split('?');
	var url = t[0];
	if (window.sidebar) { 
		window.sidebar.addPanel(title, url,""); 
	} else if( document.all ) { 
		window.external.AddFavorite( url, title); 
	} else if( window.opera && window.print ) { 
		return true; 
	} 
}

function makeLink(e,href,targ){
	var txt = e.innerHTML;
	var cssClass = e.className;
	var style = e.style;
	if (href != "" && txt != "")
	{
		link = '<a target="' +targ+ '" href="' + href + '" class="'+ cssClass +'" >' + txt + '</a>';
	}
	else if (href == "" && txt != "")
	{
		link = '<a class="'+ cssClass +'"  >' + txt + '</a>';
	}
	else if (href != "" && txt == "")
	{
		link = '<a target="' +targ+ '" href="' + href + '" class="'+ cssClass +'" >' + href + '</a>';
	}
		
	e.outerHTML = link;
	
}

function buildLink(e,href,targ){
	var txt = e.innerHTML;
	var cssClass = e.className;
	if (href != "")
	{
		link = '<a target="' +targ+ '" href="' + href + '"'; 
		
		if(cssClass != "")
		{
		    link = link + ' class="'+ cssClass + '"';
		}
		if(txt != "")
		{
		    link = link + '>' + txt + '</a>';
		}
		else
		{
		    link = link + '>' + href + '</a>';
		}
		
	}
			
	e.outerHTML = link;
	
}

	
// -->
