function leoShowUrl( args ) {
	var largs = args.toLowerCase();
	
	var width, height, showToolbar=0;
	if ( largs.indexOf("?")>0 ) {
		var params = largs.substring( largs.indexOf("?")+1 );
		if ( params.indexOf( "width=" )>=0 )
			width = parseInt( params.substring(params.indexOf( "width=" )+6) );
		if ( params.indexOf( "height=" )>=0 )
			height = parseInt( params.substring(params.indexOf( "height=" )+7) );
		if ( params.indexOf( "showtoolbar" )>=0)
			showToolbar = 1;
	}
	var opts = "toolbar="+showToolbar+",resizable=1,scrollbars=1";
	if ( typeof(width)!="undefined" && typeof(height)!="undefined" ) {
		opts += ",width="+width+",height="+height;
	}
	var uBase = args;
	if ( uBase.indexOf("?")>0 ) {
		uBase = largs.substring( 0, uBase.indexOf("?") );
	}
	
	if ( uBase.indexOf(".page")!=-1 ) {
		window.open( "../localplayer/page.html?sco="+escape(uBase), "_blank", opts );
	} else if ( uBase.indexOf(".kml")!=-1 || uBase.indexOf(".kmz")!=-1 ) {
		window.location = args;
	} else {
		window.open( args, "_blank", opts );
	}
}
