function sayit()
{
if (navigator.appName=="Microsoft Internet Explorer")
   {
   if (window.getSelection) // recent Mozilla versions
   { var selectedString = window.getSelection();  }
   else if (document.all) // MSIE 4+
   { rng = document.selection.createRange(); selectedString=rng.text; }
   }
else 
   {
   var selectedString = document.getSelection();  
   }
if (window.location.href)
  { document.rs_form.url.value = window.location.href; } else if (document.location.href)
  { document.rs_form.url.value = document.location.href; } document.rs_form.rstext.value = selectedString; } 
//  
function copyselected() 
{ 
setTimeout("sayit()",50); 
return true; 
}

