
<!-- hide this script tag's contents from old browsers
function myFunction(gt1,gt2)
	{
		if ( (gt1 > 0) && (gt1 < 890) ) {
			popup( gt1 + gt2 );
		} else {
			alert ("You need to enter an number between 1-890");
			return false;
		}
		
	    return true;
	}
<!-- done hiding from old browsers -->
 
var win = null
function popup(sURL) 
	{ 
	//alert(sURL);
		sURL = "street_map.php?pg="+ sURL ;
		win = window.open(sURL,"Perlys_Map",'resizable=1,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,HEIGHT=600,WIDTH=800'); 
	} 


