function ShowText(source, target)
{
if (source.checked)
{
  target.style.display = "inline";
}
else                
{
  target.style.display = "none";
}
}

function HideText(source, target)
{
if (source.checked)
{
  target.style.display = "none";
}
else                
{
  target.style.display = "inline";
}
}

function text_show(target, show, hide)
{
show.style.display = "inline";
hide.style.display = "none";
target.style.display = "inline";
}

function text_hide(target, show, hide)
{
show.style.display = "inline";
hide.style.display = "none";
target.style.display = "none";
}

function confirm_link(linktext, message) 
{ 
answer = confirm(message)
if (answer !="0") 
{ 
location = linktext
} 
}

function shadow(target, direction, strength)
{
target.style.filter='progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=' + direction + ', strength=' + strength + ')';
}