function addp(csurl) {
    try {
    window.external.AddSearchProvider(csurl);
    } catch (e) {
    alert("You need to use Internet Explorer (7.0 or later) or Firefox (2.0 or later) to install the OpenSearch plug-in.");
    }
}

function PopUp(address, title, width, height)
{
    topDimension = (screen.height/2)-(height/2);
	leftDimension = (screen.width/2)-(width/2);
	newwindow = window.open(address, null, 'toolbar=0, status=1, menubar=0, location=0, resizable=0, scrollbars=0, width=' + width + ', height=' + height + ', top=' + topDimension + ', left=' + leftDimension);
	if (window.focus) { newwindow.focus() }
	return false;
}