// JavaScript Document


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=850,height=600,left = 440,top = 225');");
}
function showOn(lensize,string,id) {
	if(string.length >= lensize) {
		show(id);
	}
	else
	{
		hide(id);
	}
}

function announce(id)
{	
xmlhttp=GetXmlHttpObject();
if (xmlhttp==null)
  {
  alert ("Your browser does not support XMLHTTP");
  return;
  }
var url="delete.php";
url=url+"?val="+id;
url=url+"&sid="+Math.random();
xmlhttp.open("GET",url,true);
xmlhttp.send(null);
}

