rem: newpath = drive + ":" + dirPath; 
add: newpath = drive + ":" + path + "\\"; debug( "path: " + newpath ); 
context: function getFolder( window ){	platform = getPlatform();		if ( platform == "Macintosh" )	{				// Macintosh support		var path = unescape( window.location.pathname );		if ( ( x = path.lastIndexOf( "/" ) ) > 0 )			path = path.substring( 0, x + 1 );		//var fileArray = path.split( "/" );		//var newpath = fileArray.join( ":" ) + ":";		//if ( newpath.charAt( 0 ) == ':' )		//	newpath = newpath.substring( 1, newpath.length );		newpath = path;	}	else		{										// Windows support		// note: JavaScript returns path with '/' instead of '\'		var path = unescape( window.location.pathname );		// gets the drive letter and directory path		if ( ( x = path.lastIndexOf( "|" ) ) > 0 )		{			var drive = path.substring( path.indexOf( '/' ) + 1, path.indexOf( '|' ) );			var dirPath = path.substring( path.indexOf( '|' ) + 1, path.lastIndexOf( '/' ) + 1 );		}		// construct newpath				newpath = drive + ":" + dirPath;	}	return newpath;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/93764e4adba0156dbd8f1f739409c737ab3e6ccf/globals1.js/clean/cmd/dialup/as_html/globals1.js