function load( win, loader, file ) {
	var anc = "";
	var pos = file.lastIndexOf( "#" );
	if ( pos >= 0 ) {
		anc  = file.substring( pos );
		file = file.substring( 0, pos );
	}
	var s = loader.load( file );
	win.document.open();
	win.document.writeln( s );
	win.document.close();
	if ( anc.length > 0 ) {
		location.hash = anc;
	}
}
