function URLencode(sStr) {
    return escape(sStr).replace(/\+/g, '%2B').replace(/\"/g,'%22').replace(/\'/g, '%27');
  }
function clean(self)
{
  self.value=""
}

function openWindow(url)
{
  window.open(url,"_blank","width=800,height=450,top=0,resizable=yes,menubar=yes,scrollbars=yes,location=yes,status=yes");
}

